BadScript 2
Loading...
Searching...
No Matches
BadPostDecrementOperator.cs
Go to the documentation of this file.
3
8
13{
17 public BadPostDecrementOperator() : base(2, "--") { }
18
19
21 public override BadExpression Parse(BadExpression left, BadSourceParser parser)
22 {
23 return new BadPostDecrementExpression(left, left.Position);
24 }
25}
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 Decrement Expression.
Base class for all binary operators.
Implements the Post Decrement Operator.
BadPostDecrementOperator()
Constructor of the Operator.
override BadExpression Parse(BadExpression left, BadSourceParser parser)
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.