Class LogicalExpression
Represents an abstract syntax tree (AST) node for logical expressions.
[JsonPolymorphic]
[JsonDerivedType(typeof(BinaryExpression), "binary")]
[JsonDerivedType(typeof(Function), "function")]
[JsonDerivedType(typeof(Identifier), "identifier")]
[JsonDerivedType(typeof(LogicalExpressionList), "list")]
[JsonDerivedType(typeof(TernaryExpression), "ternary")]
[JsonDerivedType(typeof(UnaryExpression), "unary")]
[JsonDerivedType(typeof(ValueExpression), "value")]
public abstract class LogicalExpression
- Inheritance
-
LogicalExpression
- Derived
- Inherited Members
Methods
Accept<T>(ILogicalExpressionVisitor<T>)
[Pure]
public abstract T Accept<T>(ILogicalExpressionVisitor<T> visitor)
Parameters
visitor
ILogicalExpressionVisitor<T>
Returns
- T
Type Parameters
T
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.