BadScript 2
Loading...
Searching...
No Matches
BadPostIncrementOperator.cs
Go to the documentation of this file.
3
5
10{
14 public BadPostIncrementOperator() : base(2, "++") { }
15
16
18 public override BadExpression Parse(BadExpression left, BadSourceParser parser)
19 {
20 return new BadPostIncrementExpression(left, left.Position);
21 }
22}
The Parser of the Language. It turns Source Code into an Expression Tree.
Base Implementation for all Expressions used inside the Script.
BadSourcePosition Position
The source Position of the Expression.
Implements the Post Increment Expression.
Base class for all binary operators.
Implements the Post Increment Operator.
override BadExpression Parse(BadExpression left, BadSourceParser parser)
BadPostIncrementOperator()
Constructor of the Operator.
Contains the Atomic Math Expressions for the BadScript2 Language.
Contains the Expressions for the BadScript2 Language.
Contains the Atomic Math Operators for the BadScript2 Language.