org.python.parser
Class Visitor
java.lang.Object
org.python.parser.Visitor
- Direct Known Subclasses:
- ArgListCompiler, CodeCompiler, ScopesCompiler
- public class Visitor
- extends Object
Visitor
public Visitor()
single_input
public Object single_input(SimpleNode n)
throws Exception
- Throws:
Exception
file_input
public Object file_input(SimpleNode n)
throws Exception
- Throws:
Exception
eval_input
public Object eval_input(SimpleNode n)
throws Exception
- Throws:
Exception
funcdef
public Object funcdef(SimpleNode n)
throws Exception
- Throws:
Exception
varargslist
public Object varargslist(SimpleNode n)
throws Exception
- Throws:
Exception
ExtraArgList
public Object ExtraArgList(SimpleNode n)
throws Exception
- Throws:
Exception
ExtraKeywordList
public Object ExtraKeywordList(SimpleNode n)
throws Exception
- Throws:
Exception
defaultarg
public Object defaultarg(SimpleNode n)
throws Exception
- Throws:
Exception
fplist
public Object fplist(SimpleNode n)
throws Exception
- Throws:
Exception
expr_stmt
public Object expr_stmt(SimpleNode n)
throws Exception
- Throws:
Exception
print_stmt
public Object print_stmt(SimpleNode n)
throws Exception
- Throws:
Exception
print_ext
public Object print_ext(SimpleNode n)
throws Exception
- Throws:
Exception
del_stmt
public Object del_stmt(SimpleNode n)
throws Exception
- Throws:
Exception
pass_stmt
public Object pass_stmt(SimpleNode n)
throws Exception
- Throws:
Exception
break_stmt
public Object break_stmt(SimpleNode n)
throws Exception
- Throws:
Exception
continue_stmt
public Object continue_stmt(SimpleNode n)
throws Exception
- Throws:
Exception
return_stmt
public Object return_stmt(SimpleNode n)
throws Exception
- Throws:
Exception
raise_stmt
public Object raise_stmt(SimpleNode n)
throws Exception
- Throws:
Exception
Import
public Object Import(SimpleNode n)
throws Exception
- Throws:
Exception
ImportFrom
public Object ImportFrom(SimpleNode n)
throws Exception
- Throws:
Exception
dotted_name
public Object dotted_name(SimpleNode n)
throws Exception
- Throws:
Exception
global_stmt
public Object global_stmt(SimpleNode n)
throws Exception
- Throws:
Exception
exec_stmt
public Object exec_stmt(SimpleNode n)
throws Exception
- Throws:
Exception
assert_stmt
public Object assert_stmt(SimpleNode n)
throws Exception
- Throws:
Exception
if_stmt
public Object if_stmt(SimpleNode n)
throws Exception
- Throws:
Exception
while_stmt
public Object while_stmt(SimpleNode n)
throws Exception
- Throws:
Exception
for_stmt
public Object for_stmt(SimpleNode n)
throws Exception
- Throws:
Exception
try_stmt
public Object try_stmt(SimpleNode n)
throws Exception
- Throws:
Exception
except_clause
public Object except_clause(SimpleNode n)
throws Exception
- Throws:
Exception
suite
public Object suite(SimpleNode n)
throws Exception
- Throws:
Exception
or_boolean
public Object or_boolean(SimpleNode n)
throws Exception
- Throws:
Exception
and_boolean
public Object and_boolean(SimpleNode n)
throws Exception
- Throws:
Exception
not_1op
public Object not_1op(SimpleNode n)
throws Exception
- Throws:
Exception
comparision
public Object comparision(SimpleNode n)
throws Exception
- Throws:
Exception
less_cmp
public Object less_cmp(SimpleNode n)
throws Exception
- Throws:
Exception
greater_cmp
public Object greater_cmp(SimpleNode n)
throws Exception
- Throws:
Exception
equal_cmp
public Object equal_cmp(SimpleNode n)
throws Exception
- Throws:
Exception
greater_equal_cmp
public Object greater_equal_cmp(SimpleNode n)
throws Exception
- Throws:
Exception
less_equal_cmp
public Object less_equal_cmp(SimpleNode n)
throws Exception
- Throws:
Exception
notequal_cmp
public Object notequal_cmp(SimpleNode n)
throws Exception
- Throws:
Exception
rightdiredge
public Object rightdiredge(SimpleNode n)
throws Exception
- Throws:
Exception
leftdiredge
public Object leftdiredge(SimpleNode n)
throws Exception
- Throws:
Exception
questionm
public Object questionm(SimpleNode n)
throws Exception
- Throws:
Exception
bidiredge
public Object bidiredge(SimpleNode n)
throws Exception
- Throws:
Exception
like
public Object like(SimpleNode n)
throws Exception
- Throws:
Exception
roverlaps
public Object roverlaps(SimpleNode n)
throws Exception
- Throws:
Exception
rcontains
public Object rcontains(SimpleNode n)
throws Exception
- Throws:
Exception
rcontained
public Object rcontained(SimpleNode n)
throws Exception
- Throws:
Exception
rexact
public Object rexact(SimpleNode n)
throws Exception
- Throws:
Exception
in_cmp
public Object in_cmp(SimpleNode n)
throws Exception
- Throws:
Exception
not_in_cmp
public Object not_in_cmp(SimpleNode n)
throws Exception
- Throws:
Exception
is_not_cmp
public Object is_not_cmp(SimpleNode n)
throws Exception
- Throws:
Exception
is_cmp
public Object is_cmp(SimpleNode n)
throws Exception
- Throws:
Exception
or_2op
public Object or_2op(SimpleNode n)
throws Exception
- Throws:
Exception
xor_2op
public Object xor_2op(SimpleNode n)
throws Exception
- Throws:
Exception
and_2op
public Object and_2op(SimpleNode n)
throws Exception
- Throws:
Exception
lshift_2op
public Object lshift_2op(SimpleNode n)
throws Exception
- Throws:
Exception
rshift_2op
public Object rshift_2op(SimpleNode n)
throws Exception
- Throws:
Exception
add_2op
public Object add_2op(SimpleNode n)
throws Exception
- Throws:
Exception
sub_2op
public Object sub_2op(SimpleNode n)
throws Exception
- Throws:
Exception
mul_2op
public Object mul_2op(SimpleNode n)
throws Exception
- Throws:
Exception
div_2op
public Object div_2op(SimpleNode n)
throws Exception
- Throws:
Exception
mod_2op
public Object mod_2op(SimpleNode n)
throws Exception
- Throws:
Exception
pos_1op
public Object pos_1op(SimpleNode n)
throws Exception
- Throws:
Exception
neg_1op
public Object neg_1op(SimpleNode n)
throws Exception
- Throws:
Exception
invert_1op
public Object invert_1op(SimpleNode n)
throws Exception
- Throws:
Exception
pow_2op
public Object pow_2op(SimpleNode n)
throws Exception
- Throws:
Exception
Call_Op
public Object Call_Op(SimpleNode n)
throws Exception
- Throws:
Exception
Index_Op
public Object Index_Op(SimpleNode n)
throws Exception
- Throws:
Exception
Dot_Op
public Object Dot_Op(SimpleNode n)
throws Exception
- Throws:
Exception
tuple
public Object tuple(SimpleNode n)
throws Exception
- Throws:
Exception
list
public Object list(SimpleNode n)
throws Exception
- Throws:
Exception
list_iter
public Object list_iter(SimpleNode n)
throws Exception
- Throws:
Exception
dictionary
public Object dictionary(SimpleNode n)
throws Exception
- Throws:
Exception
str_1op
public Object str_1op(SimpleNode n)
throws Exception
- Throws:
Exception
strjoin
public Object strjoin(SimpleNode n)
throws Exception
- Throws:
Exception
lambdef
public Object lambdef(SimpleNode n)
throws Exception
- Throws:
Exception
Ellipses
public Object Ellipses(SimpleNode n)
throws Exception
- Throws:
Exception
Slice
public Object Slice(SimpleNode n)
throws Exception
- Throws:
Exception
Colon
public Object Colon(SimpleNode n)
throws Exception
- Throws:
Exception
Comma
public Object Comma(SimpleNode n)
throws Exception
- Throws:
Exception
classdef
public Object classdef(SimpleNode n)
throws Exception
- Throws:
Exception
arglist
public Object arglist(SimpleNode n)
throws Exception
- Throws:
Exception
Keyword
public Object Keyword(SimpleNode n)
throws Exception
- Throws:
Exception
Int
public Object Int(SimpleNode n)
throws Exception
- Throws:
Exception
Float
public Object Float(SimpleNode n)
throws Exception
- Throws:
Exception
Complex
public Object Complex(SimpleNode n)
throws Exception
- Throws:
Exception
Name
public Object Name(SimpleNode n)
throws Exception
- Throws:
Exception
String
public Object String(SimpleNode n)
throws Exception
- Throws:
Exception
augassign
public Object augassign(SimpleNode n)
throws Exception
- Throws:
Exception
aug_plus
public Object aug_plus(SimpleNode n)
throws Exception
- Throws:
Exception
aug_minus
public Object aug_minus(SimpleNode n)
throws Exception
- Throws:
Exception
aug_multiply
public Object aug_multiply(SimpleNode n)
throws Exception
- Throws:
Exception
aug_divide
public Object aug_divide(SimpleNode n)
throws Exception
- Throws:
Exception
aug_modulo
public Object aug_modulo(SimpleNode n)
throws Exception
- Throws:
Exception
aug_and
public Object aug_and(SimpleNode n)
throws Exception
- Throws:
Exception
aug_or
public Object aug_or(SimpleNode n)
throws Exception
- Throws:
Exception
aug_xor
public Object aug_xor(SimpleNode n)
throws Exception
- Throws:
Exception
aug_lshift
public Object aug_lshift(SimpleNode n)
throws Exception
- Throws:
Exception
aug_rshift
public Object aug_rshift(SimpleNode n)
throws Exception
- Throws:
Exception
aug_power
public Object aug_power(SimpleNode n)
throws Exception
- Throws:
Exception