ParsingErrorType

Description

enum Tinman.Core.Parsing.ParsingErrorType

Enumeration of parser error types.

Public / Constants

Syntax

public constant Syntax → (0:int32)

A syntax error that has occurred while parsing input code because of mismatched grammar rules.

All ParseResult objects of this type can safely be cast to SyntaxError.

Semantic

public constant Semantic → (1:int32)

A semantic error that has occurred while building a PSI model from an AST resp. while performing static validation of a PSI model.

All ParseResult objects of this type can safely be cast to SemanticError.

Runtime

public constant Runtime → (2:int32)

A semantic error that might occur during runtime, although the PSI model is valid.

All ParseResult objects of this type can safely be cast to SemanticError.