本文整理汇总了Java中com.sun.tools.javac.tree.DocTreeMaker类的典型用法代码示例。如果您正苦于以下问题:Java DocTreeMaker类的具体用法?Java DocTreeMaker怎么用?Java DocTreeMaker使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DocTreeMaker类属于com.sun.tools.javac.tree包,在下文中一共展示了DocTreeMaker类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: init
import com.sun.tools.javac.tree.DocTreeMaker; //导入依赖的package包/类
private void init(Context context) {
modules = Modules.instance(context);
attr = Attr.instance(context);
enter = Enter.instance(context);
elements = JavacElements.instance(context);
log = Log.instance(context);
resolve = Resolve.instance(context);
treeMaker = TreeMaker.instance(context);
memberEnter = MemberEnter.instance(context);
names = Names.instance(context);
types = Types.instance(context);
docTreeMaker = DocTreeMaker.instance(context);
parser = ParserFactory.instance(context);
syms = Symtab.instance(context);
fileManager = context.get(JavaFileManager.class);
JavacTask t = context.get(JavacTask.class);
if (t instanceof JavacTaskImpl)
javacTaskImpl = (JavacTaskImpl) t;
}
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:20,代码来源:JavacTrees.java
示例2: TreeFactory
import com.sun.tools.javac.tree.DocTreeMaker; //导入依赖的package包/类
protected TreeFactory(Context context) {
context.put(contextKey, this);
model = ASTService.instance(context);
names = Names.instance(context);
classReader = ClassReader.instance(context);
make = com.sun.tools.javac.tree.TreeMaker.instance(context);
docMake = com.sun.tools.javac.tree.DocTreeMaker.instance(context);
elements = JavacElements.instance(context);
types = JavacTypes.instance(context);
chs = CommentHandlerService.instance(context);
make.toplevel = null;
}
开发者ID:apache,项目名称:incubator-netbeans,代码行数:13,代码来源:TreeFactory.java
示例3: ParserFactory
import com.sun.tools.javac.tree.DocTreeMaker; //导入依赖的package包/类
protected ParserFactory(Context context) {
super();
context.put(parserFactoryKey, this);
this.F = TreeMaker.instance(context);
this.docTreeMaker = DocTreeMaker.instance(context);
this.log = Log.instance(context);
this.names = Names.instance(context);
this.tokens = Tokens.instance(context);
this.source = Source.instance(context);
this.options = Options.instance(context);
this.scannerFactory = ScannerFactory.instance(context);
this.locale = context.get(Locale.class);
}
开发者ID:SunburstApps,项目名称:OpenJSharp,代码行数:14,代码来源:ParserFactory.java
示例4: getDocTreeFactory
import com.sun.tools.javac.tree.DocTreeMaker; //导入依赖的package包/类
@Override @DefinedBy(Api.COMPILER_TREE)
public DocTreeMaker getDocTreeFactory() {
return docTreeMaker;
}
开发者ID:AdoptOpenJDK,项目名称:openjdk-jdk10,代码行数:5,代码来源:JavacTrees.java
注:本文中的com.sun.tools.javac.tree.DocTreeMaker类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论