Loading...
Searching...
No Matches
token Type Reference

Definition

Represents a single token in a parsed expression. Holds the string value of the token and its classified type.

Constructors

Initializes a new instance of the token class

token(character(:), integer)

type(token) function token(character(:) value, integer type) 
Parameters
[in]value
[in]type

Examples

a = token('9', number)

Remarks

Definition at line 106 of file token.f90.


The documentation for this type was generated from the following file:

Variables

character(:), allocatable value
 Token value.
 
integer(tokens_enumtype
 Token type, from the enum tokens_enum.