ParsingUtil

Description

static class Tinman.Core.Parsing.ParsingUtil

Helper class for this namespace.

Public / Methods

ErrorNoSuchRule


public static method ErrorNoSuchRule → (2)

source in : string

The error source tag.

ruleName in : string

The rule name.

returns → ValidatingException

The ready-to-throw exception.

Creates a ValidatingException for a missing grammar rule.

ErrorRuleAlreadyExists


public static method ErrorRuleAlreadyExists → (2)

source in : string

The error source tag.

ruleName in : string

The rule name.

returns → ValidatingException

The ready-to-throw exception.

Creates a ValidatingException for a duplicate grammar rule.

Resolve

2 overloads


public static method Resolve1 → (1)

node in : IPsiNode

The PSI node or null.

returns → ResolveResult

The result.

Calls IPsiNode.Resolve on the given node.


public static method Resolve2 → (3)

nodeA in : IPsiNode

The PSI node or null.

nodeB in : IPsiNode

The PSI node or null.

nodeC opt : IPsiNode = null

The PSI node or null.

returns → ResolveResult

The result.

Calls IPsiNode.Resolve on the given nodes.