OpenASIP
2.0
|
#include <OperationDAGLanguageParser.hh>
Classes | |
class | Token |
class | TokenTreeNode |
Public Member Functions | |
TokenizerData () | |
~TokenizerData () | |
void | addToken (const char *start, const char *end, OperationID id, std::string strVal) |
void | showTokenizedSource () |
const TokenTreeNode * | tokenTree () const |
Static Public Member Functions | |
static std::string | idString (OperationID id) |
Private Types | |
typedef std::map< std::pair< const char *, const char * >, Token * > | TokenContainerType |
Private Attributes | |
TokenContainerType | parsedTokens_ |
TokenTreeNode | root |
Class which is used by Spirit parser to create tokenized tree form of the source code.
Definition at line 148 of file OperationDAGLanguageParser.hh.
|
private |
Definition at line 705 of file OperationDAGLanguageParser.hh.
List of different type tokens.
Definition at line 154 of file OperationDAGLanguageParser.hh.
|
inline |
Definition at line 613 of file OperationDAGLanguageParser.hh.
|
inline |
|
inline |
Creates new token based on parsed data or updates new type info for old token.
start | Start position of token. |
end | End position of token. |
id | Type of token. |
strVal | String of token. |
Definition at line 636 of file OperationDAGLanguageParser.hh.
Referenced by TokenizerActor::operator()().
|
inlinestatic |
Prints string value for each token.
id | Token type. |
Definition at line 229 of file OperationDAGLanguageParser.hh.
Referenced by TokenizerData::TokenTreeNode::toStr().
|
inline |
|
inline |
Returns root node of token tree.
Definition at line 699 of file OperationDAGLanguageParser.hh.
Referenced by OperationDAGConverter::createDAG().
|
private |
Definition at line 707 of file OperationDAGLanguageParser.hh.
|
private |
Definition at line 708 of file OperationDAGLanguageParser.hh.