C
- type of visitor contextR
- type of visitor resultpublic abstract static class AstNode.AbstractVisitor<C,R> extends Object implements AstNode.Visitor<C,R>
AstNode.Visitor
,
which all declared methods returns just null
.Constructor and Description |
---|
AbstractVisitor() |
public R visitAttribute(C context, AstAttribute node)
AstNode.Visitor
AstAttribute
.visitAttribute
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public R visitAttributeElement(C context, AstAttributeElement node)
AstNode.Visitor
AstAttributeElement
.visitAttributeElement
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public R visitAttributeValueArray(C context, AstAttributeValueArray node)
AstNode.Visitor
AstAttributeValueArray
.visitAttributeValueArray
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public R visitAttributeValueMap(C context, AstAttributeValueMap node)
AstNode.Visitor
AstAttributeValueMap
.visitAttributeValueMap
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public R visitBasicType(C context, AstBasicType node)
AstNode.Visitor
AstBasicType
.visitBasicType
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public R visitCollectionType(C context, AstCollectionType node)
AstNode.Visitor
AstCollectionType
.visitCollectionType
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public R visitDescription(C context, AstDescription node)
AstNode.Visitor
AstDescription
.visitDescription
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public R visitGrouping(C context, AstGrouping node)
AstNode.Visitor
AstGrouping
.visitGrouping
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public R visitJoin(C context, AstJoin node)
AstNode.Visitor
AstJoin
.visitJoin
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public R visitLiteral(C context, AstLiteral node)
AstNode.Visitor
AstLiteral
.visitLiteral
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public <T extends AstTerm<T>> R visitModelDefinition(C context, AstModelDefinition<T> node)
AstNode.Visitor
AstModelDefinition
.visitModelDefinition
in interface AstNode.Visitor<C,R>
T
- Type of target definition typecontext
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public R visitModelFolding(C context, AstModelFolding node)
AstNode.Visitor
AstModelFolding
.visitModelFolding
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public R visitModelMapping(C context, AstModelMapping node)
AstNode.Visitor
AstModelMapping
.visitModelMapping
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public R visitModelReference(C context, AstModelReference node)
AstNode.Visitor
AstModelReference
.visitModelReference
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public R visitPropertyDefinition(C context, AstPropertyDefinition node)
AstNode.Visitor
AstPropertyDefinition
.visitPropertyDefinition
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public R visitPropertyFolding(C context, AstPropertyFolding node)
AstNode.Visitor
AstPropertyFolding
.visitPropertyFolding
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public R visitPropertyMapping(C context, AstPropertyMapping node)
AstNode.Visitor
AstPropertyMapping
.visitPropertyMapping
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public R visitRecordDefinition(C context, AstRecordDefinition node)
AstNode.Visitor
AstRecordDefinition
.visitRecordDefinition
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public R visitReferenceType(C context, AstReferenceType node)
AstNode.Visitor
AstReferenceType
.visitReferenceType
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public R visitSequenceType(C context, AstSequenceType node)
AstNode.Visitor
AstSequenceType
.visitSequenceType
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public R visitScript(C context, AstScript node)
AstNode.Visitor
AstScript
.visitScript
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public R visitSummarize(C context, AstSummarize node)
AstNode.Visitor
AstSummarize
.visitSummarize
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public <T extends AstTerm<T>> R visitUnionExpression(C context, AstUnionExpression<T> node)
AstNode.Visitor
AstUnionExpression
.visitUnionExpression
in interface AstNode.Visitor<C,R>
T
- the target definition typecontext
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public R visitSimpleName(C context, AstSimpleName node)
AstNode.Visitor
AstSimpleName
.visitSimpleName
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
public R visitQualifiedName(C context, AstQualifiedName node)
AstNode.Visitor
AstQualifiedName
.visitQualifiedName
in interface AstNode.Visitor<C,R>
context
- the context of this visitornode
- the node invoked AstNode.accept(Object, Visitor)
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.