org.teatrove.tea.parsetree
Class BinaryLogicalExpression
java.lang.Object
org.teatrove.tea.parsetree.Node
org.teatrove.tea.parsetree.Expression
org.teatrove.tea.parsetree.BinaryExpression
org.teatrove.tea.parsetree.BinaryLogicalExpression
- All Implemented Interfaces:
- Serializable, Cloneable, Logical
- Direct Known Subclasses:
- AndExpression, OrExpression, RelationalExpression
public abstract class BinaryLogicalExpression
- extends BinaryExpression
- implements Logical
- Author:
- Brian S O'Neill
- See Also:
- Serialized Form
|
Method Summary |
void |
convertTo(Type type,
boolean preferCast)
Applies a type conversion to this expression which is chained to all
previous conversions. |
BinaryLogicalExpression
public BinaryLogicalExpression(SourceInfo info,
Token operator,
Expression left,
Expression right)
convertTo
public void convertTo(Type type,
boolean preferCast)
- Description copied from class:
Expression
- Applies a type conversion to this expression which is chained to all
previous conversions.
- Overrides:
convertTo in class Expression
- Parameters:
type - the type to convert to.preferCast - a hint that the conversion should be performed by a
type cast operation, by default is true.
Copyright © 1997-2012 TeaTrove.org. All Rights Reserved.