new CliToken()
A parsed token in the command line interface.
- Source:
Methods
isBlank() → {boolean}
- Source:
Returns:
-
true when it's a blank token
-
- Type
- boolean
isText() → {boolean}
- Source:
Returns:
-
true when it's a text token
-
- Type
- boolean
raw() → {string}
- Source:
Returns:
-
the raw token value, that may contain unescaped chars, for instance
-
- Type
- string
value() → {string}
- Source:
Returns:
-
the token value
-
- Type
- string