站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v6.0, Java 2 SDK 英文文档

LiteralTree (Compiler Tree API) - JDK 5 Documentation v6.0, Java 2 SDK 英文文档


Compiler Tree API

com.sun.source.tree
Interface LiteralTree

All Superinterfaces:
ExpressionTree, Tree

public interface LiteralTree
extends ExpressionTree

A tree node for a literal expression. Use getKind to determine the kind of literal. For example:

   value
 

Since:
1.6
See Also:
"The Java Language Specification, 3rd ed, section 15.28"

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.source.tree.Tree
Tree.Kind
 
Method Summary
 Object getValue()
           
 
Methods inherited from interface com.sun.source.tree.Tree
accept, getKind
 

Method Detail

getValue

Object getValue()

Compiler Tree API

Report a bug or request a feature.
Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.