Irony
A hint to use precedence.
Not used directly in grammars; injected automatically by system in states having conflicts on operator symbols.
The purpose of the hint is make handling precedence similar to other conflict resolution methods - through hints
activated during parser construction. The hint code analyzes the conflict and resolves it by adding custom or general action
for a conflicting input.
Base class for more specific reduce actions.
Factory method for creating a proper type of reduce parser action.
A Production to reduce.
Reduce action.
Reduces non-terminal marked as Transient by MarkTransient method.
Reduces list created by MakePlusRule or MakeListRule methods.
Interface for Terminals to access the source stream and produce tokens.
Returns the source text
Gets or sets the start location (position, row, column) of the new token
Gets or sets the current position in the source file. When reading the value, returns Location.Position value.
When a new value is assigned, the Location is modified accordingly.
Gets or sets the current preview position in the source file. Must be greater or equal to Location.Position
Gets a char at preview position
Gets the char at position next after the PrevewPosition
Creates a new token based on current preview position.
A terminal associated with the token.
New token.
Creates a new token based on current preview position and sets its Value field.
A terminal associated with the token.
The value associated with the token.
New token.
Tries to match the symbol with the text at current preview position.
A symbol to match
True if there is a match; otherwise, false.
Returns true if the node is punctuation or it is transient with empty child list.
True if parser can safely ignore this node.
Source line number, 0-based.
Source column number, 0-based.
Gives a chance to a custom code in hint to interfere in parser automaton construction.
The LanguageData instance.
The LRItem that "owns" the hint.
The most common purpose of this method (it's overrides) is to resolve the conflicts
by adding specific actions into State.Actions dictionary.
The owner parameter represents the position in the grammar expression where the hint
is found. The parser state is available through owner.State property.
Gets case sensitivity of the grammar. Read-only, true by default.
Can be set to false only through a parameter to grammar constructor.
The main root entry for the grammar.
Alternative roots for parsing code snippets.
Override this method to help scanner select a terminal to create token when there are more than one candidates
for an input char. context.CurrentTerminals contains candidate terminals; leave a single terminal in this list
as the one to use.
Skips whitespace characters in the input stream.
Override this method if your language has non-standard whitespace characters.
Source stream.
Returns true if a character is whitespace or delimiter. Used in quick-scanning versions of some terminals.
The character to check.
True if a character is whitespace or delimiter; otherwise, false.
Does not have to be completely accurate, should recognize most common characters that are special chars by themselves
and may never be part of other multi-character tokens.
Creates a terminal reporting group, so all terminals in the group will be reported as a single "alias" in syntex error messages like
"Syntax error, expected: [list of terms]"
An alias for all terminals in the group.
Symbols to be included into the group.
Creates a terminal reporting group, so all terminals in the group will be reported as a single "alias" in syntex error messages like
"Syntax error, expected: [list of terms]"
An alias for all terminals in the group.
Terminals to be included into the group.
Adds symbols to a group with no-report type, so symbols will not be shown in expected lists in syntax error messages.
Symbols to exclude.
Adds symbols to a group with no-report type, so symbols will not be shown in expected lists in syntax error messages.
Symbols to exclude.
Adds a group and an alias for all operator symbols used in the grammar.
An alias for operator symbols.
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to Nn.
Looks up a localized string similar to Yy.
Looks up a localized string similar to Ambiguous grammar, unresolvable reduce-reduce conflicts. State {0}, lookaheads [{1}].
Looks up a localized string similar to Ambiguous grammar, unresolvable shift-reduce conflicts. State {0}, lookaheads [{1}].
Looks up a localized string similar to Argument list not found in the stack. Expected: ValueList, found: {0}..
Looks up a localized string similar to Invalid operation, attempt to assign to a constant or literal value..
Looks up a localized string similar to Invalid length of char literal - should be a single character..
Looks up a localized string similar to Mal-formed string literal - cannot find termination symbol..
Looks up a localized string similar to Invalid unicode escape ({0}), expected {1} hex digits..
Looks up a localized string similar to Invalid \x escape, at least one digit expected..
Looks up a localized string similar to Cannot convert value from type {0} to type {1}, type converter not defined..
Looks up a localized string similar to Cannot convert literal {0} to type {1}..
Looks up a localized string similar to Fatal error in parser: attempt to move back in the source..
Looks up a localized string similar to {0} State {1} on inputs: {2}.
Looks up a localized string similar to Fatal error:.
Looks up a localized string similar to Construct '{0}' is not supported (yet) by language implementation..
Looks up a localized string similar to Could not find a closing quote for quoted value..
Looks up a localized string similar to Duplicate switch '{0}' for regular expression..
Looks up a localized string similar to Duplicate start symbol {0} in string literal [{1}]..
Looks up a localized string similar to Failed to create AST node for non-terminal [{0}], error: {1}.
Looks up a localized string similar to Failed to find the ending tag '{0}' for a text literal. .
Looks up a localized string similar to ImpliedSymbolTerminal cannot be used in grammar with DisableScannerParserLink flag set.
Looks up a localized string similar to Interpreter error, DataStack.Pop() operation failed - stack is empty..
Looks up a localized string similar to Interpreter is busy..
Looks up a localized string similar to Invalid arguments for IncDecNode AST node: either first or second argument should be '--' or '++'..
Looks up a localized string similar to Invalid AstMode value in call to Evaluate method. Node: {0}, mode: {1}..
Looks up a localized string similar to Invalid character: '{0}'..
Looks up a localized string similar to Invalid embedded expression. .
Looks up a localized string similar to Invalid dedent level, no previous matching indent found..
Looks up a localized string similar to Invalid escape sequence: \{0}..
Looks up a localized string similar to Invalid escape sequence..
Looks up a localized string similar to Invalid escape symbol, expected 'u' or 'U' only..
Looks up a localized string similar to Invalid number..
Looks up a localized string similar to Invalid switch '{0}' for regular expression.
Looks up a localized string similar to Error in string literal [{0}]: No start/end symbols specified..
Looks up a localized string similar to The last term of production containing SyntaxError must be a terminal. NonTerminal: {0}.
Looks up a localized string similar to List non-terminals cannot be marked transient; list: ({0}).
Looks up a localized string similar to Expected new line symbol..
Looks up a localized string similar to No closing pair for opening symbol {0}.
Looks up a localized string similar to AstNodeType or AstNodeCreator is not set on non-terminals: {0}. Either set Term.AstConfig.NodeType, or provide default values in AstContext..
Looks up a localized string similar to No end symbol for regex literal..
Looks up a localized string similar to No ending tag '{0}' found in embedded expression..
Looks up a localized string similar to UnExprNode: no implementation for unary operator '{0}'..
Looks up a localized string similar to Number cannot be followed by a letter..
Looks up a localized string similar to ParserDataBuilder error: inadequate state {0}, reduce item '{1}' has no lookaheads..
Looks up a localized string similar to Non-terminal {0} has uninitialized Rule property..
Looks up a localized string similar to Attempt to evaluate NULL AST node. The AST node for term '{0}' was not created during parsing..
Looks up a localized string similar to Operator '{0}' is not defined for types {1}..
Looks up a localized string similar to Operator '{0}' is not defined for types {1} and {2}..
Looks up a localized string similar to Operator '{0} not imlemented..
Looks up a localized string similar to {0}: {1}.
Looks up a localized string similar to CodeOutlineFilter: line continuation symbol '{0}' should be added to Grammar.NonGrammarTerminals list..
Looks up a localized string similar to Syntax error, unexpected input..
Looks up a localized string similar to Parsed tree is null, cannot evaluate..
Looks up a localized string similar to Parse tree root is null, cannot evaluate..
Looks up a localized string similar to Root AST node is null, cannot evaluate..
Looks up a localized string similar to Root AST node does not implement IInterpretedAstNode interface, cannot evaluate..
Looks up a localized string similar to ({0}) term passed as 'root' paramater to parserr is not Root or snippet root of the grammar. Add it to SnippetRoots set in grammar constructor..
Looks up a localized string similar to Root property of the grammar is not set..
Looks up a localized string similar to Reduce-reduce conflict. State {0}, lookaheads: {1}. Selected reduce on first production in conflict set..
Looks up a localized string similar to Rule for NonTerminal {0} contains null as an operand in position {1} in one of productions..
Looks up a localized string similar to Shift-reduce conflict. State {0}, lookaheads [{1}]. Selected shift as preferred action..
Looks up a localized string similar to Syntax error, expected: {0}.
Looks up a localized string similar to Syntax error..
Looks up a localized string similar to Expression root non-terminal in template settings (AstNodeConfig property) in templated string literal [{0}] is not added to Roots set. Add it to SnippetRoots in grammar constructor..
Looks up a localized string similar to Expression root is not specified in template settings (AstNodeConfig property) in templated string literal [{0}]. .
Looks up a localized string similar to Error in string literal [{0}]: IsTemplate flag is set, but TemplateSettings is not provided in AstNodeConfig property..
Looks up a localized string similar to A terminal {0} has empty prefix..
Looks up a localized string similar to Transient non-terminal must have zero or one non-punctuation child nodes; non-terminals: {0}..
Looks up a localized string similar to Unclosed comment block.
Looks up a localized string similar to Unexpected end of file..
Looks up a localized string similar to Unexpected indentation..
Looks up a localized string similar to Unmatched closing brace '{0}'..
Looks up a localized string similar to Variable {0} is not a callable function..
Looks up a localized string similar to Variable {0} not defined..
Looks up a localized string similar to Invalid number of arguments. Expected {0}, found {1}..
Looks up a localized string similar to ({0}:{1}).
Looks up a localized string similar to Accept.
Looks up a localized string similar to Operator, shift to {0}/reduce on {1}..
Looks up a localized string similar to Reduce on {0}.
Looks up a localized string similar to Shift to {0}.
Looks up a localized string similar to (Unknown action type).
Looks up a localized string similar to (EOF).
Looks up a localized string similar to [end-of-statement].
Looks up a localized string similar to (INITIAL STATE).
Looks up a localized string similar to (Key symbol).
Looks up a localized string similar to (Keyword).
Looks up a localized string similar to [line break].
Looks up a localized string similar to Location:.
Looks up a localized string similar to None.
Looks up a localized string similar to ....
Looks up a localized string similar to (unnamed).
Looks up a localized string similar to Abort script(y/n)?.
Looks up a localized string similar to {0} Console.\r\nPress Ctrl-C to exit the program.\r\n.
Looks up a localized string similar to Console.
Looks up a localized string similar to Custom action did not execute: parser state or input did not change..
Looks up a localized string similar to Exit console (y/n)?.
Looks up a localized string similar to NLALR transform: Add WrapTail() in '.' position to [{0}]..
Looks up a localized string similar to Press any key to end the program..
Looks up a localized string similar to "[{0}], at {1}.
Looks up a localized string similar to Parsing conflict resolved in code..
Looks up a localized string similar to Executing custom action.
Looks up a localized string similar to Operator - resolved to {0}.
Looks up a localized string similar to Popped state from stack, pushing {0}.
Looks up a localized string similar to RECOVERING: {0}.
Looks up a localized string similar to FAILED TO RECOVER.
Looks up a localized string similar to RECOVERING: Found state with shift on error : {0}.
Looks up a localized string similar to RECOVERING: popping stack, looking for state with error shift.
Looks up a localized string similar to RECOVERING: Reached end of error production, reducing..
Looks up a localized string similar to RECOVERING: Shifting Error term, {0}.
Looks up a localized string similar to RECOVERING: shifting until the end of error production..
Looks up a localized string similar to RECOVERED.