C# Class TT.TemplateParser

Inheritance: Antlr.Runtime.Debug.DebugParser
显示文件 Open project: claco/tt.net Class Usage Examples

Public Properties

Property Type Description
FOLLOW_55_in_getExpr522 Antlr.Runtime.BitSet
FOLLOW_55_in_getExpr544 Antlr.Runtime.BitSet
FOLLOW_55_in_getExpr561 Antlr.Runtime.BitSet
FOLLOW_56_in_setExpr583 Antlr.Runtime.BitSet
FOLLOW_56_in_setExpr605 Antlr.Runtime.BitSet
FOLLOW_56_in_setExpr628 Antlr.Runtime.BitSet
FOLLOW_57_in_getExpr639 Antlr.Runtime.BitSet
FOLLOW_57_in_getExpr661 Antlr.Runtime.BitSet
FOLLOW_57_in_getExpr678 Antlr.Runtime.BitSet
FOLLOW_58_in_setExpr700 Antlr.Runtime.BitSet
FOLLOW_ASSIGN_in_assignment753 Antlr.Runtime.BitSet
FOLLOW_ASSIGN_in_assignment768 Antlr.Runtime.BitSet
FOLLOW_ASSIGN_in_assignment784 Antlr.Runtime.BitSet
FOLLOW_ASSIGN_in_setExpr588 Antlr.Runtime.BitSet
FOLLOW_ASSIGN_in_setExpr610 Antlr.Runtime.BitSet
FOLLOW_ASSIGN_in_setExpr633 Antlr.Runtime.BitSet
FOLLOW_DECIMAL_in_assignment786 Antlr.Runtime.BitSet
FOLLOW_DECIMAL_in_setExpr635 Antlr.Runtime.BitSet
FOLLOW_DEFAULT_in_defaultExpr726 Antlr.Runtime.BitSet
FOLLOW_END_in_forEachLoop616 Antlr.Runtime.BitSet
FOLLOW_END_in_ifStatement573 Antlr.Runtime.BitSet
FOLLOW_FOREACH_in_forEachLoop594 Antlr.Runtime.BitSet
FOLLOW_ID_in_assignment751 Antlr.Runtime.BitSet
FOLLOW_ID_in_assignment766 Antlr.Runtime.BitSet
FOLLOW_ID_in_assignment782 Antlr.Runtime.BitSet
FOLLOW_ID_in_forEachLoop596 Antlr.Runtime.BitSet
FOLLOW_ID_in_forEachLoop600 Antlr.Runtime.BitSet
FOLLOW_ID_in_getExpr525 Antlr.Runtime.BitSet
FOLLOW_ID_in_getExpr642 Antlr.Runtime.BitSet
FOLLOW_ID_in_ifStatement557 Antlr.Runtime.BitSet
FOLLOW_ID_in_setExpr586 Antlr.Runtime.BitSet
FOLLOW_ID_in_setExpr608 Antlr.Runtime.BitSet
FOLLOW_ID_in_setExpr631 Antlr.Runtime.BitSet
FOLLOW_IF_in_ifStatement555 Antlr.Runtime.BitSet
FOLLOW_ILITERAL_in_getExpr564 Antlr.Runtime.BitSet
FOLLOW_ILITERAL_in_getExpr681 Antlr.Runtime.BitSet
FOLLOW_IN_in_forEachLoop598 Antlr.Runtime.BitSet
FOLLOW_LITERAL_in_assignment755 Antlr.Runtime.BitSet
FOLLOW_LITERAL_in_getExpr547 Antlr.Runtime.BitSet
FOLLOW_LITERAL_in_getExpr664 Antlr.Runtime.BitSet
FOLLOW_LITERAL_in_setExpr590 Antlr.Runtime.BitSet
FOLLOW_NUMBER_in_assignment770 Antlr.Runtime.BitSet
FOLLOW_NUMBER_in_setExpr612 Antlr.Runtime.BitSet
FOLLOW_TSTART_in_block488 Antlr.Runtime.BitSet
FOLLOW_TSTART_in_block506 Antlr.Runtime.BitSet
FOLLOW_TSTART_in_forEachLoop605 Antlr.Runtime.BitSet
FOLLOW_TSTART_in_forEachLoop613 Antlr.Runtime.BitSet
FOLLOW_TSTART_in_ifStatement562 Antlr.Runtime.BitSet
FOLLOW_TSTART_in_ifStatement570 Antlr.Runtime.BitSet
FOLLOW_TSTOP_in_block493 Antlr.Runtime.BitSet
FOLLOW_TSTOP_in_block511 Antlr.Runtime.BitSet
FOLLOW_TSTOP_in_forEachLoop602 Antlr.Runtime.BitSet
FOLLOW_TSTOP_in_forEachLoop610 Antlr.Runtime.BitSet
FOLLOW_TSTOP_in_ifStatement559 Antlr.Runtime.BitSet
FOLLOW_TSTOP_in_ifStatement567 Antlr.Runtime.BitSet
FOLLOW_assignment_in_defaultExpr729 Antlr.Runtime.BitSet
FOLLOW_assignment_in_setExpr704 Antlr.Runtime.BitSet
FOLLOW_block_in_document467 Antlr.Runtime.BitSet
FOLLOW_block_in_document485 Antlr.Runtime.BitSet
FOLLOW_defaultExpr_in_statement534 Antlr.Runtime.BitSet
FOLLOW_forEachLoop_in_statement544 Antlr.Runtime.BitSet
FOLLOW_getExpr_in_statement506 Antlr.Runtime.BitSet
FOLLOW_getExpr_in_statement524 Antlr.Runtime.BitSet
FOLLOW_ifStatement_in_statement539 Antlr.Runtime.BitSet
FOLLOW_setExpr_in_statement511 Antlr.Runtime.BitSet
FOLLOW_setExpr_in_statement529 Antlr.Runtime.BitSet
FOLLOW_statement_in_block491 Antlr.Runtime.BitSet
FOLLOW_statement_in_block509 Antlr.Runtime.BitSet
FOLLOW_statement_in_forEachLoop608 Antlr.Runtime.BitSet
FOLLOW_statement_in_ifStatement565 Antlr.Runtime.BitSet
ruleNames string[]
tokenNames string[]

Protected Properties

Property Type Description
adaptor Antlr.Runtime.Debug.DebugTreeAdaptor
adaptor ITreeAdaptor

Public Methods

Method Description
DecRuleLevel ( ) : void
IncRuleLevel ( ) : void
TemplateParser ( ITokenStream input ) : System
TemplateParser ( ITokenStream input, IDebugEventListener dbg ) : System
TemplateParser ( ITokenStream input, Antlr.Runtime.RecognizerSharedState state ) : System
TemplateParser ( ITokenStream input, int port, Antlr.Runtime.RecognizerSharedState state ) : System
assignment ( ) : TemplateParser.assignment_return
block ( ) : TemplateParser.block_return
defaultExpr ( ) : TemplateParser.defaultExpr_return
document ( ) : TemplateParser.document_return
forEachLoop ( ) : TemplateParser.forEachLoop_return
getExpr ( ) : TemplateParser.getExpr_return
ifStatement ( ) : TemplateParser.ifStatement_return
setExpr ( ) : TemplateParser.setExpr_return
statement ( ) : TemplateParser.statement_return

Protected Methods

Method Description
EvalPredicate ( bool result, string predicate ) : bool

Private Methods

Method Description
InitializeCyclicDFAs ( ) : void
InitializeCyclicDFAs ( IDebugEventListener dbg ) : void

Method Details

DecRuleLevel() public method

public DecRuleLevel ( ) : void
return void

EvalPredicate() protected method

protected EvalPredicate ( bool result, string predicate ) : bool
result bool
predicate string
return bool

IncRuleLevel() public method

public IncRuleLevel ( ) : void
return void

TemplateParser() public method

public TemplateParser ( ITokenStream input ) : System
input ITokenStream
return System

TemplateParser() public method

public TemplateParser ( ITokenStream input, IDebugEventListener dbg ) : System
input ITokenStream
dbg IDebugEventListener
return System

TemplateParser() public method

public TemplateParser ( ITokenStream input, Antlr.Runtime.RecognizerSharedState state ) : System
input ITokenStream
state Antlr.Runtime.RecognizerSharedState
return System

TemplateParser() public method

public TemplateParser ( ITokenStream input, int port, Antlr.Runtime.RecognizerSharedState state ) : System
input ITokenStream
port int
state Antlr.Runtime.RecognizerSharedState
return System

assignment() public method

public assignment ( ) : TemplateParser.assignment_return
return TemplateParser.assignment_return

block() public method

public block ( ) : TemplateParser.block_return
return TemplateParser.block_return

defaultExpr() public method

public defaultExpr ( ) : TemplateParser.defaultExpr_return
return TemplateParser.defaultExpr_return

document() public method

public document ( ) : TemplateParser.document_return
return TemplateParser.document_return

forEachLoop() public method

public forEachLoop ( ) : TemplateParser.forEachLoop_return
return TemplateParser.forEachLoop_return

getExpr() public method

public getExpr ( ) : TemplateParser.getExpr_return
return TemplateParser.getExpr_return

ifStatement() public method

public ifStatement ( ) : TemplateParser.ifStatement_return
return TemplateParser.ifStatement_return

setExpr() public method

public setExpr ( ) : TemplateParser.setExpr_return
return TemplateParser.setExpr_return

statement() public method

public statement ( ) : TemplateParser.statement_return
return TemplateParser.statement_return

Property Details

FOLLOW_55_in_getExpr522 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_55_in_getExpr522
return Antlr.Runtime.BitSet

FOLLOW_55_in_getExpr544 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_55_in_getExpr544
return Antlr.Runtime.BitSet

FOLLOW_55_in_getExpr561 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_55_in_getExpr561
return Antlr.Runtime.BitSet

FOLLOW_56_in_setExpr583 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_56_in_setExpr583
return Antlr.Runtime.BitSet

FOLLOW_56_in_setExpr605 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_56_in_setExpr605
return Antlr.Runtime.BitSet

FOLLOW_56_in_setExpr628 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_56_in_setExpr628
return Antlr.Runtime.BitSet

FOLLOW_57_in_getExpr639 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_57_in_getExpr639
return Antlr.Runtime.BitSet

FOLLOW_57_in_getExpr661 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_57_in_getExpr661
return Antlr.Runtime.BitSet

FOLLOW_57_in_getExpr678 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_57_in_getExpr678
return Antlr.Runtime.BitSet

FOLLOW_58_in_setExpr700 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_58_in_setExpr700
return Antlr.Runtime.BitSet

FOLLOW_ASSIGN_in_assignment753 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_ASSIGN_in_assignment753
return Antlr.Runtime.BitSet

FOLLOW_ASSIGN_in_assignment768 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_ASSIGN_in_assignment768
return Antlr.Runtime.BitSet

FOLLOW_ASSIGN_in_assignment784 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_ASSIGN_in_assignment784
return Antlr.Runtime.BitSet

FOLLOW_ASSIGN_in_setExpr588 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_ASSIGN_in_setExpr588
return Antlr.Runtime.BitSet

FOLLOW_ASSIGN_in_setExpr610 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_ASSIGN_in_setExpr610
return Antlr.Runtime.BitSet

FOLLOW_ASSIGN_in_setExpr633 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_ASSIGN_in_setExpr633
return Antlr.Runtime.BitSet

FOLLOW_DECIMAL_in_assignment786 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_DECIMAL_in_assignment786
return Antlr.Runtime.BitSet

FOLLOW_DECIMAL_in_setExpr635 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_DECIMAL_in_setExpr635
return Antlr.Runtime.BitSet

FOLLOW_DEFAULT_in_defaultExpr726 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_DEFAULT_in_defaultExpr726
return Antlr.Runtime.BitSet

FOLLOW_END_in_forEachLoop616 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_END_in_forEachLoop616
return Antlr.Runtime.BitSet

FOLLOW_END_in_ifStatement573 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_END_in_ifStatement573
return Antlr.Runtime.BitSet

FOLLOW_FOREACH_in_forEachLoop594 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_FOREACH_in_forEachLoop594
return Antlr.Runtime.BitSet

FOLLOW_ID_in_assignment751 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_ID_in_assignment751
return Antlr.Runtime.BitSet

FOLLOW_ID_in_assignment766 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_ID_in_assignment766
return Antlr.Runtime.BitSet

FOLLOW_ID_in_assignment782 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_ID_in_assignment782
return Antlr.Runtime.BitSet

FOLLOW_ID_in_forEachLoop596 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_ID_in_forEachLoop596
return Antlr.Runtime.BitSet

FOLLOW_ID_in_forEachLoop600 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_ID_in_forEachLoop600
return Antlr.Runtime.BitSet

FOLLOW_ID_in_getExpr525 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_ID_in_getExpr525
return Antlr.Runtime.BitSet

FOLLOW_ID_in_getExpr642 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_ID_in_getExpr642
return Antlr.Runtime.BitSet

FOLLOW_ID_in_ifStatement557 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_ID_in_ifStatement557
return Antlr.Runtime.BitSet

FOLLOW_ID_in_setExpr586 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_ID_in_setExpr586
return Antlr.Runtime.BitSet

FOLLOW_ID_in_setExpr608 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_ID_in_setExpr608
return Antlr.Runtime.BitSet

FOLLOW_ID_in_setExpr631 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_ID_in_setExpr631
return Antlr.Runtime.BitSet

FOLLOW_IF_in_ifStatement555 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_IF_in_ifStatement555
return Antlr.Runtime.BitSet

FOLLOW_ILITERAL_in_getExpr564 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_ILITERAL_in_getExpr564
return Antlr.Runtime.BitSet

FOLLOW_ILITERAL_in_getExpr681 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_ILITERAL_in_getExpr681
return Antlr.Runtime.BitSet

FOLLOW_IN_in_forEachLoop598 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_IN_in_forEachLoop598
return Antlr.Runtime.BitSet

FOLLOW_LITERAL_in_assignment755 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_LITERAL_in_assignment755
return Antlr.Runtime.BitSet

FOLLOW_LITERAL_in_getExpr547 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_LITERAL_in_getExpr547
return Antlr.Runtime.BitSet

FOLLOW_LITERAL_in_getExpr664 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_LITERAL_in_getExpr664
return Antlr.Runtime.BitSet

FOLLOW_LITERAL_in_setExpr590 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_LITERAL_in_setExpr590
return Antlr.Runtime.BitSet

FOLLOW_NUMBER_in_assignment770 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_NUMBER_in_assignment770
return Antlr.Runtime.BitSet

FOLLOW_NUMBER_in_setExpr612 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_NUMBER_in_setExpr612
return Antlr.Runtime.BitSet

FOLLOW_TSTART_in_block488 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_TSTART_in_block488
return Antlr.Runtime.BitSet

FOLLOW_TSTART_in_block506 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_TSTART_in_block506
return Antlr.Runtime.BitSet

FOLLOW_TSTART_in_forEachLoop605 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_TSTART_in_forEachLoop605
return Antlr.Runtime.BitSet

FOLLOW_TSTART_in_forEachLoop613 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_TSTART_in_forEachLoop613
return Antlr.Runtime.BitSet

FOLLOW_TSTART_in_ifStatement562 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_TSTART_in_ifStatement562
return Antlr.Runtime.BitSet

FOLLOW_TSTART_in_ifStatement570 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_TSTART_in_ifStatement570
return Antlr.Runtime.BitSet

FOLLOW_TSTOP_in_block493 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_TSTOP_in_block493
return Antlr.Runtime.BitSet

FOLLOW_TSTOP_in_block511 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_TSTOP_in_block511
return Antlr.Runtime.BitSet

FOLLOW_TSTOP_in_forEachLoop602 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_TSTOP_in_forEachLoop602
return Antlr.Runtime.BitSet

FOLLOW_TSTOP_in_forEachLoop610 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_TSTOP_in_forEachLoop610
return Antlr.Runtime.BitSet

FOLLOW_TSTOP_in_ifStatement559 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_TSTOP_in_ifStatement559
return Antlr.Runtime.BitSet

FOLLOW_TSTOP_in_ifStatement567 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_TSTOP_in_ifStatement567
return Antlr.Runtime.BitSet

FOLLOW_assignment_in_defaultExpr729 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_assignment_in_defaultExpr729
return Antlr.Runtime.BitSet

FOLLOW_assignment_in_setExpr704 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_assignment_in_setExpr704
return Antlr.Runtime.BitSet

FOLLOW_block_in_document467 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_block_in_document467
return Antlr.Runtime.BitSet

FOLLOW_block_in_document485 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_block_in_document485
return Antlr.Runtime.BitSet

FOLLOW_defaultExpr_in_statement534 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_defaultExpr_in_statement534
return Antlr.Runtime.BitSet

FOLLOW_forEachLoop_in_statement544 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_forEachLoop_in_statement544
return Antlr.Runtime.BitSet

FOLLOW_getExpr_in_statement506 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_getExpr_in_statement506
return Antlr.Runtime.BitSet

FOLLOW_getExpr_in_statement524 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_getExpr_in_statement524
return Antlr.Runtime.BitSet

FOLLOW_ifStatement_in_statement539 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_ifStatement_in_statement539
return Antlr.Runtime.BitSet

FOLLOW_setExpr_in_statement511 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_setExpr_in_statement511
return Antlr.Runtime.BitSet

FOLLOW_setExpr_in_statement529 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_setExpr_in_statement529
return Antlr.Runtime.BitSet

FOLLOW_statement_in_block491 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_statement_in_block491
return Antlr.Runtime.BitSet

FOLLOW_statement_in_block509 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_statement_in_block509
return Antlr.Runtime.BitSet

FOLLOW_statement_in_forEachLoop608 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_statement_in_forEachLoop608
return Antlr.Runtime.BitSet

FOLLOW_statement_in_ifStatement565 public_oe static_oe property

public static BitSet,Antlr.Runtime FOLLOW_statement_in_ifStatement565
return Antlr.Runtime.BitSet

adaptor protected_oe property

protected DebugTreeAdaptor,Antlr.Runtime.Debug adaptor
return Antlr.Runtime.Debug.DebugTreeAdaptor

adaptor protected_oe property

protected ITreeAdaptor adaptor
return ITreeAdaptor

ruleNames public_oe static_oe property

public static string[] ruleNames
return string[]

tokenNames public_oe static_oe property

public static string[] tokenNames
return string[]