Package | Description |
---|---|
org.sbml.jsbml |
Pure Java™ implementation of the data structures to represent all SBML
constructs.
|
org.sbml.jsbml.math | |
org.sbml.jsbml.math.compiler | |
org.sbml.jsbml.util.compilers |
The classes in this package can be used to evaluate the information
represented by abstract syntax trees (ASTNode objects).
|
Modifier and Type | Method | Description |
---|---|---|
ASTNode.Type |
ASTNode.getType() |
Returns the type of this node.
|
static ASTNode.Type |
ASTNode.Type.getTypeFor(java.lang.String type) |
Returns the
ASTNode.Type corresponding to the given String . |
static ASTNode.Type |
ASTNode.Type.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ASTNode.Type[] |
ASTNode.Type.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
void |
ASTNode.setType(ASTNode.Type type) |
Sets the type of this ASTNode to the given Type.
|
Constructor | Description |
---|---|
ASTNode(ASTNode.Type type) |
|
ASTNode(ASTNode.Type type,
MathContainer parent) |
Creates and returns a new
ASTNode . |
Modifier and Type | Method | Description |
---|---|---|
ASTNode.Type |
AbstractASTNode.getType() |
|
ASTNode.Type |
ASTNode2.getType() |
Returns the type of this ASTNode2.
|
ASTNode.Type |
ASTUnknown.getType() |
Modifier and Type | Method | Description |
---|---|---|
static ASTArithmeticOperatorNode |
ASTFactory.arithmeticOperation(ASTNode.Type operator,
ASTNode2... list) |
Creates a new
ASTArithmeticOperatorNode of type operator and adds
the given nodes as children. |
static int |
ASTFactory.countType(ASTNode2 node,
ASTNode.Type type) |
Counts the number of nodes that have
ASTNode.Type type
in the tree rooted at node. |
boolean |
ASTArithmeticOperatorNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTBoolean.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTCiFunctionNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTCiNumberNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTCnExponentialNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTCnIntegerNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTCnNumberNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTCnRationalNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTCnRealNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTConstantNumber.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTCSymbolAvogadroNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTCSymbolDelayNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTCSymbolTimeNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTDivideNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTFunction.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTHyperbolicNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTLambdaFunctionNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTLogarithmNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTLogicalOperatorNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTMinusNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTNode2.isAllowableType(ASTNode.Type type) |
Returns
true iff type is allowed in this ASTNode2 |
boolean |
ASTPiecewiseFunctionNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTPlusNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTPowerNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTQualifierNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTRelationalOperatorNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTRootNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTTimesNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTTrigonometricNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTUnaryFunctionNode.isAllowableType(ASTNode.Type type) |
|
boolean |
ASTUnknown.isAllowableType(ASTNode.Type type) |
|
static ASTRelationalOperatorNode |
ASTFactory.relational(ASTNode.Type type,
ASTNode2 a,
ASTNode2 b) |
Creates a relational
ASTRelationalOperatorNode of the given type with
the two given children left and right. |
void |
AbstractASTNode.setType(ASTNode.Type type) |
|
void |
ASTNode2.setType(ASTNode.Type type) |
Set the type of the MathML element represented by this
ASTNode2 |
void |
ASTUnknown.setType(ASTNode.Type type) |
Modifier and Type | Method | Description |
---|---|---|
ASTNode.Type |
ASTNode2Value.getType() |
Modifier and Type | Method | Description |
---|---|---|
void |
ASTNode2Value.setType(ASTNode.Type type) |
Modifier and Type | Method | Description |
---|---|---|
ASTNode.Type |
ASTNodeValue.getType() |
Modifier and Type | Method | Description |
---|---|---|
void |
ASTNodeValue.setType(ASTNode.Type type) |