org.python.parser
Class Visitor

java.lang.Object
  extended byorg.python.parser.Visitor
Direct Known Subclasses:
ArgListCompiler, CodeCompiler, ScopesCompiler

public class Visitor
extends Object


Constructor Summary
Visitor()
           
 
Method Summary
 Object add_2op(SimpleNode n)
           
 Object and_2op(SimpleNode n)
           
 Object and_boolean(SimpleNode n)
           
 Object arglist(SimpleNode n)
           
 Object assert_stmt(SimpleNode n)
           
 Object aug_and(SimpleNode n)
           
 Object aug_divide(SimpleNode n)
           
 Object aug_lshift(SimpleNode n)
           
 Object aug_minus(SimpleNode n)
           
 Object aug_modulo(SimpleNode n)
           
 Object aug_multiply(SimpleNode n)
           
 Object aug_or(SimpleNode n)
           
 Object aug_plus(SimpleNode n)
           
 Object aug_power(SimpleNode n)
           
 Object aug_rshift(SimpleNode n)
           
 Object aug_xor(SimpleNode n)
           
 Object augassign(SimpleNode n)
           
 Object bidiredge(SimpleNode n)
           
 Object break_stmt(SimpleNode n)
           
 Object Call_Op(SimpleNode n)
           
 Object classdef(SimpleNode n)
           
 Object Colon(SimpleNode n)
           
 Object Comma(SimpleNode n)
           
 Object comparision(SimpleNode n)
           
 Object Complex(SimpleNode n)
           
 Object continue_stmt(SimpleNode n)
           
 Object defaultarg(SimpleNode n)
           
 Object del_stmt(SimpleNode n)
           
 Object dictionary(SimpleNode n)
           
 Object div_2op(SimpleNode n)
           
 Object Dot_Op(SimpleNode n)
           
 Object dotted_name(SimpleNode n)
           
 Object Ellipses(SimpleNode n)
           
 Object equal_cmp(SimpleNode n)
           
 Object eval_input(SimpleNode n)
           
 Object except_clause(SimpleNode n)
           
 Object exec_stmt(SimpleNode n)
           
 Object expr_stmt(SimpleNode n)
           
 Object ExtraArgList(SimpleNode n)
           
 Object ExtraKeywordList(SimpleNode n)
           
 Object file_input(SimpleNode n)
           
 Object Float(SimpleNode n)
           
 Object for_stmt(SimpleNode n)
           
 Object fplist(SimpleNode n)
           
 Object funcdef(SimpleNode n)
           
 Object global_stmt(SimpleNode n)
           
 Object greater_cmp(SimpleNode n)
           
 Object greater_equal_cmp(SimpleNode n)
           
 Object if_stmt(SimpleNode n)
           
 Object Import(SimpleNode n)
           
 Object ImportFrom(SimpleNode n)
           
 Object in_cmp(SimpleNode n)
           
 Object Index_Op(SimpleNode n)
           
 Object Int(SimpleNode n)
           
 Object invert_1op(SimpleNode n)
           
 Object is_cmp(SimpleNode n)
           
 Object is_not_cmp(SimpleNode n)
           
 Object Keyword(SimpleNode n)
           
 Object lambdef(SimpleNode n)
           
 Object leftdiredge(SimpleNode n)
           
 Object less_cmp(SimpleNode n)
           
 Object less_equal_cmp(SimpleNode n)
           
 Object like(SimpleNode n)
           
 Object list_iter(SimpleNode n)
           
 Object list(SimpleNode n)
           
 Object lshift_2op(SimpleNode n)
           
 Object mod_2op(SimpleNode n)
           
 Object mul_2op(SimpleNode n)
           
 Object Name(SimpleNode n)
           
 Object neg_1op(SimpleNode n)
           
 Object not_1op(SimpleNode n)
           
 Object not_in_cmp(SimpleNode n)
           
 Object notequal_cmp(SimpleNode n)
           
 Object or_2op(SimpleNode n)
           
 Object or_boolean(SimpleNode n)
           
 Object pass_stmt(SimpleNode n)
           
 Object pos_1op(SimpleNode n)
           
 Object pow_2op(SimpleNode n)
           
 Object print_ext(SimpleNode n)
           
 Object print_stmt(SimpleNode n)
           
 Object questionm(SimpleNode n)
           
 Object raise_stmt(SimpleNode n)
           
 Object rcontained(SimpleNode n)
           
 Object rcontains(SimpleNode n)
           
 Object return_stmt(SimpleNode n)
           
 Object rexact(SimpleNode n)
           
 Object rightdiredge(SimpleNode n)
           
 Object roverlaps(SimpleNode n)
           
 Object rshift_2op(SimpleNode n)
           
 Object single_input(SimpleNode n)
           
 Object Slice(SimpleNode n)
           
 Object str_1op(SimpleNode n)
           
 Object String(SimpleNode n)
           
 Object strjoin(SimpleNode n)
           
 Object sub_2op(SimpleNode n)
           
 Object suite(SimpleNode n)
           
 Object try_stmt(SimpleNode n)
           
 Object tuple(SimpleNode n)
           
 Object varargslist(SimpleNode n)
           
 Object while_stmt(SimpleNode n)
           
 Object xor_2op(SimpleNode n)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Visitor

public Visitor()
Method Detail

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