version 0.6.0
mod_lexer::t_token Type Reference

Public Attributes

integer kind = tk_error
 Token kind defined by the above enumerator.
 
integer keyword_id = 0
 If the token is a keyword, this is the keyword id.
 
integer count = 0
 Token number.
 
integer line = 0
 Line number where the token comes from.
 
integer column = 0
 Column number where the token comes from.
 
integer pos = 0
 Absolute position where the token comes from.
 
integer integer_value
 If the token is an integer, this is the value.
 
double precision double_value
 If the token is an real number, this is the value.
 
logical boolean_value
 If the token is a boolean, this is the value.
 
logical has_leading_space = .false.
 True if the token has leading spaces.
 
character(len=:), allocatable string
 String corresponding to the token.
 

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