org.sbml.jsbml
public static enum ASTNode.Type extends java.lang.Enum<ASTNode.Type>
Modifier and Type | Method and Description |
---|---|
static ASTNode.Type |
getTypeFor(java.lang.String type)
Returns the
ASTNode.Type corresponding to the given String . |
boolean |
isDefinedIn(int level,
int version)
Checks whether this type is valid for the given SBML
Level/Version combination.
|
static ASTNode.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ASTNode.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ASTNode.Type CONSTANT_E
ASTNode
represents Euler's constant, it should have
this ASTNode.Type
.public static final ASTNode.Type CONSTANT_FALSE
public static final ASTNode.Type CONSTANT_PI
ASTNode
represents the constant π, it should have
this ASTNode.Type
.public static final ASTNode.Type CONSTANT_TRUE
public static final ASTNode.Type DIVIDE
public static final ASTNode.Type FUNCTION
ASTNode
containing a reference to a user-defined
FunctionDefinition
.public static final ASTNode.Type FUNCTION_ABS
public static final ASTNode.Type FUNCTION_ARCCOS
public static final ASTNode.Type FUNCTION_ARCCOSH
public static final ASTNode.Type FUNCTION_ARCCOT
public static final ASTNode.Type FUNCTION_ARCCOTH
public static final ASTNode.Type FUNCTION_ARCCSC
public static final ASTNode.Type FUNCTION_ARCCSCH
public static final ASTNode.Type FUNCTION_ARCSEC
public static final ASTNode.Type FUNCTION_ARCSECH
public static final ASTNode.Type FUNCTION_ARCSIN
public static final ASTNode.Type FUNCTION_ARCSINH
public static final ASTNode.Type FUNCTION_ARCTAN
public static final ASTNode.Type FUNCTION_ARCTANH
public static final ASTNode.Type FUNCTION_CEILING
public static final ASTNode.Type FUNCTION_COS
public static final ASTNode.Type FUNCTION_COSH
public static final ASTNode.Type FUNCTION_COT
public static final ASTNode.Type FUNCTION_COTH
public static final ASTNode.Type FUNCTION_CSC
public static final ASTNode.Type FUNCTION_CSCH
public static final ASTNode.Type FUNCTION_DELAY
public static final ASTNode.Type FUNCTION_EXP
public static final ASTNode.Type FUNCTION_FACTORIAL
public static final ASTNode.Type FUNCTION_FLOOR
public static final ASTNode.Type FUNCTION_LN
public static final ASTNode.Type FUNCTION_LOG
public static final ASTNode.Type FUNCTION_PIECEWISE
public static final ASTNode.Type FUNCTION_POWER
ASTNode
of this ASTNode.Type
represents a function call of
the 'pow' function. This function takes two arguments, the base and
the exponent. Alternatively, also POWER
can be used,
which represents the simple text symbol '^' to achieve the same
effect.public static final ASTNode.Type FUNCTION_ROOT
public static final ASTNode.Type FUNCTION_SEC
public static final ASTNode.Type FUNCTION_SECH
public static final ASTNode.Type FUNCTION_SIN
public static final ASTNode.Type FUNCTION_SINH
public static final ASTNode.Type FUNCTION_TAN
public static final ASTNode.Type FUNCTION_TANH
public static final ASTNode.Type INTEGER
public static final ASTNode.Type LAMBDA
public static final ASTNode.Type LOGICAL_AND
public static final ASTNode.Type LOGICAL_NOT
public static final ASTNode.Type LOGICAL_OR
public static final ASTNode.Type LOGICAL_XOR
public static final ASTNode.Type MINUS
public static final ASTNode.Type NAME
public static final ASTNode.Type NAME_AVOGADRO
public static final ASTNode.Type NAME_TIME
public static final ASTNode.Type PLUS
public static final ASTNode.Type POWER
ASTNode.Type
represents an operation with two children: a base
and an exponent. In textual form, this type is represented by the
symbol '^'.public static final ASTNode.Type RATIONAL
ASTNode
of this ASTNode.Type
contains two integer values:
a numerator and a denominator.public static final ASTNode.Type REAL
ASTNode.Type
of an ASTNode
that represents a single real
value, i.e., a double number.public static final ASTNode.Type REAL_E
ASTNode.Type
of an ASTNode
with a real value that is split in
a double mantissa and an integer exponent.public static final ASTNode.Type RELATIONAL_EQ
ASTNode
of this ASTNode.Type
represents the relation
symbol '=' to compare the values of all of its successors in the tree
for equality.public static final ASTNode.Type RELATIONAL_GEQ
public static final ASTNode.Type RELATIONAL_GT
public static final ASTNode.Type RELATIONAL_LEQ
public static final ASTNode.Type RELATIONAL_LT
public static final ASTNode.Type RELATIONAL_NEQ
public static final ASTNode.Type TIMES
public static final ASTNode.Type UNKNOWN
public static ASTNode.Type[] values()
for (ASTNode.Type c : ASTNode.Type.values()) System.out.println(c);
public static ASTNode.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ASTNode.Type getTypeFor(java.lang.String type)
ASTNode.Type
corresponding to the given String
.type
- e.g., sin, asin, exp, and so on. See the specification of
the MathML subset used in SBML.String
or
UNKNOWN
if no matching can be found.public boolean isDefinedIn(int level, int version)
level
- version
-