Package pysynphot :: Module spparser :: Class Interpreter
[hide private]
[frames] | no frames]

Class Interpreter

source code


Instance Methods [hide private]
 
__init__(self, ast) source code
 
error(self, token) source code
 
p_int(self, tree)
V ::= INTEGER
source code
 
p_float(self, tree)
V ::= FLOAT
source code
 
p_identifier(self, tree)
V ::= IDENTIFIER
source code
 
p_factor_unary_plus(self, tree)
V ::= factor ( + V )
source code
 
p_factor_unary_minus(self, tree)
V ::= factor ( - V )
source code
 
p_expr_plus(self, tree)
V ::= expr ( V + V )
source code
 
p_expr_minus(self, tree)
V ::= expr ( V - V )
source code
 
p_term_mult(self, tree)
V ::= term ( V * V )
source code
 
p_term_div(self, tree)
V ::= term ( V / V )
source code
 
p_value_paren(self, tree)
V ::= value ( LPAREN V RPAREN )
source code
 
p_arglist(self, tree)
V ::= arglist ( V , V )
source code
 
p_functioncall(self, tree)
V ::= function_call ( V LPAREN V RPAREN )
source code

Inherited from spark.GenericASTMatcher: foundMatch, match, match_r, preprocess, resolve

Inherited from spark.GenericParser: addRule, ambiguity, augment, buildState, buildTree, buildTree_r, collectRules, makeFIRST, parse, typestring

Class Variables [hide private]

Inherited from spark.GenericParser (private): _EOF, _START

Method Details [hide private]

__init__(self, ast)
(Constructor)

source code 
Overrides: spark.GenericParser.__init__

error(self, token)

source code 
Overrides: spark.GenericParser.error