|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.antlr.treewalker.VisitorAdapter org.codehaus.groovy.tools.groovydoc.SimpleGroovyClassDocAssembler
public class SimpleGroovyClassDocAssembler extends VisitorAdapter
Constructor Summary | |
SimpleGroovyClassDocAssembler(java.lang.String packagePath, java.lang.String file, SourceBuffer sourceBuffer, java.util.List links, java.util.Properties properties, boolean isGroovy)
|
Method Summary | |
---|---|
java.util.Map
|
getGroovyClassDocs()
|
GroovySourceAST
|
pop()
|
void
|
push(GroovySourceAST t)
|
void
|
visitAnnotationDef(GroovySourceAST t, int visit)
|
void
|
visitAnnotationFieldDef(GroovySourceAST t, int visit)
|
void
|
visitAssign(GroovySourceAST t, int visit)
|
void
|
visitClassDef(GroovySourceAST t, int visit)
|
void
|
visitCtorIdent(GroovySourceAST t, int visit)
|
void
|
visitEnumConstantDef(GroovySourceAST t, int visit)
|
void
|
visitEnumDef(GroovySourceAST t, int visit)
|
void
|
visitExtendsClause(GroovySourceAST t, int visit)
|
void
|
visitImplementsClause(GroovySourceAST t, int visit)
|
void
|
visitImport(GroovySourceAST t, int visit)
|
void
|
visitInterfaceDef(GroovySourceAST t, int visit)
|
void
|
visitMethodCall(GroovySourceAST t, int visit)
|
void
|
visitMethodDef(GroovySourceAST t, int visit)
|
void
|
visitPackageDef(GroovySourceAST t, int visit)
|
void
|
visitVariableDef(GroovySourceAST t, int visit)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor Detail |
---|
public SimpleGroovyClassDocAssembler(java.lang.String packagePath, java.lang.String file, SourceBuffer sourceBuffer, java.util.List links, java.util.Properties properties, boolean isGroovy)
Method Detail |
---|
public java.util.Map getGroovyClassDocs()
public GroovySourceAST pop()
public void push(GroovySourceAST t)
visitClassDef(t, visit); public void visitAnnotationDef(GroovySourceAST t, int visit)
} else if (visit == OPENING_VISIT) { // public void visitAnnotationFieldDef(GroovySourceAST t, int visit)
if (t.getLine() > lastLineCol.getLine() || public void visitAssign(GroovySourceAST t, int visit)
if (visit == OPENING_VISIT) { public void visitClassDef(GroovySourceAST t, int visit)
} public void visitCtorIdent(GroovySourceAST t, int visit)
} public void visitEnumConstantDef(GroovySourceAST t, int visit)
visitClassDef(t, visit); public void visitEnumDef(GroovySourceAST t, int visit)
} public void visitExtendsClause(GroovySourceAST t, int visit)
for (AST child = t.getFirstChild(); child != null; child = child.getNextSibling()) { public void visitImplementsClause(GroovySourceAST t, int visit)
if (visit == OPENING_VISIT) { public void visitImport(GroovySourceAST t, int visit)
visitClassDef(t, visit); public void visitInterfaceDef(GroovySourceAST t, int visit)
} public void visitMethodCall(GroovySourceAST t, int visit)
currentClassDoc.setGroovy(isGroovy); public void visitMethodDef(GroovySourceAST t, int visit)
if (visit == OPENING_VISIT && deferSetup) { public void visitPackageDef(GroovySourceAST t, int visit)
currentClassDoc.add(currentFieldDoc); public void visitVariableDef(GroovySourceAST t, int visit)
Groovy Documentation