'Declaration Public Enum EbnfLoadErrorReason Inherits System.Enum
public enum EbnfLoadErrorReason : System.Enum
Member | Description |
---|---|
AttributeBlockWithinRule | An attribute block has been defined in the middle of a rule. |
ContradictorySyntacticException | A syntactic exception appears to prevent all variations of the original content. |
DefaultLexerStateCannotHaveExitSymbols | A symbol is marked as an exit symbol in the default lexer state, which is not allowed to have exit symbols. |
DuplicateLexerStateName | A LexerState name is already in use by another LexerState. |
DuplicateSymbolName | A symbol name is already in use by another symbol. |
EmptyGrammarDefinition | The grammar definition is empty. |
EndOfStreamSymbolReferenced | The Grammar.EndOfStreamSymbol was referenced by a rule that is not the start symbol or the start symbol is not a well-formed start symbol with a single non-terminal symbol followed by the end of stream symbol. |
GrammarPropertiesNotAtTop | The grammar properties are not at the top of the EBNF file. |
GroupingSymbolMismatch | An grouping symbol, such as an open parenthesis or closing parenthesis was encountered without a corresponding opening/closing symbol. |
InsignificantSymbolReferenced | A non-terminal symbol contains a reference to an insignificant terminal symbol, which can never be included in the non-terminal symbol because the syntax analyzer ignores them. |
InvalidPropertyValue | The specified value is not valid for the property to which it is being assigned. |
InvalidRegularExpression | An invalid regular expression pattern was specified. |
InvalidSymbolName | A symbol has an invalid name. The name must be an underscore or letter followed by zero or more letters, numbers, or underscores. |
InvalidSyntacticException | A syntactic exception has an invalid exception portion. The exception portion of a syntactic exception rule cannot use recursively defined non-terminal symbols directly or indirectly. |
InvalidXml | A special sequence contains invalid XML content. |
LexerStateCannotHaveSpecialSymbols | The Grammar.EndOfStreamSymbol or Grammar.UnrecognizedSymbol has been added to a lexer state. Those symbols are implicitly included in all lexer states and cannot be added to them directly. |
MissingAssignmentSymbol | The statement does not contain equals sign following the declaration. All statements must contain one and only one assignment symbol following the declaration. |
MissingDeclaration | The left-hand side of the statement cannot be parsed into a valid identifier. All statements must begin with a valid identifier which is not enclosed in quotes. |
MissingEndOfStatement | The statement does not contain a semicolon. |
MissingNameProperty | A declaration is missing a value for the 'Name' property. |
MissingOperator | An operator is expected at the specified location. This is usually caused by the occurrence of two adjacent operands. |
MissingValue | An XML tag has no value specified. |
MissingValueProperty | A TerminalSymbol declaration is missing the TerminalSymbol.Value property. |
MultipleLexerStates | There are multiple entered LexerStates defined for a symbol. |
OpenLiteralString | An opening quote symbol was encountered without a closing one. |
StartSymbolIsReferenced | A symbol is referenced which is a well formed start symbol for the grammar. The start symbol can only be referenced if it is not defined as having a single production of a non-terminal followed by the end of stream symbol. |
UnbalancedXmlTag | An opening XML tag was encountered without a corresponding closing one, or a closing XML tag was encountered without a corresponding opening one. |
UndeclaredReference | A reference to an identifier that was never declared was encountered. |
UnexpectedAssignmentSymbol | The grammar contains an equals sign in an area where it is not expected. |
UnexpectedIdentifier | The grammar contains an identifier in an area where it is not expected. |
UnexpectedOperator | The grammar contains an operator in an area where it is not expected. |
UnrecognizedContent | A statement contains content which is not recognizable. |
UnrecognizedSymbolReferenced | The Grammar.UnrecognizedSymbol has been added to a rule for a non-terminal symbol. The unrecognized symbol cannot be used in the syntax tree. |
UnrecognizedXmlAttribute | An XML attribute was encountered, but its name was not recognized. |
UnrecognizedXmlTag | A well-formed XML tag was encountered, but its name was not recognized. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2