Class SimpleGroovyClassDocAssembler
- java.lang.Object
-
- org.codehaus.groovy.antlr.treewalker.VisitorAdapter
-
- org.codehaus.groovy.tools.groovydoc.SimpleGroovyClassDocAssembler
-
- All Implemented Interfaces:
org.codehaus.groovy.antlr.parser.GroovyTokenTypes,org.codehaus.groovy.antlr.treewalker.Visitor
public class SimpleGroovyClassDocAssembler extends org.codehaus.groovy.antlr.treewalker.VisitorAdapter implements org.codehaus.groovy.antlr.parser.GroovyTokenTypes
-
-
Field Summary
-
Fields inherited from interface org.codehaus.groovy.antlr.parser.GroovyTokenTypes
ABSTRACT, ANNOTATION, ANNOTATION_ARRAY_INIT, ANNOTATION_DEF, ANNOTATION_FIELD_DEF, ANNOTATION_MEMBER_VALUE_PAIR, ANNOTATIONS, ARRAY_DECLARATOR, ASSIGN, AT, BAND, BAND_ASSIGN, BIG_SUFFIX, BLOCK, BNOT, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, CASE_GROUP, CLASS_DEF, CLOSABLE_BLOCK, CLOSABLE_BLOCK_OP, CLOSURE_LIST, COLON, COMMA, COMPARE_TO, CTOR_CALL, CTOR_IDENT, DEC, DIGIT, DIGITS_WITH_UNDERSCORE, DIGITS_WITH_UNDERSCORE_OPT, DIV, DIV_ASSIGN, DOLLAR, DOLLAR_REGEXP_CTOR_END, DOLLAR_REGEXP_LITERAL, DOLLAR_REGEXP_SYMBOL, DOT, DYNAMIC_MEMBER, ELIST, ELVIS_OPERATOR, EMPTY_STAT, ENUM_CONSTANT_DEF, ENUM_DEF, EOF, EQUAL, ESC, ESCAPED_DOLLAR, ESCAPED_SLASH, EXPONENT, EXPR, EXTENDS_CLAUSE, FINAL, FLOAT_SUFFIX, FOR_CONDITION, FOR_EACH_CLAUSE, FOR_IN_ITERABLE, FOR_INIT, FOR_ITERATOR, GE, GT, HEX_DIGIT, IDENT, IDENTICAL, IMPLEMENTS_CLAUSE, IMPLICIT_PARAMETERS, IMPORT, INC, INDEX_OP, INSTANCE_INIT, INTERFACE_DEF, LABELED_ARG, LABELED_STAT, LAND, LBRACK, LCURLY, LE, LETTER, LIST_CONSTRUCTOR, LITERAL_as, LITERAL_assert, LITERAL_boolean, LITERAL_break, LITERAL_byte, LITERAL_case, LITERAL_catch, LITERAL_char, LITERAL_class, LITERAL_continue, LITERAL_def, LITERAL_default, LITERAL_double, LITERAL_else, LITERAL_enum, LITERAL_extends, LITERAL_false, LITERAL_finally, LITERAL_float, LITERAL_for, LITERAL_if, LITERAL_implements, LITERAL_import, LITERAL_in, LITERAL_instanceof, LITERAL_int, LITERAL_interface, LITERAL_long, LITERAL_native, LITERAL_new, LITERAL_null, LITERAL_package, LITERAL_private, LITERAL_protected, LITERAL_public, LITERAL_return, LITERAL_short, LITERAL_static, LITERAL_super, LITERAL_switch, LITERAL_synchronized, LITERAL_this, LITERAL_threadsafe, LITERAL_throw, LITERAL_throws, LITERAL_trait, LITERAL_transient, LITERAL_true, LITERAL_try, LITERAL_void, LITERAL_volatile, LITERAL_while, LNOT, LOR, LPAREN, LT, MAP_CONSTRUCTOR, MEMBER_POINTER, METHOD_CALL, METHOD_DEF, MINUS, MINUS_ASSIGN, ML_COMMENT, MOD, MOD_ASSIGN, MODIFIERS, MULTICATCH, MULTICATCH_TYPES, NLS, NOT_EQUAL, NOT_IDENTICAL, NULL_TREE_LOOKAHEAD, NUM_BIG_DECIMAL, NUM_BIG_INT, NUM_DOUBLE, NUM_FLOAT, NUM_INT, NUM_LONG, OBJBLOCK, ONE_NL, OPTIONAL_DOT, PACKAGE_DEF, PARAMETER_DEF, PARAMETERS, PLUS, PLUS_ASSIGN, POST_DEC, POST_INC, QUESTION, RANGE_EXCLUSIVE, RANGE_INCLUSIVE, RBRACK, RCURLY, REGEX_FIND, REGEX_MATCH, REGEXP_CTOR_END, REGEXP_LITERAL, REGEXP_SYMBOL, RPAREN, SELECT_SLOT, SEMI, SH_COMMENT, SL, SL_ASSIGN, SL_COMMENT, SLIST, SPREAD_ARG, SPREAD_DOT, SPREAD_MAP_ARG, SR, SR_ASSIGN, STAR, STAR_ASSIGN, STAR_STAR, STAR_STAR_ASSIGN, STATIC_IMPORT, STATIC_INIT, STRICTFP, STRING_CH, STRING_CONSTRUCTOR, STRING_CTOR_END, STRING_CTOR_MIDDLE, STRING_CTOR_START, STRING_LITERAL, STRING_NL, SUPER_CTOR_CALL, TRAIT_DEF, TRIPLE_DOT, TYPE, TYPE_ARGUMENT, TYPE_ARGUMENTS, TYPE_LOWER_BOUNDS, TYPE_PARAMETER, TYPE_PARAMETERS, TYPE_UPPER_BOUNDS, TYPECAST, UNARY_MINUS, UNARY_PLUS, UNUSED_CONST, UNUSED_DO, UNUSED_GOTO, VARIABLE_DEF, VARIABLE_PARAMETER_DEF, VOCAB, WILDCARD_TYPE, WS
-
-
Constructor Summary
Constructors Constructor Description SimpleGroovyClassDocAssembler(java.lang.String packagePath, java.lang.String file, org.codehaus.groovy.antlr.SourceBuffer sourceBuffer, java.util.List<LinkArgument> links, java.util.Properties properties, boolean isGroovy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,GroovyClassDoc>getGroovyClassDocs()org.codehaus.groovy.antlr.GroovySourceASTpop()voidpush(org.codehaus.groovy.antlr.GroovySourceAST t)voidvisitAnnotationDef(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)voidvisitAnnotationFieldDef(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)voidvisitAssign(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)voidvisitClassDef(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)voidvisitCtorIdent(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)voidvisitEnumConstantDef(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)voidvisitEnumDef(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)voidvisitExtendsClause(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)voidvisitImplementsClause(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)voidvisitImport(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)voidvisitInterfaceDef(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)voidvisitMethodCall(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)voidvisitMethodDef(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)voidvisitPackageDef(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)voidvisitTraitDef(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)voidvisitVariableDef(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)-
Methods inherited from class org.codehaus.groovy.antlr.treewalker.VisitorAdapter
setUp, tearDown, visitAbstract, visitAnnotation, visitAnnotationArrayInit, visitAnnotationMemberValuePair, visitAnnotations, visitArrayDeclarator, visitAt, visitBand, visitBandAssign, visitBigSuffix, visitBlock, visitBnot, visitBor, visitBorAssign, visitBsr, visitBsrAssign, visitBxor, visitBxorAssign, visitCaseGroup, visitClosedBlock, visitClosureList, visitClosureOp, visitColon, visitComma, visitCompareTo, visitCtorCall, visitDec, visitDefault, visitDigit, visitDiv, visitDivAssign, visitDollar, visitDot, visitDynamicMember, visitElist, visitEmptyStat, visitEof, visitEqual, visitEsc, visitExponent, visitExpr, visitFinal, visitFloatSuffix, visitForCondition, visitForEachClause, visitForInit, visitForInIterable, visitForIterator, visitGe, visitGt, visitHexDigit, visitIdent, visitImplicitParameters, visitInc, visitIndexOp, visitInstanceInit, visitLabeledArg, visitLabeledStat, visitLand, visitLbrack, visitLcurly, visitLe, visitLetter, visitListConstructor, visitLiteralAs, visitLiteralAssert, visitLiteralBoolean, visitLiteralBreak, visitLiteralByte, visitLiteralCase, visitLiteralCatch, visitLiteralChar, visitLiteralClass, visitLiteralContinue, visitLiteralDef, visitLiteralDefault, visitLiteralDouble, visitLiteralElse, visitLiteralEnum, visitLiteralExtends, visitLiteralFalse, visitLiteralFinally, visitLiteralFloat, visitLiteralFor, visitLiteralIf, visitLiteralImplements, visitLiteralImport, visitLiteralIn, visitLiteralInstanceof, visitLiteralInt, visitLiteralInterface, visitLiteralLong, visitLiteralNative, visitLiteralNew, visitLiteralNull, visitLiteralPackage, visitLiteralPrivate, visitLiteralProtected, visitLiteralPublic, visitLiteralReturn, visitLiteralShort, visitLiteralStatic, visitLiteralSuper, visitLiteralSwitch, visitLiteralSynchronized, visitLiteralThis, visitLiteralThreadsafe, visitLiteralThrow, visitLiteralThrows, visitLiteralTransient, visitLiteralTrue, visitLiteralTry, visitLiteralVoid, visitLiteralVolatile, visitLiteralWhile, visitLnot, visitLor, visitLparen, visitLt, visitMapConstructor, visitMemberPointer, visitMinus, visitMinusAssign, visitMlComment, visitMod, visitModAssign, visitModifiers, visitMultiCatch, visitMultiCatchTypes, visitNls, visitNotEqual, visitNullTreeLookahead, visitNumBigDecimal, visitNumBigInt, visitNumDouble, visitNumFloat, visitNumInt, visitNumLong, visitObjblock, visitOneNl, visitOptionalDot, visitParameterDef, visitParameters, visitPlus, visitPlusAssign, visitPostDec, visitPostInc, visitQuestion, visitRangeExclusive, visitRangeInclusive, visitRbrack, visitRcurly, visitRegexFind, visitRegexMatch, visitRegexpCtorEnd, visitRegexpLiteral, visitRegexpSymbol, visitRparen, visitSelectSlot, visitSemi, visitShComment, visitSl, visitSlAssign, visitSlComment, visitSlist, visitSpreadArg, visitSpreadDot, visitSpreadMapArg, visitSr, visitSrAssign, visitStar, visitStarAssign, visitStarStar, visitStarStarAssign, visitStaticImport, visitStaticInit, visitStrictfp, visitStringCh, visitStringConstructor, visitStringCtorEnd, visitStringCtorMiddle, visitStringCtorStart, visitStringLiteral, visitStringNl, visitSuperCtorCall, visitTripleDot, visitType, visitTypeArgument, visitTypeArguments, visitTypecast, visitTypeLowerBounds, visitTypeParameter, visitTypeParameters, visitTypeUpperBounds, visitUnaryMinus, visitUnaryPlus, visitUnusedConst, visitUnusedDo, visitUnusedGoto, visitVariableParameterDef, visitVocab, visitWildcardType, visitWs
-
-
-
-
Constructor Detail
-
SimpleGroovyClassDocAssembler
public SimpleGroovyClassDocAssembler(java.lang.String packagePath, java.lang.String file, org.codehaus.groovy.antlr.SourceBuffer sourceBuffer, java.util.List<LinkArgument> links, java.util.Properties properties, boolean isGroovy)
-
-
Method Detail
-
getGroovyClassDocs
public java.util.Map<java.lang.String,GroovyClassDoc> getGroovyClassDocs()
-
visitInterfaceDef
public void visitInterfaceDef(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)- Specified by:
visitInterfaceDefin interfaceorg.codehaus.groovy.antlr.treewalker.Visitor- Overrides:
visitInterfaceDefin classorg.codehaus.groovy.antlr.treewalker.VisitorAdapter
-
visitTraitDef
public void visitTraitDef(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)- Specified by:
visitTraitDefin interfaceorg.codehaus.groovy.antlr.treewalker.Visitor- Overrides:
visitTraitDefin classorg.codehaus.groovy.antlr.treewalker.VisitorAdapter
-
visitEnumDef
public void visitEnumDef(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)- Specified by:
visitEnumDefin interfaceorg.codehaus.groovy.antlr.treewalker.Visitor- Overrides:
visitEnumDefin classorg.codehaus.groovy.antlr.treewalker.VisitorAdapter
-
visitAnnotationDef
public void visitAnnotationDef(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)- Specified by:
visitAnnotationDefin interfaceorg.codehaus.groovy.antlr.treewalker.Visitor- Overrides:
visitAnnotationDefin classorg.codehaus.groovy.antlr.treewalker.VisitorAdapter
-
visitClassDef
public void visitClassDef(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)- Specified by:
visitClassDefin interfaceorg.codehaus.groovy.antlr.treewalker.Visitor- Overrides:
visitClassDefin classorg.codehaus.groovy.antlr.treewalker.VisitorAdapter
-
visitPackageDef
public void visitPackageDef(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)- Specified by:
visitPackageDefin interfaceorg.codehaus.groovy.antlr.treewalker.Visitor- Overrides:
visitPackageDefin classorg.codehaus.groovy.antlr.treewalker.VisitorAdapter
-
visitImport
public void visitImport(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)- Specified by:
visitImportin interfaceorg.codehaus.groovy.antlr.treewalker.Visitor- Overrides:
visitImportin classorg.codehaus.groovy.antlr.treewalker.VisitorAdapter
-
visitExtendsClause
public void visitExtendsClause(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)- Specified by:
visitExtendsClausein interfaceorg.codehaus.groovy.antlr.treewalker.Visitor- Overrides:
visitExtendsClausein classorg.codehaus.groovy.antlr.treewalker.VisitorAdapter
-
visitImplementsClause
public void visitImplementsClause(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)- Specified by:
visitImplementsClausein interfaceorg.codehaus.groovy.antlr.treewalker.Visitor- Overrides:
visitImplementsClausein classorg.codehaus.groovy.antlr.treewalker.VisitorAdapter
-
visitCtorIdent
public void visitCtorIdent(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)- Specified by:
visitCtorIdentin interfaceorg.codehaus.groovy.antlr.treewalker.Visitor- Overrides:
visitCtorIdentin classorg.codehaus.groovy.antlr.treewalker.VisitorAdapter
-
visitMethodDef
public void visitMethodDef(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)- Specified by:
visitMethodDefin interfaceorg.codehaus.groovy.antlr.treewalker.Visitor- Overrides:
visitMethodDefin classorg.codehaus.groovy.antlr.treewalker.VisitorAdapter
-
visitAnnotationFieldDef
public void visitAnnotationFieldDef(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)- Specified by:
visitAnnotationFieldDefin interfaceorg.codehaus.groovy.antlr.treewalker.Visitor- Overrides:
visitAnnotationFieldDefin classorg.codehaus.groovy.antlr.treewalker.VisitorAdapter
-
visitEnumConstantDef
public void visitEnumConstantDef(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)- Specified by:
visitEnumConstantDefin interfaceorg.codehaus.groovy.antlr.treewalker.Visitor- Overrides:
visitEnumConstantDefin classorg.codehaus.groovy.antlr.treewalker.VisitorAdapter
-
visitVariableDef
public void visitVariableDef(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)- Specified by:
visitVariableDefin interfaceorg.codehaus.groovy.antlr.treewalker.Visitor- Overrides:
visitVariableDefin classorg.codehaus.groovy.antlr.treewalker.VisitorAdapter
-
visitAssign
public void visitAssign(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)- Specified by:
visitAssignin interfaceorg.codehaus.groovy.antlr.treewalker.Visitor- Overrides:
visitAssignin classorg.codehaus.groovy.antlr.treewalker.VisitorAdapter
-
visitMethodCall
public void visitMethodCall(org.codehaus.groovy.antlr.GroovySourceAST t, int visit)- Specified by:
visitMethodCallin interfaceorg.codehaus.groovy.antlr.treewalker.Visitor- Overrides:
visitMethodCallin classorg.codehaus.groovy.antlr.treewalker.VisitorAdapter
-
push
public void push(org.codehaus.groovy.antlr.GroovySourceAST t)
- Specified by:
pushin interfaceorg.codehaus.groovy.antlr.treewalker.Visitor- Overrides:
pushin classorg.codehaus.groovy.antlr.treewalker.VisitorAdapter
-
pop
public org.codehaus.groovy.antlr.GroovySourceAST pop()
- Specified by:
popin interfaceorg.codehaus.groovy.antlr.treewalker.Visitor- Overrides:
popin classorg.codehaus.groovy.antlr.treewalker.VisitorAdapter
-
-