62 StringBuilder sb =
new StringBuilder();
63 sb.Append($
"\t{Type}: {Message} in ");
67 sb.AppendLine($
"'{func.GetHeader()}':{Expression.Position.GetPositionInfo()}");
71 sb.AppendLine($
"{Expression.Position.GetPositionInfo()}");
Base Implementation for all Expressions used inside the Script.
Implements the Function Expression.
Base class for all expression validators.
Contains the Function Expressions for the BadScript2 Language.
Contains the Expressions for the BadScript2 Language.
Contains the Comparison Operators for the BadScript2 Language.
BadExpressionValidatorMessageType
Defines the type of a BadExpressionValidatorMessage.
Models a message from a BadExpressionValidator.
readonly string Message
Message Text.
readonly BadExpressionValidator Validator
The validator that generated the message.
readonly BadExpression ParentExpression
The parent expression of the expression that caused the message.
BadExpressionValidatorMessage(string message, BadExpression expression, BadExpressionValidator validator, BadExpressionValidatorMessageType type, BadExpression parentExpression)
Creates a new message.
readonly BadExpression Expression
The expression that caused the message.
override string ToString()
readonly BadExpressionValidatorMessageType Type
The type of the message.