jltools.ast
Interface Cast

All Superinterfaces:
java.lang.Cloneable, Copy, Expr, Node, Prefix, Receiver, java.io.Serializable, Typed
All Known Implementing Classes:
Cast_c

public interface Cast
extends Expr

A Cast is an immutable representation of a casting operation. It consists of an Expr being cast and a TypeNode being cast to.


Method Summary
 TypeNode castType()
           
 Cast castType(TypeNode castType)
           
 Expr expr()
           
 Cast expr(Expr expr)
           
 
Methods inherited from interface jltools.ast.Expr
precedence, type
 
Methods inherited from interface jltools.ast.Node
buildTypes_, buildTypesOverride_, copy, disambiguate_, disambiguateOverride_, disambiguateTypes_, disambiguateTypesOverride_, dump, enterScope, exceptionCheck_, exceptionCheckOverride_, ext, ext, foldConstants_, foldConstantsOverride_, leaveScope, position, position, reconstructTypes_, translate_, typeCheck_, typeCheckOverride_, visit, visitChildren
 
Methods inherited from interface jltools.ast.Typed
type
 

Method Detail

castType

public TypeNode castType()

castType

public Cast castType(TypeNode castType)

expr

public Expr expr()

expr

public Cast expr(Expr expr)