IGrammarRule
Extensions
IsRedundant
Is this grammar rule redundant, i.e. it only refers to another grammar rule or a terminal token?
Parse
3 overloads
Parses the given input data with this rule.
Parses the given input data with this rule.
Parses the given input data with this rule.
ParseAst
3 overloads
Parses the given input data with this rule and returns the resulting abstract syntax tree.
- ValidatingException
-
If one or more parsing errors have occurred (see ValidateMessageType.Error).
Parses the given input data with this rule and returns the resulting abstract syntax tree.
- ValidatingException
-
If one or more parsing errors have occurred (see ValidateMessageType.Error).
Parses the given input data with this rule and returns the resulting abstract syntax tree.
- ValidatingException
-
If one or more parsing errors have occurred (see ValidateMessageType.Error).
ParsePsi
3 overloads
Parses the given input data with this rule and returns the resulting PSI model.
- ValidatingException
-
If one or more parsing errors have occurred (see ValidateMessageType.Error).
Parses the given input data with this rule and returns the resulting PSI model.
If the returned object is an instance of IPsiNode, this method will have called the IPsiNode.Resolve method once.
- ValidatingException
-
If one or more parsing errors have occurred (see ValidateMessageType.Error).
Parses the given input data with this rule and returns the resulting PSI model.
If the returned object is an instance of IPsiNode, this method will have called the IPsiNode.Resolve method once.
- ValidatingException
-
If one or more parsing errors have occurred (see ValidateMessageType.Error).