Modifier and Type | Method and Description |
---|---|
ASTNode |
ASTNodeList.get(long n) |
ASTNode |
FunctionDefinition.getArgument(long n)
Get the
n th argument to this function. |
ASTNode |
FunctionDefinition.getArgument(java.lang.String name)
Get the argument named
name to this FunctionDefinition . |
ASTNode |
FunctionDefinition.getBody()
Get the mathematical expression that is the body of this
FunctionDefinition object. |
ASTNode |
ASTNode.getChild(long n)
Returns the child at index n of this node.
|
ASTNode |
ASTNode.getLeftChild()
Returns the left child of this node.
|
ASTNode |
FunctionDefinition.getMath()
Get the mathematical formula of this
FunctionDefinition . |
ASTNode |
InitialAssignment.getMath()
Get the mathematical formula of this
InitialAssignment . |
ASTNode |
Rule.getMath()
|
ASTNode |
Constraint.getMath()
Get the mathematical expression of this
Constraint |
ASTNode |
KineticLaw.getMath()
Returns the mathematical formula for this
KineticLaw object and return
it as as an AST. |
ASTNode |
EventAssignment.getMath()
Get the mathematical expression in this
EventAssignment 's 'math'
subelement. |
ASTNode |
Trigger.getMath()
Get the mathematical formula for the trigger and return it
as an AST.
|
ASTNode |
Delay.getMath()
Get the mathematical formula for the delay and return it
as an AST.
|
ASTNode |
Priority.getMath()
Get the mathematical formula for the priority and return it
as an AST.
|
ASTNode |
StoichiometryMath.getMath()
Retrieves the mathematical formula within this
StoichiometryMath and
return it as an AST. |
ASTNode |
FunctionTerm.getMath()
Returns the 'math' element of this
FunctionTerm . |
ASTNode |
ASTNode.getRightChild()
Returns the right child of this node.
|
static ASTNode |
libsbml.parseFormula(java.lang.String formula)
Parses a text string as a mathematical formula and returns an AST
representation of it.
|
static ASTNode |
libsbml.parseL3Formula(java.lang.String formula)
Parses a text string as a mathematical formula and returns an AST
representation of it.
|
static ASTNode |
libsbml.parseL3FormulaWithModel(java.lang.String formula,
Model model)
Parses a text string as a mathematical formula using a
Model to resolve
symbols, and returns an AST representation of the result. |
static ASTNode |
libsbml.parseL3FormulaWithSettings(java.lang.String formula,
L3ParserSettings settings)
Parses a text string as a mathematical formula using specific parser
settings and returns an AST representation of the result.
|
static ASTNode |
libsbml.readMathMLFromString(java.lang.String xml)
Reads the MathML from the given XML string, constructs a corresponding
abstract syntax tree, and returns a pointer to the root of the tree.
|
static ASTNode |
libsbml.readMathMLFromStringWithNamespaces(java.lang.String xml,
XMLNamespaces xmlns)
Reads the MathML from the given XML string, constructs a corresponding
abstract syntax tree, and returns a pointer to the root of the tree.
|
ASTNode |
ASTNodeList.remove(long n) |
Modifier and Type | Method and Description |
---|---|
void |
ASTNodeList.add(ASTNode item) |
int |
ASTNode.addChild(ASTNode disownedChild)
Adds the given node as a child of this
ASTNode . |
static java.lang.String |
libsbml.formulaToL3String(ASTNode tree)
Converts an AST to a text string representation of a formula using an
extended syntax.
|
static java.lang.String |
libsbml.formulaToL3StringWithSettings(ASTNode tree,
L3ParserSettings settings)
Converts an AST to a text string representation of a formula, using
specific formatter settings.
|
static java.lang.String |
libsbml.formulaToString(ASTNode tree)
Converts an AST to a text string representation of a formula using a
basic syntax derived from SBML Level 1.
|
int |
ASTNode.insertChild(long n,
ASTNode disownedChild)
|
void |
ASTNodeList.prepend(ASTNode item) |
int |
ASTNode.prependChild(ASTNode disownedChild)
Adds the given node as a child of this
ASTNode . |
void |
ASTNode.replaceArgument(java.lang.String bvar,
ASTNode arg)
Replaces occurrences of a given name with a given
ASTNode . |
int |
ASTNode.replaceChild(long n,
ASTNode disownedChild)
|
int |
ASTNode.replaceChild(long n,
ASTNode disownedChild,
boolean delreplaced)
|
int |
FunctionDefinition.setMath(ASTNode math)
Sets the 'math' subelement of this
FunctionDefinition to the Abstract
Syntax Tree given in math . |
int |
InitialAssignment.setMath(ASTNode math)
Sets the 'math' subelement of this
InitialAssignment . |
int |
Rule.setMath(ASTNode math)
|
int |
Constraint.setMath(ASTNode math)
Sets the mathematical expression of this
Constraint to a copy of the
AST given as math . |
int |
KineticLaw.setMath(ASTNode math)
Sets the mathematical expression of this
KineticLaw instance to a copy
of the given ASTNode . |
int |
EventAssignment.setMath(ASTNode math)
Sets the 'math' subelement of this
EventAssignment to a copy of the
given ASTNode . |
int |
Trigger.setMath(ASTNode math)
|
int |
Delay.setMath(ASTNode math)
|
int |
Priority.setMath(ASTNode math)
|
int |
StoichiometryMath.setMath(ASTNode math)
Sets the 'math' expression of this
StoichiometryMath instance to a
copy of the given ASTNode . |
int |
FunctionTerm.setMath(ASTNode math)
Sets the 'math' element of this
FunctionTerm . |
int |
ASTNode.swapChildren(ASTNode that)
Swaps the children of this node with the children of another node.
|
static java.lang.String |
libsbml.writeMathMLToString(ASTNode node)
Writes the given AST node (and its children) to a string as MathML, and
returns the string.
|
static java.lang.String |
libsbml.writeMathMLWithNamespaceToString(ASTNode node,
SBMLNamespaces sbmlns)
Writes the given AST node (and its children) to a string as MathML, and
returns the string.
|
Constructor and Description |
---|
ASTNode(ASTNode orig)
Copy constructor; creates a deep copy of the given
ASTNode . |