public abstract class Expression extends AbstractNode
Analogous to LINQ's System.Linq.Expression.
nodeType, type| Constructor and Description |
|---|
Expression(ExpressionType nodeType,
Type type)
Creates an Expression.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Expression |
accept(Visitor visitor) |
boolean |
canReduce()
Indicates that the node can be reduced to a simpler node.
|
accept, equals, evaluate, getNodeType, getType, hashCode, toStringpublic Expression(ExpressionType nodeType, Type type)
The type of the expression may, at the caller's discretion, be a
regular class (because Class implements Type) or it may
be a different implementation that retains information about type
parameters.
nodeType - Node typetype - Type of the expressionpublic abstract Expression accept(Visitor visitor)
accept in interface Nodeaccept in class AbstractNodepublic boolean canReduce()
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.