Classes
Methods
(static) CliToken.createBlank(blank) → {CliToken}
Create a new blank token.
Parameters:
Name | Type | Description |
---|---|---|
blank |
string | the blank value |
- Source:
Returns:
the token
- Type
- CliToken
(static) CliToken.createText(text) → {CliToken}
Create a text token.
Parameters:
Name | Type | Description |
---|---|---|
text |
string | the text |
- Source:
Returns:
the token
- Type
- CliToken
(static) CliToken.tokenize(s) → {Array.<CliToken>}
Tokenize the string argument and return a list of tokens.
Parameters:
Name | Type | Description |
---|---|---|
s |
string | the tokenized string |
- Source:
Returns:
the tokens
- Type
- Array.<CliToken>