OpenASIP
2.0
|
#include <OperationDAGLanguageParser.hh>
Public Member Functions | |
Token (unsigned long start, unsigned long end, std::string &strValue) | |
bool | isIdentifier () const |
bool | isStringLiteral () const |
bool | isIntegerLiteral () const |
bool | isFloatLiteral () const |
bool | isUnaryExpression () const |
bool | isAddrofOperator () const |
bool | isAsteriskOperator () const |
bool | isPlusOperator () const |
bool | isMinusOperator () const |
bool | isTildeOperator () const |
bool | isBangOperator () const |
long | intValue () const |
std::string | stringValue () const |
bool | isPostfixExpression () const |
void | setProperty (OperationID id) |
Public Attributes | |
unsigned long | start_ |
unsigned long | end_ |
std::string | strValue_ |
OperationID | type_ |
bool | isIdentifier_ |
bool | isStringLiteral_ |
bool | isIntegerLiteral_ |
bool | isFloatLiteral_ |
bool | isUnaryExpression_ |
bool | isAddrofOperator_ |
bool | isAsteriskOperator_ |
bool | isPlusOperator_ |
bool | isMinusOperator_ |
bool | isTildeOperator_ |
bool | isBangOperator_ |
Represents one token of source code.
Definition at line 304 of file OperationDAGLanguageParser.hh.
|
inline |
Definition at line 306 of file OperationDAGLanguageParser.hh.
|
inline |
Definition at line 333 of file OperationDAGLanguageParser.hh.
References assert, and Conversion::toLong().
Referenced by OperationDAGBuilder::getIOOperand().
|
inline |
Definition at line 326 of file OperationDAGLanguageParser.hh.
|
inline |
Definition at line 327 of file OperationDAGLanguageParser.hh.
|
inline |
Definition at line 331 of file OperationDAGLanguageParser.hh.
|
inline |
Definition at line 324 of file OperationDAGLanguageParser.hh.
|
inline |
Definition at line 321 of file OperationDAGLanguageParser.hh.
Referenced by OperationDAGBuilder::getBinding(), and OperationDAGBuilder::getVariableName().
|
inline |
Definition at line 323 of file OperationDAGLanguageParser.hh.
Referenced by OperationDAGBuilder::getIOOperand().
|
inline |
Definition at line 329 of file OperationDAGLanguageParser.hh.
|
inline |
Definition at line 328 of file OperationDAGLanguageParser.hh.
|
inline |
Definition at line 345 of file OperationDAGLanguageParser.hh.
|
inline |
Definition at line 322 of file OperationDAGLanguageParser.hh.
|
inline |
Definition at line 330 of file OperationDAGLanguageParser.hh.
|
inline |
Definition at line 325 of file OperationDAGLanguageParser.hh.
|
inline |
Definition at line 347 of file OperationDAGLanguageParser.hh.
|
inline |
Definition at line 341 of file OperationDAGLanguageParser.hh.
Referenced by OperationDAGBuilder::assignVariable(), OperationDAGBuilder::declareVariable(), OperationDAGBuilder::getBinding(), OperationDAGBuilder::getIOOperand(), OperationDAGBuilder::getVariableName(), and OperationDAGBuilder::parseNode().
unsigned long TokenizerData::Token::end_ |
Definition at line 367 of file OperationDAGLanguageParser.hh.
Referenced by TokenizerData::TokenTreeNode::addToTokenTree().
bool TokenizerData::Token::isAddrofOperator_ |
Definition at line 376 of file OperationDAGLanguageParser.hh.
bool TokenizerData::Token::isAsteriskOperator_ |
Definition at line 377 of file OperationDAGLanguageParser.hh.
bool TokenizerData::Token::isBangOperator_ |
Definition at line 381 of file OperationDAGLanguageParser.hh.
bool TokenizerData::Token::isFloatLiteral_ |
Definition at line 374 of file OperationDAGLanguageParser.hh.
bool TokenizerData::Token::isIdentifier_ |
Definition at line 371 of file OperationDAGLanguageParser.hh.
bool TokenizerData::Token::isIntegerLiteral_ |
Definition at line 373 of file OperationDAGLanguageParser.hh.
bool TokenizerData::Token::isMinusOperator_ |
Definition at line 379 of file OperationDAGLanguageParser.hh.
bool TokenizerData::Token::isPlusOperator_ |
Definition at line 378 of file OperationDAGLanguageParser.hh.
bool TokenizerData::Token::isStringLiteral_ |
Definition at line 372 of file OperationDAGLanguageParser.hh.
bool TokenizerData::Token::isTildeOperator_ |
Definition at line 380 of file OperationDAGLanguageParser.hh.
bool TokenizerData::Token::isUnaryExpression_ |
Definition at line 375 of file OperationDAGLanguageParser.hh.
unsigned long TokenizerData::Token::start_ |
Definition at line 366 of file OperationDAGLanguageParser.hh.
Referenced by TokenizerData::TokenTreeNode::addToTokenTree().
std::string TokenizerData::Token::strValue_ |
Definition at line 368 of file OperationDAGLanguageParser.hh.
OperationID TokenizerData::Token::type_ |
Definition at line 369 of file OperationDAGLanguageParser.hh.
Referenced by OperationDAGBuilder::parseNode().