org.teatrove.tea.parsetree
Class TypeExpression
java.lang.Object
org.teatrove.tea.parsetree.Node
org.teatrove.tea.parsetree.Expression
org.teatrove.tea.parsetree.TypeExpression
- All Implemented Interfaces:
- Serializable, Cloneable
public class TypeExpression
- extends Expression
- See Also:
- Serialized Form
| Methods inherited from class org.teatrove.tea.parsetree.Expression |
convertTo, convertTo, forceConversion, getConversionChain, getInitialType, getType, getValue, isExceptionPossible, isValueKnown, setInitialType, setType |
TypeExpression
public TypeExpression(SourceInfo info,
TypeName typeName)
getTypeName
public TypeName getTypeName()
setTypeName
public void setTypeName(TypeName typeName)
accept
public Object accept(NodeVisitor visitor)
- Description copied from class:
Node
- Every subclass of Node must override this method with the following:
return visitor.visit(this).
- Overrides:
accept in class Expression
- Parameters:
visitor - A visitor of this Node
- Returns:
- Node The Node returned by the visitor
- See Also:
NodeVisitor
clone
public Object clone()
- Description copied from class:
Node
- Returns a clone of this Node and all its children. Immutable child
objects are not necessarily cloned
- Overrides:
clone in class Expression
Copyright © 1997-2012 TeaTrove.org. All Rights Reserved.