Public Types | Public Member Functions | Private Attributes | List of all members
PLMD::lepton::ParseToken Class Reference

Public Types

enum  Type {
  Number, Operator, Variable, Function,
  LeftParen, RightParen, Comma, Whitespace
}
 

Public Member Functions

 ParseToken (string text, Type type)
 
const string & getText () const
 
Type getType () const
 

Private Attributes

string text
 
Type type
 

Member Enumeration Documentation

◆ Type

Enumerator
Number 
Operator 
Variable 
Function 
LeftParen 
RightParen 
Comma 
Whitespace 

Constructor & Destructor Documentation

◆ ParseToken()

PLMD::lepton::ParseToken::ParseToken ( string  text,
Type  type 
)
inline

Member Function Documentation

◆ getText()

const string& PLMD::lepton::ParseToken::getText ( ) const
inline

◆ getType()

Type PLMD::lepton::ParseToken::getType ( ) const
inline

Member Data Documentation

◆ text

string PLMD::lepton::ParseToken::text
private

◆ type

Type PLMD::lepton::ParseToken::type
private

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