Свойство | Type | Description | |
---|---|---|---|
CaseSensitive | bool | ||
Dedent | Terminal | ||
DefaultNodeType | |||
Delimiters | string | ||
Empty | Terminal | ||
Eof | Terminal | ||
Eos | Terminal | ||
FallbackTerminals | TerminalList | ||
Indent | Terminal | ||
LineTerminators | string | ||
NewLine | Terminal | ||
NonGrammarTerminals | TerminalList | ||
SyntaxError | Terminal | ||
TokenFilters | TokenFilterList | ||
WhitespaceChars | string |
Méthode | Description | |
---|---|---|
CreateNode ( Irony.Compiler.CompilerContext context, ActionRecord reduceAction, |
||
CreateSyntaxErrorToken ( Irony.Compiler.CompilerContext context, |
||
GetSyntaxErrorMessage ( Irony.Compiler.CompilerContext context, StringList expectedList ) : string | ||
MakePlusRule ( NonTerminal listNonTerminal, BnfTerm delimiter, BnfTerm listMember ) : BnfExpression | ||
MakeStarRule ( NonTerminal listNonTerminal, BnfTerm delimiter, BnfTerm listMember ) : BnfExpression | ||
OnActionConflict ( Irony.Compiler.Parser parser, Token input, ActionRecord action ) : ActionRecord | ||
OnActionSelected ( Irony.Compiler.Parser parser, Token input, ActionRecord action ) : void | ||
RegisterBracePair ( string openBrace, string closeBrace ) : void | ||
RegisterOperators ( int precedence ) : void | ||
RegisterOperators ( int precedence, Associativity associativity ) : void | ||
RegisterPunctuation ( ) : void | ||
TryMatch ( Irony.Compiler.CompilerContext context, ISourceStream source ) : Token |
Méthode | Description | |
---|---|---|
Symbol ( string symbol ) : SymbolTerminal | ||
Symbol ( string symbol, string name ) : SymbolTerminal | ||
ToElement ( BnfExpression expression ) : BnfTerm | ||
WithPlus ( BnfExpression expression ) : BnfTerm | ||
WithQ ( BnfExpression expression ) : BnfTerm | ||
WithStar ( BnfExpression expression ) : BnfTerm |
public CreateNode ( Irony.Compiler.CompilerContext context, ActionRecord reduceAction, |
||
context | Irony.Compiler.CompilerContext | |
reduceAction | ActionRecord | |
sourceSpan | ||
childNodes | AstNodeList | |
Résultat | AstNode |
public static CreateSyntaxErrorToken ( Irony.Compiler.CompilerContext context, |
||
context | Irony.Compiler.CompilerContext | |
location | ||
message | string | |
Résultat | Token |
public GetSyntaxErrorMessage ( Irony.Compiler.CompilerContext context, StringList expectedList ) : string | ||
context | Irony.Compiler.CompilerContext | |
expectedList | StringList | |
Résultat | string |
public MakePlusRule ( NonTerminal listNonTerminal, BnfTerm delimiter, BnfTerm listMember ) : BnfExpression | ||
listNonTerminal | NonTerminal | |
delimiter | BnfTerm | |
listMember | BnfTerm | |
Résultat | BnfExpression |
public MakeStarRule ( NonTerminal listNonTerminal, BnfTerm delimiter, BnfTerm listMember ) : BnfExpression | ||
listNonTerminal | NonTerminal | |
delimiter | BnfTerm | |
listMember | BnfTerm | |
Résultat | BnfExpression |
public OnActionConflict ( Irony.Compiler.Parser parser, Token input, ActionRecord action ) : ActionRecord | ||
parser | Irony.Compiler.Parser | |
input | Token | |
action | ActionRecord | |
Résultat | ActionRecord |
public OnActionSelected ( Irony.Compiler.Parser parser, Token input, ActionRecord action ) : void | ||
parser | Irony.Compiler.Parser | |
input | Token | |
action | ActionRecord | |
Résultat | void |
public RegisterBracePair ( string openBrace, string closeBrace ) : void | ||
openBrace | string | |
closeBrace | string | |
Résultat | void |
public RegisterOperators ( int precedence ) : void | ||
precedence | int | |
Résultat | void |
public RegisterOperators ( int precedence, Associativity associativity ) : void | ||
precedence | int | |
associativity | Associativity | |
Résultat | void |
protected static Symbol ( string symbol ) : SymbolTerminal | ||
symbol | string | |
Résultat | SymbolTerminal |
protected static Symbol ( string symbol, string name ) : SymbolTerminal | ||
symbol | string | |
name | string | |
Résultat | SymbolTerminal |
protected static ToElement ( BnfExpression expression ) : BnfTerm | ||
expression | BnfExpression | |
Résultat | BnfTerm |
public TryMatch ( Irony.Compiler.CompilerContext context, ISourceStream source ) : Token | ||
context | Irony.Compiler.CompilerContext | |
source | ISourceStream | |
Résultat | Token |
protected static WithPlus ( BnfExpression expression ) : BnfTerm | ||
expression | BnfExpression | |
Résultat | BnfTerm |
protected static WithQ ( BnfExpression expression ) : BnfTerm | ||
expression | BnfExpression | |
Résultat | BnfTerm |
protected static WithStar ( BnfExpression expression ) : BnfTerm | ||
expression | BnfExpression | |
Résultat | BnfTerm |
public TerminalList NonGrammarTerminals | ||
Résultat | TerminalList |