MixFixNode Struct Reference


Public Member Functions

 MixFixNode (ASTPtr _ast, MixRulePtr _rule)
bool matchesKwd (const MixRuleElement &elem) const
void PrettyPrint (sherpa::INOstream &out, PrettyPrintFlags flags)
bool isKwd () const
bool isExpr () const
bool isType () const

Data Fields

ASTPtr ast
 AST for this node.
MixRulePtr rule
 Rule that produced this node.

Detailed Description

Definition at line 303 of file MixFix.cxx.


Constructor & Destructor Documentation

MixFixNode::MixFixNode ( ASTPtr  _ast,
MixRulePtr  _rule 
) [inline]

Definition at line 310 of file MixFix.cxx.

References ast, and rule.


Member Function Documentation

bool MixFixNode::isExpr (  )  const [inline]

Definition at line 338 of file MixFix.cxx.

References msc_expr, and rule.

bool MixFixNode::isKwd (  )  const [inline]

Definition at line 335 of file MixFix.cxx.

References rule.

bool MixFixNode::isType (  )  const [inline]

Definition at line 341 of file MixFix.cxx.

References msc_type, and rule.

bool MixFixNode::matchesKwd ( const MixRuleElement elem  )  const [inline]

Definition at line 316 of file MixFix.cxx.

References assert(), ast, msc_keyword, MixRuleElement::name, and MixRuleElement::sc.

void MixFixNode::PrettyPrint ( sherpa::INOstream out,
PrettyPrintFlags  flags 
) [inline]

Definition at line 321 of file MixFix.cxx.

References ast, at_ident, flags, and pp_FinalNewline.


Field Documentation

ASTPtr MixFixNode::ast

AST for this node.

Definition at line 305 of file MixFix.cxx.

Referenced by MixContext::isKwd(), matchesKwd(), MixFixNode(), PrettyPrint(), and reduce().

MixRulePtr MixFixNode::rule

Rule that produced this node.

Definition at line 308 of file MixFix.cxx.

Referenced by isExpr(), isKwd(), isType(), and MixFixNode().


The documentation for this struct was generated from the following file:
Generated on Fri May 18 07:59:18 2012 for BitC Compiler by  doxygen 1.4.7