In package com.copperleaf.kudzu.parser
class com.copperleaf.kudzu.parser.WhitespaceParser
Consumes a single whitespace character as long as it is not the escapeChar.
Predicts true when:
- parsing is successful
Parsing fails when:
- the next input character is not whitespace
- there is no more input
- the escape character is used without input remaining to escape
Constructors
constructor(escapeChar: Char? = null, name: String = "")
Consumes a single whitespace character as long as it is not the escapeChar.
Predicts true when:
- parsing is successful
Parsing fails when:
- the next input character is not whitespace
- there is no more input
- the escape character is used without input remaining to escape
Parameters:
-
escapeChar: Char = null
-
name: String = ""