Package: io.vertx.groovy.ext.shell.cli

## [Groovy] Class CliToken

- io.vertx.groovy.ext.shell.cli.CliToken

- A parsed token in the command line interface.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `CliToken (Object delegate)`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `static CliToken` | `createBlank(String blank)` Create a new blank token.
    `static CliToken` | `createText(String text)` Create a text token.
    `Object` | `getDelegate()`
    `boolean` | `isBlank()` @return Returns: true when it's a blank token
    `boolean` | `isText()` @return Returns: true when it's a text token
    `String` | `raw()` @return Returns: the raw token value, that may contain unescaped chars, for instance
    `static List<CliToken>` | `tokenize(String s)` Tokenize the string argument and return a list of tokens.
    `String` | `value()` @return Returns: the token value

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Constructor Detail

    - #### CliToken(Object delegate)

  - ### Method Detail

    - #### static CliToken createBlank(String blank)

      Create a new blank token.

      Returns:
        the token
      Parameters:
        `blank` - the blank value

    - #### static CliToken createText(String text)

      Create a text token.

      Returns:
        the token
      Parameters:
        `text` - the text

    - #### Object getDelegate()

    - #### boolean isBlank()

      Returns:
        true when it's a blank token

    - #### boolean isText()

      Returns:
        true when it's a text token

    - #### String raw()

      Returns:
        the raw token value, that may contain unescaped chars, for instance

    - #### static List<CliToken> tokenize(String s)

      Tokenize the string argument and return a list of tokens.

      Returns:
        the tokens
      Parameters:
        `s` - the tokenized string

    - #### String value()

      Returns:
        the token value