| 
    OpenASIP 2.2
    
   | 
 
#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, isIntegerLiteral(), strValue_, and Conversion::toLong().
Referenced by OperationDAGBuilder::getIOOperand(), and TokenizerData::TokenTreeNode::intValue().

      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 321 of file OperationDAGLanguageParser.hh.
References isIdentifier_.
Referenced by OperationDAGBuilder::getBinding(), and OperationDAGBuilder::getVariableName().
      
  | 
  inline | 
Definition at line 323 of file OperationDAGLanguageParser.hh.
References isIntegerLiteral_.
Referenced by OperationDAGBuilder::getIOOperand(), and intValue().
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 345 of file OperationDAGLanguageParser.hh.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 347 of file OperationDAGLanguageParser.hh.
References TokenizerData::FLOAT_LITERAL, TokenizerData::IDENTIFIER, TokenizerData::INTEGER_LITERAL, isAddrofOperator_, isAsteriskOperator_, isBangOperator_, isFloatLiteral_, isIdentifier_, isIntegerLiteral_, isMinusOperator_, isPlusOperator_, isStringLiteral_, isTildeOperator_, isUnaryExpression_, TokenizerData::STRING_LITERAL, type_, TokenizerData::UNARY_ADDROF, TokenizerData::UNARY_BANG, TokenizerData::UNARY_EXPRESSION, TokenizerData::UNARY_MINUS, TokenizerData::UNARY_PLUS, TokenizerData::UNARY_STAR, and TokenizerData::UNARY_TILDE.
      
  | 
  inline | 
Definition at line 341 of file OperationDAGLanguageParser.hh.
References strValue_.
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(), and TokenizerData::TokenTreeNode::toStr().
| bool TokenizerData::Token::isAddrofOperator_ | 
Definition at line 376 of file OperationDAGLanguageParser.hh.
Referenced by isAddrofOperator(), and setProperty().
| bool TokenizerData::Token::isAsteriskOperator_ | 
Definition at line 377 of file OperationDAGLanguageParser.hh.
Referenced by isAsteriskOperator(), and setProperty().
| bool TokenizerData::Token::isBangOperator_ | 
Definition at line 381 of file OperationDAGLanguageParser.hh.
Referenced by isBangOperator(), and setProperty().
| bool TokenizerData::Token::isFloatLiteral_ | 
Definition at line 374 of file OperationDAGLanguageParser.hh.
Referenced by isFloatLiteral(), and setProperty().
| bool TokenizerData::Token::isIdentifier_ | 
Definition at line 371 of file OperationDAGLanguageParser.hh.
Referenced by isIdentifier(), and setProperty().
| bool TokenizerData::Token::isIntegerLiteral_ | 
Definition at line 373 of file OperationDAGLanguageParser.hh.
Referenced by isIntegerLiteral(), and setProperty().
| bool TokenizerData::Token::isMinusOperator_ | 
Definition at line 379 of file OperationDAGLanguageParser.hh.
Referenced by isMinusOperator(), and setProperty().
| bool TokenizerData::Token::isPlusOperator_ | 
Definition at line 378 of file OperationDAGLanguageParser.hh.
Referenced by isPlusOperator(), and setProperty().
| bool TokenizerData::Token::isStringLiteral_ | 
Definition at line 372 of file OperationDAGLanguageParser.hh.
Referenced by isStringLiteral(), and setProperty().
| bool TokenizerData::Token::isTildeOperator_ | 
Definition at line 380 of file OperationDAGLanguageParser.hh.
Referenced by isTildeOperator(), and setProperty().
| bool TokenizerData::Token::isUnaryExpression_ | 
Definition at line 375 of file OperationDAGLanguageParser.hh.
Referenced by isUnaryExpression(), and setProperty().
| unsigned long TokenizerData::Token::start_ | 
Definition at line 366 of file OperationDAGLanguageParser.hh.
Referenced by TokenizerData::TokenTreeNode::addToTokenTree(), and TokenizerData::TokenTreeNode::toStr().
| std::string TokenizerData::Token::strValue_ | 
Definition at line 368 of file OperationDAGLanguageParser.hh.
Referenced by intValue(), stringValue(), and TokenizerData::TokenTreeNode::toStr().
| OperationID TokenizerData::Token::type_ | 
Definition at line 369 of file OperationDAGLanguageParser.hh.
Referenced by OperationDAGBuilder::parseNode(), setProperty(), and TokenizerData::TokenTreeNode::toStr().