public class SplicerBlock extends ASTNode
| Modifier and Type | Field and Description |
|---|---|
protected SplicerImplList |
d_impl
The container of the list of implementation line(s).
|
protected java.lang.String |
d_location
The target location of the splicer block (e.g., "header", "source")
|
protected java.lang.String |
d_name
The name (extension) associated with the splicer block
|
ILLEGAL_NODEID| Constructor and Description |
|---|
SplicerBlock(ParseTreeNode src,
ASTNode parent) |
SplicerBlock(ParseTreeNode src,
ASTNode parent,
java.lang.String loc,
java.lang.String name) |
SplicerBlock(ParseTreeNode src,
ASTNode parent,
java.lang.String loc,
java.lang.String name,
java.lang.String impl) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
accept(Visitor v,
java.lang.Object data)
implements "Visitor Pattern"
|
boolean |
addDefaultImpl() |
boolean |
addSplicerImpl(SplicerImpl impl) |
boolean |
addSplicerImpl(java.lang.String impl) |
static java.lang.String |
getDefaultCommentText() |
java.lang.String |
getLocation() |
java.lang.String |
getName() |
SplicerImplList |
getSplicerImplList() |
getFilename, getFirstToken, getLastToken, getNodeId, getParent, getParseTreeNode, getSymbolTableEntry, setFirstToken, setLastToken, setNodeId, setParent, setParseTreeNode, setSymbolTableEntryprotected java.lang.String d_location
protected java.lang.String d_name
protected SplicerImplList d_impl
public SplicerBlock(ParseTreeNode src, ASTNode parent)
public SplicerBlock(ParseTreeNode src, ASTNode parent, java.lang.String loc, java.lang.String name)
public SplicerBlock(ParseTreeNode src, ASTNode parent, java.lang.String loc, java.lang.String name, java.lang.String impl)
public java.lang.String getLocation()
public java.lang.String getName()
public boolean addSplicerImpl(java.lang.String impl)
public boolean addSplicerImpl(SplicerImpl impl)
public boolean addDefaultImpl()
public SplicerImplList getSplicerImplList()
public java.lang.Object accept(Visitor v, java.lang.Object data)
ASTNodepublic static java.lang.String getDefaultCommentText()