polyglot.ast
Interface CharLit

All Superinterfaces:
java.lang.Cloneable, Copy, Expr, JL, Lit, Node, NodeOps, NumLit, Prefix, Receiver, Term, Typed
All Known Implementing Classes:
CharLit_c

public interface CharLit
extends NumLit

An CharLit represents a literal in java of char type.


Method Summary
 char value()
          The literal's value.
 CharLit value(char value)
          Set the literal's value.
 
Methods inherited from interface polyglot.ast.NumLit
longValue
 
Methods inherited from interface polyglot.ast.Expr
constantValue, isConstant, precedence, printSubExpr, printSubExpr, type
 
Methods inherited from interface polyglot.ast.Node
childExpectedType, del, del, dump, ext, ext, ext, ext, position, position, visit, visitChild, visitEdge, visitList
 
Methods inherited from interface polyglot.ast.JL
init, node
 
Methods inherited from interface polyglot.ast.NodeOps
addDecls, addMembers, addMembersEnter, buildTypes, buildTypesEnter, disambiguate, disambiguateEnter, enterScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, visitChildren
 
Methods inherited from interface polyglot.util.Copy
copy
 
Methods inherited from interface polyglot.ast.Typed
type
 
Methods inherited from interface polyglot.ast.Term
acceptCFG, entry, exceptions, exceptions, reachable, reachable
 

Method Detail

value

char value()
The literal's value.


value

CharLit value(char value)
Set the literal's value.