13 private readonly List<BadExpressionPath>
m_ChildPaths =
new List<BadExpressionPath>();
53 yield
return invalidPath;
Base Implementation for all Expressions used inside the Script.
Implements a path in a BadExpression Syntax Tree.
readonly BadExpression Parent
The Parent of this Path.
void SetHasReturnStatement()
Sets this Path to have a Return Statement.
void AddChildPath(BadExpressionPath path)
Adds a Child Path to this Path.
IEnumerable< BadExpressionPath > GetInvalidPaths()
Returns all invalid paths in this Path.
bool IsValid
Indicates whether this Path is valid(e.g. all paths have a return statement)
readonly List< BadExpressionPath > m_ChildPaths
The Child Paths of this Path.
BadExpressionPath(BadExpression parent)
Creates a new Path for the given Parent.
bool m_HasReturnStatement
Indicates whether this Path has a Return Statement.
Contains the Expressions for the BadScript2 Language.
Contains the Expression Validators for the BadScript2 Language.