BadScript 2
Loading...
Searching...
No Matches
BadUnaryPrefixOperator.cs
Go to the documentation of this file.
2
4
8public abstract class BadUnaryPrefixOperator : BadOperator
9{
16 protected BadUnaryPrefixOperator(int precedence, string symbol, bool isLeftAssociative = true) : base(
17 precedence,
18 symbol,
19 isLeftAssociative
20 ) { }
21
27 public abstract BadExpression Parse(BadSourceParser parser);
28}
The Parser of the Language. It turns Source Code into an Expression Tree.
Base Implementation for all Expressions used inside the Script.
Base Class of All Operators.
Definition BadOperator.cs:7
Base class for all Unary Prefix Operators.
BadUnaryPrefixOperator(int precedence, string symbol, bool isLeftAssociative=true)
Constructor for the Unary Prefix Operator.
BadExpression Parse(BadSourceParser parser)
Parses the Operator and returns the resulting Expression.
Contains the Expressions for the BadScript2 Language.
Contains the Operators for the BadScript2 Language.