# The Parle\Token class

&reftitle.intro;

This class represents a token. Lexer returns instances of this class.

&reftitle.classsynopsis;

        Parle\Token

          Parle\Token

        &Constants;

         const
         int
         Parle\Token::EOI
         0

         const
         int
         Parle\Token::UNKNOWN
         -1

         const
         int
         Parle\Token::SKIP
         -2

        &Properties;

         public
         int
         id

         public
         string
         value

        &Methods;

&reftitle.properties;

`id`

- Token id.

`value`

- Token value.

&reftitle.constants;

`Parle\Token::EOI`

- End of input token id.

`Parle\Token::UNKNOWN`

- Unknown token id.

`Parle\Token::SKIP`

- Skip token id.