public class ASTSimpleBond extends SimpleNode
Constructor and Description |
---|
ASTSimpleBond(int id)
Creates a new instance.
|
ASTSimpleBond(SMARTSParser p,
int id)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getBondType()
Returns type of bond.
|
Object |
jjtAccept(SMARTSParserVisitor visitor,
Object data)
Accept the visitor.
|
void |
setBondType(int bondType)
Sets type of bond.
|
childrenAccept, clone, dump, getId, getParser, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtRemoveChild, jjtSetParent, setId, setParser, toString, toString
public ASTSimpleBond(int id)
public ASTSimpleBond(SMARTSParser p, int id)
public int getBondType()
public Object jjtAccept(SMARTSParserVisitor visitor, Object data)
SimpleNode
jjtAccept
in interface Node
jjtAccept
in class SimpleNode
public void setBondType(int bondType)