public SemanticError(SyntaxTreeNode node, string message) : this(ErrorConstants.SEMANTIC_ERROR_TITLE, message, node) { }
public SemanticError(string title, string message, SyntaxTreeNode node = null, Token token = null) : base(title, message, node, token) { }
public NullPointerError(SyntaxTreeNode node) : base(ErrorConstants.NULL_POINTER_ERROR_MESSAGE, node) { }
public SemanticError(SyntaxTreeNode node) : this(ErrorConstants.SEMANTIC_ERROR_TITLE, ErrorConstants.SEMANTIC_ERROR_MESSAGE, node) { }
public DeclarationError(SyntaxTreeNode node) : base(ErrorConstants.DECLARATION_ERROR_MESSAGE, node) { }
public NotAValidFunctionError(SyntaxTreeNode node) : base(ErrorConstants.SEMANTIC_ERROR_TITLE, ErrorConstants.NOT_A_VALID_FUNCTION_ERROR_MSG, node) { }
public void updateLocationUsage(Scope scope, string location, TokenType type, SyntaxTreeNode node) { tempies [scope].UpdateLocationUsage(location, type, node); }
public IllegalTypeError(SyntaxTreeNode node) : base(ErrorConstants.ILLEGAL_TYPE_ERROR_MESSAGE, node) { }
public InvalidArgumentCountError(SyntaxTreeNode node) : base(ErrorConstants.SEMANTIC_ERROR_TITLE, ErrorConstants.INVALID_ARG_COUNT_ERROR_MSG, node) { }
public void ReturnTempVarId(Scope scope, string tempVarId, TokenType varType, SyntaxTreeNode node) { tempies [scope].ReturnTempId(varType, tempVarId, node); }
public IllegalArrayAccessError(SyntaxTreeNode node) : base(ErrorConstants.SEMANTIC_ERROR_TITLE, ErrorConstants.ILLEGAL_ARRAY_ACCESS_ERROR_MSG, node) { }
public IllegalArrayElementTypeError(SyntaxTreeNode node) : base(node, ErrorConstants.ILLEGAL_ARRAY_ELEMENT_TYPE_ERROR_MSG) { }
public UninitializedVariableError(SyntaxTreeNode node) : base(ErrorConstants.UNINITIALIZED_VARIABLE_ERROR_MESSAGE, node) { }
public IllegalAssignmentError(SyntaxTreeNode node) : base(ErrorConstants.ILLEGAL_ASSIGNMENT_ERROR_MESSAGE, node) { }
public UndeclaredVariableError(SyntaxTreeNode node) : base(ErrorConstants.SEMANTIC_ERROR_TITLE, ErrorConstants.UNDECLARED_VARIABLE_ERROR_MSG, node) { }