CsParenthesizedExpression Struct Reference

Parenthesized expression AST node. More...

Inheritance diagram for CsParenthesizedExpression:
CsPrimaryExpression CsExpression CsNode

List of all members.

Public Member Functions

 CsParenthesizedExpression ()
 CsParenthesizedExpression (LineInfo line_info)
virtual ~CsParenthesizedExpression ()
virtual void member_lookup (CsDisplay &display)
 Member Lookup - pass 4 (for internal purpose only).
virtual void clearEntities ()
 Clear all entity references (for internal purpose only).
virtual void addTokensRecursive (CsTokenCollector &tokenCollector)
 Recursively collect token indexes in source code order.
virtual void addTokens (CsTokenCollector &tokenCollector)
 Collect token indexes associated with this AST node.
virtual void visit (CsAstVisitor *visitor)
 CsAstVisitor support.
virtual void callback (CsAstCallback *visitor)
 CsAstCallback support.

Public Attributes

CsExpressionexpression
 Expression.
CsTokenIndex lparen_token
CsTokenIndex rparen_token

Detailed Description

Parenthesized expression AST node.

EBNF grammar:

parenthesized-expression:
  "(" expression ")"


Constructor & Destructor Documentation

CsParenthesizedExpression::CsParenthesizedExpression (  )  [inline]
CsParenthesizedExpression::CsParenthesizedExpression ( LineInfo  line_info  )  [inline, explicit]
virtual CsParenthesizedExpression::~CsParenthesizedExpression (  )  [inline, virtual]

Member Function Documentation

virtual void CsParenthesizedExpression::addTokens ( CsTokenCollector tokenCollector  )  [virtual]

Collect token indexes associated with this AST node.

Implements CsNode.

virtual void CsParenthesizedExpression::addTokensRecursive ( CsTokenCollector tokenCollector  )  [virtual]

Recursively collect token indexes in source code order.

Implements CsNode.

virtual void CsParenthesizedExpression::callback ( CsAstCallback visitor  )  [inline, virtual]

CsAstCallback support.

Implements CsNode.

virtual void CsParenthesizedExpression::clearEntities (  )  [virtual]

Clear all entity references (for internal purpose only).

Reimplemented from CsExpression.

virtual void CsParenthesizedExpression::member_lookup ( CsDisplay &  display  )  [virtual]

Member Lookup - pass 4 (for internal purpose only).

Implements CsNode.

virtual void CsParenthesizedExpression::visit ( CsAstVisitor visitor  )  [inline, virtual]

CsAstVisitor support.

Implements CsNode.


Member Data Documentation

© 2010 metaspec