public class ExpressionSymbol extends Symbol implements DerivedExpression
LanguageObject.UtiloutputName, SEPARATOR| Constructor and Description |
|---|
ExpressionSymbol(String name,
Expression expression)
Construct an ExpressionSymbol with name and expression.
|
| Modifier and Type | Method and Description |
|---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.
|
Object |
clone()
Return a deep copy of this object
|
boolean |
equals(Object obj)
ExpressionSymbol matching is not based upon the name
|
Expression |
getExpression()
Get the expression for this symbol
|
Class |
getType()
Get the type of the symbol
|
int |
hashCode()
Return a hash code for this symbol.
|
void |
setExpression(Expression expression)
Set the expression represented by this symbol.
|
getName, getName, getOutputName, getOutputName, getShortName, getShortName, getShortName, setName, setOutputName, setShortName, toStringpublic ExpressionSymbol(String name, Expression expression)
public Expression getExpression()
public void setExpression(Expression expression)
expression - Expression for this expression symbolpublic Class getType()
getType in interface Expressionpublic void acceptVisitor(LanguageVisitor visitor)
LanguageObjectacceptVisitor in interface LanguageObjectvisitor - Visitor being usedpublic Object clone()
clone in interface LanguageObjectclone in class Symbolpublic int hashCode()
SymbolhashCode in class SymbolSymbol.hashCode()public boolean equals(Object obj)
equals in class Symbolobj - Other objectSymbol.equals(java.lang.Object)Copyright © 2018 JBoss by Red Hat. All rights reserved.