public class IrDocComment extends AbstractIrDocElement
Constructor and Description |
---|
IrDocComment()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
<R,P> R |
accept(IrDocElementVisitor<R,P> visitor,
P context)
Accepts and calls back the visitor.
|
boolean |
equals(Object obj) |
List<? extends IrDocBlock> |
getBlocks()
Returns the element blocks.
|
IrDocElementKind |
getKind()
Returns the element kind.
|
int |
hashCode() |
void |
setBlocks(List<? extends IrDocBlock> blocks)
Sets the element blocks.
|
String |
toString() |
getLocation, setLocation
public IrDocElementKind getKind()
IrDocElement
public List<? extends IrDocBlock> getBlocks()
public void setBlocks(List<? extends IrDocBlock> blocks)
blocks
- the element blocksIllegalArgumentException
- if the parameter is null
public <R,P> R accept(IrDocElementVisitor<R,P> visitor, P context)
IrDocElement
R
- type of visitor resultP
- type of visitor contextvisitor
- the visitor to call backcontext
- the visitor contextCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.