All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----epp.Tree | +----epp.LiteralTree
LiteralTree
class is a node of an abstract syntax tree that
describes a literal.
(The LiteralToken
is a token that describes a literal.)
new LiteralTree(new LiteralToken(tag, contents))
LiteralToken
the node has.
String
without indentation.
public LiteralTree(LiteralToken literalToken)LiteralTree
public LiteralTree(Symbol tag, String contents)
new LiteralTree(new LiteralToken(tag, contents))
public LiteralToken literalToken()
LiteralToken
the node has.
For example, if you call this method for a LiteralTree
such as `(literalTree string "abc")
, the resulting value
is the same as new LiteralToken(:string, "abc")
.
public void print(PrintWriter out, String indent)
public String toString()
String
without indentation.
All Packages Class Hierarchy This Package Previous Next Index