Interface ScalaParserVisitor<D,R>
-
- Type Parameters:
D
- The type of the data input to each visit methodR
- the type of the returned data from each visit method
- All Known Implementing Classes:
ScalaParserVisitorAdapter
,ScalaRule
public interface ScalaParserVisitor<D,R>
A Visitor Pattern Interface for the Scala AST.
-
-
Method Summary
-
-
-
Method Detail
-
visit
R visit(ScalaNode<?> node, D data)
Visit an arbitrary Scala Node (any node in the tree).- Parameters:
node
- the node of the treedata
- context-specific data- Returns:
- context-specific data
-
visit
R visit(ASTSource node, D data)
Visit the Source Node (the root node of the tree).- Parameters:
node
- the root node of the treedata
- context-specific data- Returns:
- context-specific data
-
visit
R visit(ASTCtorPrimary node, D data)
-
visit
R visit(ASTCtorSecondary node, D data)
-
visit
R visit(ASTDeclDef node, D data)
-
visit
R visit(ASTDeclType node, D data)
-
visit
R visit(ASTDeclVal node, D data)
-
visit
R visit(ASTDeclVar node, D data)
-
visit
R visit(ASTDefnClass node, D data)
-
visit
R visit(ASTDefnDef node, D data)
-
visit
R visit(ASTDefnMacro node, D data)
-
visit
R visit(ASTDefnObject node, D data)
-
visit
R visit(ASTDefnTrait node, D data)
-
visit
R visit(ASTDefnType node, D data)
-
visit
R visit(ASTDefnVal node, D data)
-
visit
R visit(ASTDefnVar node, D data)
-
visit
R visit(ASTEnumeratorGenerator node, D data)
-
visit
R visit(ASTEnumeratorGuard node, D data)
-
visit
R visit(ASTEnumeratorVal node, D data)
-
visit
R visit(ASTImporteeName node, D data)
-
visit
R visit(ASTImporteeRename node, D data)
-
visit
R visit(ASTImporteeUnimport node, D data)
-
visit
R visit(ASTImporteeWildcard node, D data)
-
visit
R visit(ASTImporter node, D data)
-
visit
R visit(ASTLitBoolean node, D data)
-
visit
R visit(ASTLitByte node, D data)
-
visit
R visit(ASTLitChar node, D data)
-
visit
R visit(ASTLitDouble node, D data)
-
visit
R visit(ASTLitFloat node, D data)
-
visit
R visit(ASTLitLong node, D data)
-
visit
R visit(ASTLitNull node, D data)
-
visit
R visit(ASTLitShort node, D data)
-
visit
R visit(ASTLitString node, D data)
-
visit
R visit(ASTLitSymbol node, D data)
-
visit
R visit(ASTLitUnit node, D data)
-
visit
R visit(ASTModAbstract node, D data)
-
visit
R visit(ASTModAnnot node, D data)
-
visit
R visit(ASTModCase node, D data)
-
visit
R visit(ASTModContravariant node, D data)
-
visit
R visit(ASTModCovariant node, D data)
-
visit
R visit(ASTModFinal node, D data)
-
visit
R visit(ASTModImplicit node, D data)
-
visit
R visit(ASTModInline node, D data)
-
visit
R visit(ASTModLazy node, D data)
-
visit
R visit(ASTModOverride node, D data)
-
visit
R visit(ASTModPrivate node, D data)
-
visit
R visit(ASTModProtected node, D data)
-
visit
R visit(ASTModSealed node, D data)
-
visit
R visit(ASTModValParam node, D data)
-
visit
R visit(ASTModVarParam node, D data)
-
visit
R visit(ASTNameAnonymous node, D data)
-
visit
R visit(ASTNameIndeterminate node, D data)
-
visit
R visit(ASTPatAlternative node, D data)
-
visit
R visit(ASTPatBind node, D data)
-
visit
R visit(ASTPatExtract node, D data)
-
visit
R visit(ASTPatExtractInfix node, D data)
-
visit
R visit(ASTPatInterpolate node, D data)
-
visit
R visit(ASTPatSeqWildcard node, D data)
-
visit
R visit(ASTPatTuple node, D data)
-
visit
R visit(ASTPatTyped node, D data)
-
visit
R visit(ASTPatWildcard node, D data)
-
visit
R visit(ASTPkgObject node, D data)
-
visit
R visit(ASTTemplate node, D data)
-
visit
R visit(ASTTermAnnotate node, D data)
-
visit
R visit(ASTTermApply node, D data)
-
visit
R visit(ASTTermApplyInfix node, D data)
-
visit
R visit(ASTTermApplyType node, D data)
-
visit
R visit(ASTTermApplyUnary node, D data)
-
visit
R visit(ASTTermAscribe node, D data)
-
visit
R visit(ASTTermAssign node, D data)
-
visit
R visit(ASTTermBlock node, D data)
-
visit
R visit(ASTTermEta node, D data)
-
visit
R visit(ASTTermFor node, D data)
-
visit
R visit(ASTTermForYield node, D data)
-
visit
R visit(ASTTermFunction node, D data)
-
visit
R visit(ASTTermInterpolate node, D data)
-
visit
R visit(ASTTermMatch node, D data)
-
visit
R visit(ASTTermName node, D data)
-
visit
R visit(ASTTermNewAnonymous node, D data)
-
visit
R visit(ASTTermNew node, D data)
-
visit
R visit(ASTTermParam node, D data)
-
visit
R visit(ASTTermPartialFunction node, D data)
-
visit
R visit(ASTTermPlaceholder node, D data)
-
visit
R visit(ASTTermRepeated node, D data)
-
visit
R visit(ASTTermReturn node, D data)
-
visit
R visit(ASTTermSelect node, D data)
-
visit
R visit(ASTTermSuper node, D data)
-
visit
R visit(ASTTermThis node, D data)
-
visit
R visit(ASTTermThrow node, D data)
-
visit
R visit(ASTTermTry node, D data)
-
visit
R visit(ASTTermTryWithHandler node, D data)
-
visit
R visit(ASTTermTuple node, D data)
-
visit
R visit(ASTTermWhile node, D data)
-
visit
R visit(ASTTermXml node, D data)
-
visit
R visit(ASTTypeAnd node, D data)
-
visit
R visit(ASTTypeAnnotate node, D data)
-
visit
R visit(ASTTypeApply node, D data)
-
visit
R visit(ASTTypeApplyInfix node, D data)
-
visit
R visit(ASTTypeBounds node, D data)
-
visit
R visit(ASTTypeByName node, D data)
-
visit
R visit(ASTTypeExistential node, D data)
-
visit
R visit(ASTTypeFunction node, D data)
-
visit
R visit(ASTTypeImplicitFunction node, D data)
-
visit
R visit(ASTTypeLambda node, D data)
-
visit
R visit(ASTTypeMethod node, D data)
-
visit
R visit(ASTTypeName node, D data)
-
visit
R visit(ASTTypeParam node, D data)
-
visit
R visit(ASTTypePlaceholder node, D data)
-
visit
R visit(ASTTypeProject node, D data)
-
visit
R visit(ASTTypeRefine node, D data)
-
visit
R visit(ASTTypeRepeated node, D data)
-
visit
R visit(ASTTypeSelect node, D data)
-
visit
R visit(ASTTypeSingleton node, D data)
-
visit
R visit(ASTTypeTuple node, D data)
-
visit
R visit(ASTTypeVar node, D data)
-
visit
R visit(ASTTypeWith node, D data)
-
-