#include <JBLToken.h>
This class is a helper class for class JBLParserResult
Author: Benno List, Jenny List
Changelog:
Definition at line 38 of file JBLToken.h.
Public Member Functions | |
| bool | input (std::istream &is) |
| bool | isEmpty () const |
| bool | isUnknown () const |
| bool | isIdentifier () const |
| bool | isNumber () const |
| bool | isInt () const |
| bool | isFloat () const |
| bool | isBool () const |
| bool | isOperator () const |
| bool | isParanthesis () const |
| int | getIntValue () const |
| float | getFloatValue () const |
| bool | getBoolValue () const |
| const std::string & | getStringValue () const |
| std::ostream & | print (std::ostream &os) const |
Private Types | |
| enum | Type { EMPTY, UNKNOWN, IDENTIFIER, INT, FLOAT, BOOL, OPERATOR, PARANTHESIS } |
Static Private Member Functions | |
| bool | isoperator (char c) |
| bool | issimpleoperator (char c) |
| bool | isparanthesis (char c) |
Private Attributes | |
| std::string | stringvalue |
| int | intvalue |
| float | floatvalue |
| bool | boolvalue |
| Type | type |
Related Functions | |
| (Note that these are not member functions.) | |
| std::istream & | operator>> (std::istream &is, JBLToken &token) |
| Input a token. | |
| std::ostream & | operator<< (std::ostream &os, const JBLToken &token) |
| Output a token. | |
1.3.2