Method | Description | |
---|---|---|
CreateGrammarParserInterpreter ( Antlr4.Runtime.ITokenStream tokenStream ) : |
||
CreateLexerInterpreter ( Antlr4.Runtime.ICharStream input ) : Antlr4.Runtime.LexerInterpreter | ||
CreateParserInterpreter ( Antlr4.Runtime.ITokenStream tokenStream ) : Antlr4.Runtime.ParserInterpreter | ||
DefineAction ( |
||
DefineChannelName ( string name ) : int | ||
DefineChannelName ( string name, int value ) : int | ||
DefineRule ( [ r ) : bool | ||
DefineStringLiteral ( string lit ) : int | ||
DefineStringLiteral ( string lit, int ttype ) : int | ||
DefineTokenAlias ( string name, string lit ) : int | ||
DefineTokenName ( string name ) : int | ||
DefineTokenName ( string name, int ttype ) : int | ||
GetATN ( ) : |
||
GetAllCharValues ( ) : Antlr4.Runtime.Misc.IIntSet | ||
GetAllImportedGrammars ( ) : IList |
||
GetChannelValue ( string channel ) : int | ||
GetDefaultActionScope ( ) : string | ||
GetGrammarAncestors ( ) : IList |
||
GetGrammarTypeToFileNameSuffix ( int type ) : string | ||
GetImplicitLexer ( ) : |
||
GetImportedGrammar ( string name ) : |
||
GetImportedGrammars ( ) : IList |
||
GetIndexToPredicateMap ( ) : PredAST>.LinkedHashMap |
||
GetLabeledAlternatives ( |
||
GetMaxCharValue ( ) : int | ||
GetMaxTokenType ( ) : int | ||
GetNewChannelNumber ( ) : int | ||
GetNewTokenType ( ) : int | ||
GetOptionString ( string key ) : string | ||
GetOutermostGrammar ( ) : |
||
GetPredicateDisplayString ( SemanticContext pred ) : string | ||
GetRecognizerName ( ) : string | ||
GetRule ( int index ) : |
||
GetRule ( string name ) : |
||
GetRule ( string grammarName, string ruleName ) : |
||
GetRuleNames ( ) : string[] | ||
GetSemanticContextDisplayString ( SemanticContext semctx ) : string | ||
GetStateToGrammarRegion ( int atnStateNumber ) : Antlr4.Runtime.Misc.Interval | ||
GetStateToGrammarRegionMap ( |
||
GetStringLiteralAliasesFromLexerRules ( |
||
GetStringLiteralLexerRuleName ( string lit ) : string | ||
GetStringLiterals ( ) : ISet |
||
GetTokenDisplayName ( int ttype ) : string | ||
GetTokenDisplayNames ( ) : string[] | ||
GetTokenNames ( ) : string[] | ||
GetTokenStream ( ) : Antlr.Runtime.Antlr4.Runtime.ITokenStream | ||
GetTokenType ( string token ) : int | ||
GetTokenTypes ( ) : Antlr4.Runtime.Misc.IIntSet | ||
GetTypeString ( ) : string | ||
GetUnlabeledAlternatives ( |
||
Grammar ( AntlrTool tool, [ ast ) : System.Collections.Generic | ||
Grammar ( string grammarText ) : System.Collections.Generic | ||
Grammar ( string grammarText, ANTLRToolListener listener ) : System.Collections.Generic | ||
Grammar ( string grammarText, |
||
Grammar ( string fileName, string grammarText ) : System.Collections.Generic | ||
Grammar ( string fileName, string grammarText, |
||
Grammar ( string fileName, string grammarText, [ listener ) : System.Collections.Generic | ||
ImportTokensFromTokensFile ( ) : void | ||
ImportVocab ( |
||
IsAbstract ( ) : bool | ||
IsCombined ( ) : bool | ||
IsLexer ( ) : bool | ||
IsParser ( ) : bool | ||
IsTokenName ( string id ) : bool | ||
JoinPredicateOperands ( SemanticContext op, string separator ) : string | ||
Load ( string fileName ) : |
||
LoadImportedGrammars ( ) : void | ||
ResolveToAttribute ( string x, |
||
ResolveToAttribute ( string x, string y, |
||
ResolvesToAttributeDict ( string x, |
||
ResolvesToLabel ( string x, |
||
ResolvesToListLabel ( string x, |
||
ResolvesToToken ( string x, |
||
SetChannelNameForValue ( int channelValue, string name ) : void | ||
SetLookaheadDFA ( int decision, |
||
SetNodeOptions ( |
||
SetTokenForType ( int ttype, string text ) : void | ||
UndefineRule ( [ r ) : bool |
Method | Description | |
---|---|---|
DefAlias ( |
||
GetBaseContextName ( string ruleName ) : string | ||
InitTokenSymbolTables ( ) : void |
Method | Description | |
---|---|---|
GetTokenLiteralNames ( ) : string[] | ||
GetTokenName ( int ttype ) : string | ||
GetTokenSymbolicNames ( ) : string[] | ||
GetVocabulary ( ) : Antlr4.Runtime.IVocabulary |
public CreateGrammarParserInterpreter ( Antlr4.Runtime.ITokenStream tokenStream ) : |
||
tokenStream | Antlr4.Runtime.ITokenStream | |
return |
public CreateLexerInterpreter ( Antlr4.Runtime.ICharStream input ) : Antlr4.Runtime.LexerInterpreter | ||
input | Antlr4.Runtime.ICharStream | |
return | Antlr4.Runtime.LexerInterpreter |
public CreateParserInterpreter ( Antlr4.Runtime.ITokenStream tokenStream ) : Antlr4.Runtime.ParserInterpreter | ||
tokenStream | Antlr4.Runtime.ITokenStream | |
return | Antlr4.Runtime.ParserInterpreter |
protected static DefAlias ( |
||
r | ||
pattern | string | |
wiz | Antlr | |
lexerRuleToStringLiteral | GrammarAST>.IList | |
return | bool |
public DefineAction ( |
||
atAST | ||
return | void |
public DefineChannelName ( string name ) : int | ||
name | string | |
return | int |
public DefineChannelName ( string name, int value ) : int | ||
name | string | |
value | int | |
return | int |
public DefineStringLiteral ( string lit ) : int | ||
lit | string | |
return | int |
public DefineStringLiteral ( string lit, int ttype ) : int | ||
lit | string | |
ttype | int | |
return | int |
public DefineTokenAlias ( string name, string lit ) : int | ||
name | string | |
lit | string | |
return | int |
public DefineTokenName ( string name, int ttype ) : int | ||
name | string | |
ttype | int | |
return | int |
public GetAllCharValues ( ) : Antlr4.Runtime.Misc.IIntSet | ||
return | Antlr4.Runtime.Misc.IIntSet |
protected GetBaseContextName ( string ruleName ) : string | ||
ruleName | string | |
return | string |
public GetChannelValue ( string channel ) : int | ||
channel | string | |
return | int |
public static GetGrammarTypeToFileNameSuffix ( int type ) : string | ||
type | int | |
return | string |
public GetImportedGrammar ( string name ) : |
||
name | string | |
return |
public GetIndexToPredicateMap ( ) : PredAST>.LinkedHashMap |
||
return | PredAST>.LinkedHashMap |
public GetLabeledAlternatives ( |
||
ast | ||
return | IDictionary |
public GetOptionString ( string key ) : string | ||
key | string | |
return | string |
public GetPredicateDisplayString ( SemanticContext pred ) : string | ||
pred | SemanticContext | |
return | string |
public GetRule ( string grammarName, string ruleName ) : |
||
grammarName | string | |
ruleName | string | |
return |
public GetSemanticContextDisplayString ( SemanticContext semctx ) : string | ||
semctx | SemanticContext | |
return | string |
public GetStateToGrammarRegion ( int atnStateNumber ) : Antlr4.Runtime.Misc.Interval | ||
atnStateNumber | int | |
return | Antlr4.Runtime.Misc.Interval |
public static GetStateToGrammarRegionMap ( |
||
ast | ||
grammarTokenTypes | Antlr4.Runtime.Misc.IntervalSet | |
return | Interval>.IDictionary |
public static GetStringLiteralAliasesFromLexerRules ( |
||
ast | ||
return | GrammarAST>>.IList |
public GetStringLiteralLexerRuleName ( string lit ) : string | ||
lit | string | |
return | string |
public GetTokenDisplayName ( int ttype ) : string | ||
ttype | int | |
return | string |
public GetTokenStream ( ) : Antlr.Runtime.Antlr4.Runtime.ITokenStream | ||
return | Antlr.Runtime.Antlr4.Runtime.ITokenStream |
public GetTokenTypes ( ) : Antlr4.Runtime.Misc.IIntSet | ||
return | Antlr4.Runtime.Misc.IIntSet |
public GetUnlabeledAlternatives ( |
||
ast | ||
return | IList |
public Grammar ( AntlrTool tool, [ ast ) : System.Collections.Generic | ||
tool | AntlrTool | |
ast | [ | |
return | System.Collections.Generic |
public Grammar ( string grammarText ) : System.Collections.Generic | ||
grammarText | string | |
return | System.Collections.Generic |
public Grammar ( string grammarText, ANTLRToolListener listener ) : System.Collections.Generic | ||
grammarText | string | |
listener | ANTLRToolListener | |
return | System.Collections.Generic |
public Grammar ( string grammarText, |
||
grammarText | string | |
tokenVocabSource | ||
return | System.Collections.Generic |
public Grammar ( string fileName, string grammarText ) : System.Collections.Generic | ||
fileName | string | |
grammarText | string | |
return | System.Collections.Generic |
public Grammar ( string fileName, string grammarText, |
||
fileName | string | |
grammarText | string | |
tokenVocabSource | ||
listener | [ | |
return | System.Collections.Generic |
public Grammar ( string fileName, string grammarText, [ listener ) : System.Collections.Generic | ||
fileName | string | |
grammarText | string | |
listener | [ | |
return | System.Collections.Generic |
public ImportVocab ( |
||
importG | ||
return | void |
public static IsTokenName ( string id ) : bool | ||
id | string | |
return | bool |
public JoinPredicateOperands ( SemanticContext op, string separator ) : string | ||
op | SemanticContext | |
separator | string | |
return | string |
public static Load ( string fileName ) : |
||
fileName | string | |
return |
public ResolveToAttribute ( string x, |
||
x | string | |
node | ||
return |
public ResolveToAttribute ( string x, string y, |
||
x | string | |
y | string | |
node | ||
return |
public ResolvesToAttributeDict ( string x, |
||
x | string | |
node | ||
return | bool |
public ResolvesToLabel ( string x, |
||
x | string | |
node | ||
return | bool |
public ResolvesToListLabel ( string x, |
||
x | string | |
node | ||
return | bool |
public ResolvesToToken ( string x, |
||
x | string | |
node | ||
return | bool |
public SetChannelNameForValue ( int channelValue, string name ) : void | ||
channelValue | int | |
name | string | |
return | void |
public SetLookaheadDFA ( int decision, |
||
decision | int | |
lookaheadDFA | ||
return | void |
public static SetNodeOptions ( |
||
node | ||
options | ||
return | void |
public SetTokenForType ( int ttype, string text ) : void | ||
ttype | int | |
text | string | |
return | void |
public static string AUTO_GENERATED_TOKEN_NAME_PREFIX | ||
return | string |
public static string GRAMMAR_FROM_STRING_NAME | ||
return | string |
public static string INVALID_TOKEN_NAME | ||
return | string |
public GrammarRootAST,Antlr4.Tool.Ast ast | ||
return |
public IDictionary |
||
return | int>.IDictionary |
public static ISet |
||
return | ISet |
public static IDictionary |
||
return | AttributeDict>.IDictionary |
public IDictionary |
||
return | Interval>.IDictionary |
public IDictionary |
||
return | int>.IDictionary |