BadScript 2
Loading...
Searching...
No Matches
BadBinaryOperator.cs
Go to the documentation of this file.
2
7
11public abstract class BadBinaryOperator : BadOperator
12{
19 protected BadBinaryOperator(int precedence, string symbol, bool isLeftAssociative = true) : base(
20 precedence,
21 symbol,
22 isLeftAssociative
23 ) { }
24
31 public abstract BadExpression Parse(BadExpression left, BadSourceParser parser);
32}
The Parser of the Language. It turns Source Code into an Expression Tree.
Base Implementation for all Expressions used inside the Script.
Base class for all binary operators.
BadBinaryOperator(int precedence, string symbol, bool isLeftAssociative=true)
Constructor for a binary operator.
BadExpression Parse(BadExpression left, BadSourceParser parser)
Parses the operator.
Base Class of All Operators.
Definition BadOperator.cs:7
Contains the Expressions for the BadScript2 Language.
Contains the Operators for the BadScript2 Language.