SemanticError Description static class Tinman.Core.Parsing.SemanticError Helper class for creating ValidateMessage objects that represent semantic errors. See also SyntaxError Public / Constructors Custom public static method Custom → (2) message in : string [not-null] The error message text. runtime opt : bool = false Is this a runtime error? returns → ValidateMessage The error object. A semantic error has occurred. InvalidAstStructure public static method InvalidAstStructure → (2) node in : AstNode The AST node that is invalid. message opt : string = null Optional error message. returns → ValidateMessage The error object. The structure of the abstract syntax tree is invalid, the PSI model cannot be created. MismatchedAstType public static method MismatchedAstType → (2) node in : AstNode The AST node that is invalid. expected opt : string = null Optional list of expected AST node types, separated with '|'. returns → ValidateMessage The error object. The type of an abstract syntax tree node does not match any of the expected types. MissingPsiMethod public static method MissingPsiMethod → (1) node in : AstNode The AST node that is invalid. returns → ValidateMessage The error object. The AST type does not have an attached PSI factory method, the PSI model cannot be created. RuleToSourceFlags SourceCodeWriter