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. | |
Definition at line 303 of file MixFix.cxx.
| MixFixNode::MixFixNode | ( | ASTPtr | _ast, | |
| MixRulePtr | _rule | |||
| ) | [inline] |
| bool MixFixNode::isExpr | ( | ) | const [inline] |
| bool MixFixNode::isKwd | ( | ) | const [inline] |
| bool MixFixNode::isType | ( | ) | const [inline] |
| 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] |
AST for this node.
Definition at line 305 of file MixFix.cxx.
Referenced by MixContext::isKwd(), matchesKwd(), MixFixNode(), PrettyPrint(), and reduce().
Rule that produced this node.
Definition at line 308 of file MixFix.cxx.
Referenced by isExpr(), isKwd(), isType(), and MixFixNode().
1.4.7