Tensor Comprehensions
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
lang::Token Struct Reference

#include <lexer.h>

Collaboration diagram for lang::Token:

Public Member Functions

 Token (int kind, const SourceRange &range)
 
double doubleValue ()
 
std::string text ()
 
std::string kindString () const
 

Public Attributes

int kind
 
SourceRange range
 

Constructor & Destructor Documentation

lang::Token::Token ( int  kind,
const SourceRange range 
)
inline

Member Function Documentation

double lang::Token::doubleValue ( )
inline
std::string lang::Token::kindString ( ) const
inline
std::string lang::Token::text ( )
inline

Member Data Documentation

int lang::Token::kind
SourceRange lang::Token::range

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