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

com.sun.source.util (Compiler Tree API) - JDK 5 Documentation v6.0, Java 2 SDK 英文文档


Compiler Tree API

Package com.sun.source.util

Provides utilities for operations on abstract syntax trees (AST).

See:
          Description

Interface Summary
SourcePositions Provides methods to obtain the position of a Tree within a CompilationUnit.
TaskListener Provides a listener to monitor the activity of the Sun Java Compiler, javac.
 

Class Summary
JavacTask Provides access to functionality specific to the Sun Java Compiler, javac.
SimpleTreeVisitor<R,P> A simple visitor for tree nodes.
TaskEvent Provides details about work that has been done by the Sun Java Compiler, javac.
TreePath A path of tree nodes, typically used to represent the sequence of ancestor nodes of a tree node up to the top level CompilationUnitTree node.
TreePathScanner<R,P> A TreeVisitor that visits all the child tree nodes, and provides support for maintaining a path for the parent nodes.
Trees Bridges JSR 199, JSR 269, and the Tree API.
TreeScanner<R,P> A TreeVisitor that visits all the child tree nodes.
 

Enum Summary
TaskEvent.Kind Kind of task event.
 

Package com.sun.source.util Description

Provides utilities for operations on abstract syntax trees (AST).

Since:
1.6

Compiler Tree API

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