NonterminalParser Class

Definition

Line 505 of scm2html/Parser.cm

Inheritance

Constructors & Destructor

public NonterminalParser(const String<uchar>& name_, const String<uchar>& ruleName_)

Member Functions

public override void Accept(Visitor& visitor)
public const NodeList<Node>& Arguments() const
public override Parser* Clone() const
public override bool IsNonterminal() const
public RuleParser* Rule() const
public const String<uchar>& RuleName() const
public void SetArguments(InvokeNode* invoke)
public void SetRule(RuleParser* rule)

Member Variables

private NodeList<Node> args
private RuleParser* rule
private String<uchar> ruleName

Constructor& Destructor Details

NonterminalParser Constructor

public NonterminalParser(const String<uchar>& name_, const String<uchar>& ruleName_)

Definition
Line 507 of scm2html/Parser.cm


Member Function Details

Accept Member Function

public override void Accept(Visitor& visitor)

Definition
Line 552 of scm2html/Parser.cm


Arguments Member Function

public const NodeList<Node>& Arguments()

Definition
Line 523 of scm2html/Parser.cm


Clone Member Function

public override Parser* Clone()

Definition
Line 541 of scm2html/Parser.cm


IsNonterminal Member Function

public override bool IsNonterminal()

Definition
Line 537 of scm2html/Parser.cm


Rule Member Function

public RuleParser* Rule()

Definition
Line 519 of scm2html/Parser.cm


RuleName Member Function

public const String<uchar>& RuleName()

Definition
Line 511 of scm2html/Parser.cm


SetArguments Member Function

public void SetArguments(InvokeNode* invoke)

Definition
Line 527 of scm2html/Parser.cm


SetRule Member Function

public void SetRule(RuleParser* rule)

Definition
Line 515 of scm2html/Parser.cm