public interface IrDocElement
Java documentation comments
).Modifier and Type | Method and Description |
---|---|
<R,P> R |
accept(IrDocElementVisitor<R,P> visitor,
P context)
Accepts and calls back the visitor.
|
IrDocElementKind |
getKind()
Returns the element kind.
|
IrLocation |
getLocation()
Returns the location where this element appears.
|
void |
setLocation(IrLocation location)
Sets the location where this element appears.
|
IrDocElementKind getKind()
IrLocation getLocation()
null
if it is not specifiedvoid setLocation(IrLocation location)
location
- the location, or null
to unset it<R,P> R accept(IrDocElementVisitor<R,P> visitor, P context)
P
- type of visitor contextR
- type of visitor resultcontext
- the visitor contextvisitor
- the visitor to call backIllegalArgumentException
- if visitor
was null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.