| |
- builtins.object
-
- ASTVisitor
-
- ASTPrinter
- ExpressionCreator
-
- SimpleExpressionCreator
-
- BooleanExpressionCreator
- ArithmeticASTNode
-
- ArithmeticASTExpression
- ArithmeticASTFactor
- ArithmeticASTFunction
- ArithmeticASTRestExpression
- ArithmeticASTRestTerm
- ArithmeticASTTerm
- ArithmeticASTValue
- ArithmeticScanner
-
- BooleanExpressionScanner
- Expression
-
- BinaryExpression
-
- AddExpression
- AndExpression
- DivideExpression
- EqualsExpression
- GTE_Expression
- GT_Expression
- LTE_Expression
- LT_Expression
- MaxExpression
- MinExpression
- MultiplyExpression
- OrExpression
- SubtractExpression
- ITEExpression
- LiteralExpression
- MetaMaxExpression
- MetaMinExpression
- NaryExpression
- UnaryExpression
-
- AbsoluteValueExpression
- NotExpression
- SquarerootExpression
- VariableExpression
- Token
-
- FunctionToken
- LiteralToken
- SimpleToken
- VariableToken
- TokenSet
- TokenType
class ASTPrinter(ASTVisitor) |
|
Traverse the AST and print it to standard out |
|
- Method resolution order:
- ASTPrinter
- ASTVisitor
- builtins.object
Methods defined here:
- __init__(...) from builtins.PyCapsule
- __init__(handle) -> NoneType
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- ast_string(...) from builtins.PyCapsule
- ast_string(self : rosetta.numeric.expression_parser.ASTPrinter, node : rosetta.numeric.expression_parser.ArithmeticASTNode) -> str
- pretty(...) from builtins.PyCapsule
- pretty(self : rosetta.numeric.expression_parser.ASTPrinter, setting : bool) -> NoneType
- visit(...) from builtins.PyCapsule
- visit(*args, **kwargs)
Overloaded function.
1. visit(self : rosetta.numeric.expression_parser.ASTPrinter, : rosetta.numeric.expression_parser.ArithmeticASTExpression) -> NoneType
2. visit(self : rosetta.numeric.expression_parser.ASTPrinter, : rosetta.numeric.expression_parser.ArithmeticASTFunction) -> NoneType
3. visit(self : rosetta.numeric.expression_parser.ASTPrinter, : rosetta.numeric.expression_parser.ArithmeticASTTerm) -> NoneType
4. visit(self : rosetta.numeric.expression_parser.ASTPrinter, : rosetta.numeric.expression_parser.ArithmeticASTFactor) -> NoneType
5. visit(self : rosetta.numeric.expression_parser.ASTPrinter, : rosetta.numeric.expression_parser.ArithmeticASTValue) -> NoneType
6. visit(self : rosetta.numeric.expression_parser.ASTPrinter, : rosetta.numeric.expression_parser.ArithmeticASTRestTerm) -> NoneType
7. visit(self : rosetta.numeric.expression_parser.ASTPrinter, : rosetta.numeric.expression_parser.ArithmeticASTRestExpression) -> NoneType
8. visit(self : rosetta.numeric.expression_parser.ASTPrinter, : rosetta.numeric.expression_parser.ArithmeticASTNode) -> NoneType
Methods inherited from ASTVisitor:
- assign(...) from builtins.PyCapsule
- assign(self : rosetta.numeric.expression_parser.ASTVisitor, : rosetta.numeric.expression_parser.ASTVisitor) -> rosetta.numeric.expression_parser.ASTVisitor
|
class ASTVisitor(builtins.object) |
|
Double-dispatch visitor pattern for abstract syntax tree |
|
Methods defined here:
- __init__(...) from builtins.PyCapsule
- __init__(*args, **kwargs)
Overloaded function.
1. __init__(rosetta.numeric.expression_parser.ASTVisitor) -> NoneType
2. __init__(rosetta.numeric.expression_parser.ASTVisitor, rosetta.numeric.expression_parser.ASTVisitor) -> NoneType
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- assign(...) from builtins.PyCapsule
- assign(self : rosetta.numeric.expression_parser.ASTVisitor, : rosetta.numeric.expression_parser.ASTVisitor) -> rosetta.numeric.expression_parser.ASTVisitor
- visit(...) from builtins.PyCapsule
- visit(*args, **kwargs)
Overloaded function.
1. visit(self : rosetta.numeric.expression_parser.ASTVisitor, : rosetta.numeric.expression_parser.ArithmeticASTExpression) -> NoneType
2. visit(self : rosetta.numeric.expression_parser.ASTVisitor, : rosetta.numeric.expression_parser.ArithmeticASTFunction) -> NoneType
3. visit(self : rosetta.numeric.expression_parser.ASTVisitor, : rosetta.numeric.expression_parser.ArithmeticASTTerm) -> NoneType
4. visit(self : rosetta.numeric.expression_parser.ASTVisitor, : rosetta.numeric.expression_parser.ArithmeticASTFactor) -> NoneType
5. visit(self : rosetta.numeric.expression_parser.ASTVisitor, : rosetta.numeric.expression_parser.ArithmeticASTValue) -> NoneType
6. visit(self : rosetta.numeric.expression_parser.ASTVisitor, : rosetta.numeric.expression_parser.ArithmeticASTRestTerm) -> NoneType
7. visit(self : rosetta.numeric.expression_parser.ASTVisitor, : rosetta.numeric.expression_parser.ArithmeticASTRestExpression) -> NoneType
8. visit(self : rosetta.numeric.expression_parser.ASTVisitor, : rosetta.numeric.expression_parser.ArithmeticASTNode) -> NoneType
|
class ArithmeticScanner(builtins.object) |
| |
Methods defined here:
- __init__(...) from builtins.PyCapsule
- __init__(*args, **kwargs)
Overloaded function.
1. __init__(rosetta.numeric.expression_parser.ArithmeticScanner) -> NoneType
2. __init__(self : rosetta.numeric.expression_parser.ArithmeticScanner, : bool) -> NoneType
3. __init__(self : rosetta.numeric.expression_parser.ArithmeticScanner, : rosetta.numeric.expression_parser.ArithmeticScanner) -> NoneType
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- add_function(...) from builtins.PyCapsule
- add_function(self : rosetta.numeric.expression_parser.ArithmeticScanner, name : str, nargs : int) -> NoneType
- add_standard_functions(...) from builtins.PyCapsule
- add_standard_functions(rosetta.numeric.expression_parser.ArithmeticScanner) -> NoneType
Add the functions min, max and sqrt.
- add_variable(...) from builtins.PyCapsule
- add_variable(self : rosetta.numeric.expression_parser.ArithmeticScanner, name : str) -> NoneType
- assign(...) from builtins.PyCapsule
- assign(self : rosetta.numeric.expression_parser.ArithmeticScanner, : rosetta.numeric.expression_parser.ArithmeticScanner) -> rosetta.numeric.expression_parser.ArithmeticScanner
- scan(...) from builtins.PyCapsule
- scan(self : rosetta.numeric.expression_parser.ArithmeticScanner, input_string : str) -> rosetta.numeric.expression_parser.TokenSet
|
class BinaryExpression(Expression) |
| |
- Method resolution order:
- BinaryExpression
- Expression
- builtins.object
Methods defined here:
- __init__(...) from builtins.PyCapsule
- __init__(*args, **kwargs)
Overloaded function.
1. __init__(rosetta.numeric.expression_parser.BinaryExpression) -> NoneType
2. __init__(self : rosetta.numeric.expression_parser.BinaryExpression, e1 : rosetta.numeric.expression_parser.Expression, e2 : rosetta.numeric.expression_parser.Expression) -> NoneType
3. __init__(rosetta.numeric.expression_parser.BinaryExpression, rosetta.numeric.expression_parser.BinaryExpression) -> NoneType
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- active_variables(...) from builtins.PyCapsule
- active_variables(rosetta.numeric.expression_parser.BinaryExpression) -> rosetta.std.list_std_string_std_allocator_std_string_t
- assign(...) from builtins.PyCapsule
- assign(self : rosetta.numeric.expression_parser.BinaryExpression, : rosetta.numeric.expression_parser.BinaryExpression) -> rosetta.numeric.expression_parser.BinaryExpression
- e1(...) from builtins.PyCapsule
- e1(rosetta.numeric.expression_parser.BinaryExpression) -> rosetta.numeric.expression_parser.Expression
- e2(...) from builtins.PyCapsule
- e2(rosetta.numeric.expression_parser.BinaryExpression) -> rosetta.numeric.expression_parser.Expression
- set_first_expression(...) from builtins.PyCapsule
- set_first_expression(self : rosetta.numeric.expression_parser.BinaryExpression, e1 : rosetta.numeric.expression_parser.Expression) -> NoneType
- set_second_expression(...) from builtins.PyCapsule
- set_second_expression(self : rosetta.numeric.expression_parser.BinaryExpression, e2 : rosetta.numeric.expression_parser.Expression) -> NoneType
Methods inherited from Expression:
- __call__(...) from builtins.PyCapsule
- __call__(rosetta.numeric.expression_parser.Expression) -> float
- differentiate(...) from builtins.PyCapsule
- differentiate(self : rosetta.numeric.expression_parser.Expression, varname : str) -> rosetta.numeric.expression_parser.Expression
Returns the expression for the partial derivative of this expression
by the variable named varname. If the partial derivative is always zero with respect
to varname, returns null.
|
class BooleanExpressionCreator(SimpleExpressionCreator) |
| |
- Method resolution order:
- BooleanExpressionCreator
- SimpleExpressionCreator
- ExpressionCreator
- ASTVisitor
- builtins.object
Methods defined here:
- __init__(...) from builtins.PyCapsule
- __init__(*args, **kwargs)
Overloaded function.
1. __init__(handle) -> NoneType
2. __init__(self : handle, varnames : rosetta.std.list_std_string_std_allocator_std_string_t) -> NoneType
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- assign(...) from builtins.PyCapsule
- assign(self : rosetta.numeric.expression_parser.BooleanExpressionCreator, : rosetta.numeric.expression_parser.BooleanExpressionCreator) -> rosetta.numeric.expression_parser.BooleanExpressionCreator
- handle_function_expression(...) from builtins.PyCapsule
- handle_function_expression(self : rosetta.numeric.expression_parser.BooleanExpressionCreator, function : rosetta.numeric.expression_parser.FunctionToken, args : rosetta.utility.vector1_std_shared_ptr_const_numeric_expression_parser_Expression_t) -> numeric::expression_parser::Expression
Methods inherited from SimpleExpressionCreator:
- add_variable(...) from builtins.PyCapsule
- add_variable(self : rosetta.numeric.expression_parser.SimpleExpressionCreator, varname : str) -> NoneType
- get_variable(...) from builtins.PyCapsule
- get_variable(self : rosetta.numeric.expression_parser.SimpleExpressionCreator, varname : str) -> numeric::expression_parser::VariableExpression
- handle_variable_expression(...) from builtins.PyCapsule
- handle_variable_expression(self : rosetta.numeric.expression_parser.SimpleExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTValue) -> numeric::expression_parser::Expression
- variables(...) from builtins.PyCapsule
- variables(rosetta.numeric.expression_parser.SimpleExpressionCreator) -> rosetta.std.map_std_string_std_shared_ptr_numeric_expression_parser_VariableExpression_t
Methods inherited from ExpressionCreator:
- create_expression_tree(...) from builtins.PyCapsule
- create_expression_tree(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTExpression) -> numeric::expression_parser::Expression
- visit(...) from builtins.PyCapsule
- visit(*args, **kwargs)
Overloaded function.
1. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTExpression) -> NoneType
2. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTFunction) -> NoneType
3. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTTerm) -> NoneType
4. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTFactor) -> NoneType
5. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTValue) -> NoneType
6. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTRestTerm) -> NoneType
7. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTRestExpression) -> NoneType
8. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTNode) -> NoneType
|
class Expression(builtins.object) |
|
Pure virtual base class to define arbitrary expressions for
scripting arithmetic operations (e.g. addition and multipliction). |
|
Methods defined here:
- __call__(...) from builtins.PyCapsule
- __call__(rosetta.numeric.expression_parser.Expression) -> float
- __init__(...) from builtins.PyCapsule
- __init__(*args, **kwargs)
Overloaded function.
1. __init__(rosetta.numeric.expression_parser.Expression) -> NoneType
2. __init__(rosetta.numeric.expression_parser.Expression, rosetta.numeric.expression_parser.Expression) -> NoneType
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- active_variables(...) from builtins.PyCapsule
- active_variables(rosetta.numeric.expression_parser.Expression) -> rosetta.std.list_std_string_std_allocator_std_string_t
- assign(...) from builtins.PyCapsule
- assign(self : rosetta.numeric.expression_parser.Expression, : rosetta.numeric.expression_parser.Expression) -> rosetta.numeric.expression_parser.Expression
- differentiate(...) from builtins.PyCapsule
- differentiate(self : rosetta.numeric.expression_parser.Expression, varname : str) -> rosetta.numeric.expression_parser.Expression
Returns the expression for the partial derivative of this expression
by the variable named varname. If the partial derivative is always zero with respect
to varname, returns null.
|
class ExpressionCreator(ASTVisitor) |
|
Class to traverse the abstract syntax tree
produced by the parsing of a properly-formed string in the
Arithmetic expression language. Produces an Expression tree
capable of performing arithmetic. Connects the "variable" nodes
in this tree to the owning WrapperOptEMultifunc so that their
values can be retrieved during expression evaluation inside
the WrapperOptEMultifunc functor. |
|
- Method resolution order:
- ExpressionCreator
- ASTVisitor
- builtins.object
Methods defined here:
- __init__(...) from builtins.PyCapsule
- __init__(*args, **kwargs)
Overloaded function.
1. __init__(handle) -> NoneType
2. __init__(handle, rosetta.numeric.expression_parser.ExpressionCreator) -> NoneType
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- assign(...) from builtins.PyCapsule
- assign(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ExpressionCreator) -> rosetta.numeric.expression_parser.ExpressionCreator
- create_expression_tree(...) from builtins.PyCapsule
- create_expression_tree(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTExpression) -> numeric::expression_parser::Expression
- handle_function_expression(...) from builtins.PyCapsule
- handle_function_expression(self : rosetta.numeric.expression_parser.ExpressionCreator, function : rosetta.numeric.expression_parser.FunctionToken, args : rosetta.utility.vector1_std_shared_ptr_const_numeric_expression_parser_Expression_t) -> numeric::expression_parser::Expression
Factory method to be implemented by derived classes
which may wish to handle function expressions in a specific manner
- handle_variable_expression(...) from builtins.PyCapsule
- handle_variable_expression(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTValue) -> numeric::expression_parser::Expression
Factory method to be implemented by derived classes
which may wish to handle variable expressions in a specific manner
- visit(...) from builtins.PyCapsule
- visit(*args, **kwargs)
Overloaded function.
1. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTExpression) -> NoneType
2. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTFunction) -> NoneType
3. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTTerm) -> NoneType
4. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTFactor) -> NoneType
5. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTValue) -> NoneType
6. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTRestTerm) -> NoneType
7. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTRestExpression) -> NoneType
8. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTNode) -> NoneType
|
class FunctionToken(Token) |
| |
- Method resolution order:
- FunctionToken
- Token
- builtins.object
Methods defined here:
- __init__(...) from builtins.PyCapsule
- __init__(*args, **kwargs)
Overloaded function.
1. __init__(handle) -> NoneType
2. __init__(self : handle, name : str, nargs : int) -> NoneType
3. __init__(handle, rosetta.numeric.expression_parser.FunctionToken) -> NoneType
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- assign(...) from builtins.PyCapsule
- assign(self : rosetta.numeric.expression_parser.FunctionToken, : rosetta.numeric.expression_parser.FunctionToken) -> rosetta.numeric.expression_parser.FunctionToken
- name(...) from builtins.PyCapsule
- name(*args, **kwargs)
Overloaded function.
1. name(rosetta.numeric.expression_parser.FunctionToken) -> str
2. name(self : rosetta.numeric.expression_parser.FunctionToken, name : str) -> NoneType
- nargs(...) from builtins.PyCapsule
- nargs(*args, **kwargs)
Overloaded function.
1. nargs(rosetta.numeric.expression_parser.FunctionToken) -> int
2. nargs(self : rosetta.numeric.expression_parser.FunctionToken, setting : int) -> NoneType
- to_string(...) from builtins.PyCapsule
- to_string(rosetta.numeric.expression_parser.FunctionToken) -> str
- type(...) from builtins.PyCapsule
- type(rosetta.numeric.expression_parser.FunctionToken) -> rosetta.numeric.expression_parser.TokenType
|
class SimpleExpressionCreator(ExpressionCreator) |
| |
- Method resolution order:
- SimpleExpressionCreator
- ExpressionCreator
- ASTVisitor
- builtins.object
Methods defined here:
- __init__(...) from builtins.PyCapsule
- __init__(*args, **kwargs)
Overloaded function.
1. __init__(handle) -> NoneType
2. __init__(self : handle, varnames : rosetta.std.list_std_string_std_allocator_std_string_t) -> NoneType
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- add_variable(...) from builtins.PyCapsule
- add_variable(self : rosetta.numeric.expression_parser.SimpleExpressionCreator, varname : str) -> NoneType
- assign(...) from builtins.PyCapsule
- assign(self : rosetta.numeric.expression_parser.SimpleExpressionCreator, : rosetta.numeric.expression_parser.SimpleExpressionCreator) -> rosetta.numeric.expression_parser.SimpleExpressionCreator
- get_variable(...) from builtins.PyCapsule
- get_variable(self : rosetta.numeric.expression_parser.SimpleExpressionCreator, varname : str) -> numeric::expression_parser::VariableExpression
- handle_variable_expression(...) from builtins.PyCapsule
- handle_variable_expression(self : rosetta.numeric.expression_parser.SimpleExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTValue) -> numeric::expression_parser::Expression
- variables(...) from builtins.PyCapsule
- variables(rosetta.numeric.expression_parser.SimpleExpressionCreator) -> rosetta.std.map_std_string_std_shared_ptr_numeric_expression_parser_VariableExpression_t
Methods inherited from ExpressionCreator:
- create_expression_tree(...) from builtins.PyCapsule
- create_expression_tree(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTExpression) -> numeric::expression_parser::Expression
- handle_function_expression(...) from builtins.PyCapsule
- handle_function_expression(self : rosetta.numeric.expression_parser.ExpressionCreator, function : rosetta.numeric.expression_parser.FunctionToken, args : rosetta.utility.vector1_std_shared_ptr_const_numeric_expression_parser_Expression_t) -> numeric::expression_parser::Expression
Factory method to be implemented by derived classes
which may wish to handle function expressions in a specific manner
- visit(...) from builtins.PyCapsule
- visit(*args, **kwargs)
Overloaded function.
1. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTExpression) -> NoneType
2. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTFunction) -> NoneType
3. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTTerm) -> NoneType
4. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTFactor) -> NoneType
5. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTValue) -> NoneType
6. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTRestTerm) -> NoneType
7. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTRestExpression) -> NoneType
8. visit(self : rosetta.numeric.expression_parser.ExpressionCreator, : rosetta.numeric.expression_parser.ArithmeticASTNode) -> NoneType
|
class TokenSet(builtins.object) |
| |
Methods defined here:
- __init__(...) from builtins.PyCapsule
- __init__(rosetta.numeric.expression_parser.TokenSet) -> NoneType
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- append(...) from builtins.PyCapsule
- append(self : rosetta.numeric.expression_parser.TokenSet, token : rosetta.numeric.expression_parser.Token) -> NoneType
- assign(...) from builtins.PyCapsule
- assign(self : rosetta.numeric.expression_parser.TokenSet, : rosetta.numeric.expression_parser.TokenSet) -> rosetta.numeric.expression_parser.TokenSet
- empty(...) from builtins.PyCapsule
- empty(rosetta.numeric.expression_parser.TokenSet) -> bool
Are there no more tokens remaining?
- log_error(...) from builtins.PyCapsule
- log_error(rosetta.numeric.expression_parser.TokenSet) -> NoneType
Print contents after parser has encountered an error.
- pop(...) from builtins.PyCapsule
- pop(rosetta.numeric.expression_parser.TokenSet) -> NoneType
- print(...) from builtins.PyCapsule
- print(rosetta.numeric.expression_parser.TokenSet) -> str
- top(...) from builtins.PyCapsule
- top(rosetta.numeric.expression_parser.TokenSet) -> rosetta.numeric.expression_parser.Token
|
class TokenType(builtins.object) |
| |
Methods defined here:
- __eq__(...) from builtins.PyCapsule
- __eq__(rosetta.numeric.expression_parser.TokenType, rosetta.numeric.expression_parser.TokenType) -> bool
- __hash__(...) from builtins.PyCapsule
- __hash__(rosetta.numeric.expression_parser.TokenType) -> int
- __init__(...) from builtins.PyCapsule
- __init__(*args, **kwargs)
Overloaded function.
1. __init__(rosetta.numeric.expression_parser.TokenType, int) -> NoneType
2. __init__(rosetta.numeric.expression_parser.TokenType, int) -> NoneType
- __int__(...) from builtins.PyCapsule
- __int__(rosetta.numeric.expression_parser.TokenType) -> int
- __ne__(...) from builtins.PyCapsule
- __ne__(rosetta.numeric.expression_parser.TokenType, rosetta.numeric.expression_parser.TokenType) -> bool
- __new__(*args, **kwargs) from builtins.type
- Create and return a new object. See help(type) for accurate signature.
- __repr__(...) from builtins.PyCapsule
- __repr__(rosetta.numeric.expression_parser.TokenType) -> str
Data and other attributes defined here:
- COMMA = TokenType.COMMA
- DIVIDE_SYMBOL = TokenType.DIVIDE_SYMBOL
- FUNCTION = TokenType.FUNCTION
- INVALID_TOKEN_TYPE = TokenType.INVALID_TOKEN_TYPE
- LEFT_PAREN = TokenType.LEFT_PAREN
- LITERAL = TokenType.LITERAL
- MULTIPLY_SYMBOL = TokenType.MULTIPLY_SYMBOL
- PLUS_SYMBOL = TokenType.PLUS_SYMBOL
- RIGHT_PAREN = TokenType.RIGHT_PAREN
- SUBTRACT_SYMBOL = TokenType.SUBTRACT_SYMBOL
- VARIABLE = TokenType.VARIABLE
|
|