C# Class Antlr4.Codegen.Model.Choice

Inheritance: RuleElement
Show file Open project: sharwell/antlr4cs Class Usage Examples

Public Properties

Property Type Description
decision int
label Antlr4.Codegen.Model.Decl.Decl

Public Methods

Method Description
AddCodeForLookaheadTempVar ( Antlr4.Runtime.Misc.IntervalSet look ) : TestSetInline
AddPreambleOp ( SrcOp op ) : void
Choice ( OutputModelFactory factory, GrammarAST blkOrEbnfRootAST, IList alts ) : System.Collections.Generic
GetAltLookaheadAsStringLists ( Antlr4.Runtime.Misc.IntervalSet altLookSets ) : IList
GetThrowNoViableAlt ( OutputModelFactory factory, GrammarAST blkAST, Antlr4.Runtime.Misc.IntervalSet expecting ) : ThrowNoViableAlt

Method Details

AddCodeForLookaheadTempVar() public method

public AddCodeForLookaheadTempVar ( Antlr4.Runtime.Misc.IntervalSet look ) : TestSetInline
look Antlr4.Runtime.Misc.IntervalSet
return TestSetInline

AddPreambleOp() public method

public AddPreambleOp ( SrcOp op ) : void
op SrcOp
return void

Choice() public method

public Choice ( OutputModelFactory factory, GrammarAST blkOrEbnfRootAST, IList alts ) : System.Collections.Generic
factory OutputModelFactory
blkOrEbnfRootAST Antlr4.Tool.Ast.GrammarAST
alts IList
return System.Collections.Generic

GetAltLookaheadAsStringLists() public method

public GetAltLookaheadAsStringLists ( Antlr4.Runtime.Misc.IntervalSet altLookSets ) : IList
altLookSets Antlr4.Runtime.Misc.IntervalSet
return IList

GetThrowNoViableAlt() public method

public GetThrowNoViableAlt ( OutputModelFactory factory, GrammarAST blkAST, Antlr4.Runtime.Misc.IntervalSet expecting ) : ThrowNoViableAlt
factory OutputModelFactory
blkAST Antlr4.Tool.Ast.GrammarAST
expecting Antlr4.Runtime.Misc.IntervalSet
return ThrowNoViableAlt

Property Details

decision public property

public int decision
return int

label public property

public Decl,Antlr4.Codegen.Model.Decl label
return Antlr4.Codegen.Model.Decl.Decl