Rule Class

Definition

Line 6 of scm2html/Grammar.cm

Constructors & Destructor

public Rule(const String<uchar>& name_, Expression* expression_)
public Rule(const String<uchar>& name_, RuleParser* parser_)

Member Functions

public Expression* GetExpression() const
public const String<uchar>& Name() const
public RuleParser* Parser() const

Enumerated Types

public enum Kind

Member Variables

private Expression* expression
private Kind kind
private String<uchar> name
private RuleParser* parser

Constructor& Destructor Details

Rule Constructor

public Rule(const String<uchar>& name_, Expression* expression_)

Definition
Line 8 of scm2html/Grammar.cm


Rule Constructor

public Rule(const String<uchar>& name_, RuleParser* parser_)

Definition
Line 12 of scm2html/Grammar.cm


Member Function Details

GetExpression Member Function

public Expression* GetExpression()

Definition
Line 24 of scm2html/Grammar.cm


Name Member Function

public const String<uchar>& Name()

Definition
Line 20 of scm2html/Grammar.cm


Parser Member Function

public RuleParser* Parser()

Definition
Line 28 of scm2html/Grammar.cm