Parent

Methods

Class Index [+]

Quicksearch

RKelly::Visitors::SexpVisitor

Public Instance Methods

visit_AddNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 76
      def visit_AddNode(o)
        [:add, *super]
      end
visit_ArgumentsNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 344
      def visit_ArgumentsNode(o)
        [:args, super]
      end
visit_ArrayNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 324
      def visit_ArrayNode(o)
        [:array, super]
      end
visit_AssignExprNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 12
      def visit_AssignExprNode(o)
        [:assign, super]
      end
visit_BitAndNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 132
      def visit_BitAndNode(o)
        [:bit_and, *super]
      end
visit_BitOrNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 136
      def visit_BitOrNode(o)
        [:bit_or, *super]
      end
visit_BitXOrNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 140
      def visit_BitXOrNode(o)
        [:bit_xor, *super]
      end
visit_BitwiseNotNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 52
      def visit_BitwiseNotNode(o)
        [:bitwise_not, super]
      end
visit_BlockNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 184
      def visit_BlockNode(o)
        [:block, super]
      end
visit_BracketAccessorNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 216
      def visit_BracketAccessorNode(o)
        [:bracket_access, *super]
      end
visit_BreakNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 228
      def visit_BreakNode(o)
        [:break, o.value].compact
      end
visit_CaseBlockNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 172
      def visit_CaseBlockNode(o)
        [:case_block, super]
      end
visit_CaseClauseNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 168
      def visit_CaseClauseNode(o)
        [:case, *super]
      end
visit_CommaNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 316
      def visit_CommaNode(o)
        [:comma, *super]
      end
visit_ConditionalNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 192
      def visit_ConditionalNode(o)
        [:conditional, *super]
      end
visit_ConstStatementNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 60
      def visit_ConstStatementNode(o)
        [:const, super]
      end
visit_ContinueNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 232
      def visit_ContinueNode(o)
        [:continue, o.value].compact
      end
visit_DeleteNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 32
      def visit_DeleteNode(o)
        [:delete, super]
      end
visit_DivideNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 68
      def visit_DivideNode(o)
        [:divide, *super]
      end
visit_DoWhileNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 156
      def visit_DoWhileNode(o)
        [:do_while, *super]
      end
visit_DotAccessorNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 348
      def visit_DotAccessorNode(o)
        [:dot_access,
          super,
          o.accessor
        ]
      end
visit_ElementNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 260
      def visit_ElementNode(o)
        [:element, super ]
      end
visit_EmptyStatementNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 204
      def visit_EmptyStatementNode(o)
        [:empty]
      end
visit_EqualNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 116
      def visit_EqualNode(o)
        [:equal, *super]
      end
visit_ExpressionStatementNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 264
      def visit_ExpressionStatementNode(o)
        [:expression, super ]
      end
visit_FalseNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 363
      def visit_FalseNode(o)
        [:false]
      end
visit_ForInNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 196
      def visit_ForInNode(o)
        [ :for_in, *super]
      end
visit_ForNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 180
      def visit_ForNode(o)
        [ :for, *super]
      end
visit_FunctionBodyNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 208
      def visit_FunctionBodyNode(o)
        [:func_body, super]
      end
visit_FunctionCallNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 320
      def visit_FunctionCallNode(o)
        [:function_call, *super]
      end
visit_FunctionDeclNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 340
      def visit_FunctionDeclNode(o)
        [ :func_decl, *super]
      end
visit_FunctionExprNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 336
      def visit_FunctionExprNode(o)
        [ :func_expr, *super]
      end
visit_GetterPropertyNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 252
      def visit_GetterPropertyNode(o)
        [ :getter ] + super
      end
visit_GreaterNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 100
      def visit_GreaterNode(o)
        [:greater, *super]
      end
visit_GreaterOrEqualNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 108
      def visit_GreaterOrEqualNode(o)
        [:greater_or_equal, *super]
      end
visit_IfNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 188
      def visit_IfNode(o)
        [:if, *super].compact
      end
visit_InNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 152
      def visit_InNode(o)
        [:in, *super]
      end
visit_InstanceOfNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 112
      def visit_InstanceOfNode(o)
        [:instance_of, *super]
      end
visit_LabelNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 236
      def visit_LabelNode(o)
        [:label ] + super
      end
visit_LeftShiftNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 80
      def visit_LeftShiftNode(o)
        [:lshift, *super]
      end
visit_LessNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 96
      def visit_LessNode(o)
        [:less, *super]
      end
visit_LessOrEqualNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 104
      def visit_LessOrEqualNode(o)
        [:less_or_equal, *super]
      end
visit_LogicalAndNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 144
      def visit_LogicalAndNode(o)
        [:and, *super]
      end
visit_LogicalNotNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 56
      def visit_LogicalNotNode(o)
        [:not, super]
      end
visit_LogicalOrNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 148
      def visit_LogicalOrNode(o)
        [:or, *super]
      end
visit_ModulusNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 72
      def visit_ModulusNode(o)
        [:modulus, *super]
      end
visit_MultiplyNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 64
      def visit_MultiplyNode(o)
        [:multiply, *super]
      end
visit_NewExprNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 220
      def visit_NewExprNode(o)
        [:new_expr, *super]
      end
visit_NotEqualNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 120
      def visit_NotEqualNode(o)
        [:not_equal, *super]
      end
visit_NotStrictEqualNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 128
      def visit_NotStrictEqualNode(o)
        [:not_strict_equal, *super]
      end
visit_NullNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 355
      def visit_NullNode(o)
        [:nil]
      end
visit_NumberNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 4
      def visit_NumberNode(o)
        [:lit, o.value]
      end
visit_ObjectLiteralNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 244
      def visit_ObjectLiteralNode(o)
        [:object, super]
      end
visit_OpAndEqualNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 300
      def visit_OpAndEqualNode(o)
        [:op_and_equal, *super ]
      end
visit_OpDivideEqualNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 284
      def visit_OpDivideEqualNode(o)
        [:op_divide_equal, *super]
      end
visit_OpEqualNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 268
      def visit_OpEqualNode(o)
        [:op_equal, *super ]
      end
visit_OpLShiftEqualNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 288
      def visit_OpLShiftEqualNode(o)
        [:op_lshift_equal, *super ]
      end
visit_OpMinusEqualNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 276
      def visit_OpMinusEqualNode(o)
        [:op_minus_equal, *super ]
      end
visit_OpModEqualNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 312
      def visit_OpModEqualNode(o)
        [:op_mod_equal, *super]
      end
visit_OpMultiplyEqualNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 280
      def visit_OpMultiplyEqualNode(o)
        [:op_multiply_equal, *super ]
      end
visit_OpOrEqualNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 308
      def visit_OpOrEqualNode(o)
        [:op_or_equal, *super ]
      end
visit_OpPlusEqualNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 272
      def visit_OpPlusEqualNode(o)
        [:op_plus_equal, *super ]
      end
visit_OpRShiftEqualNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 292
      def visit_OpRShiftEqualNode(o)
        [:op_rshift_equal, *super ]
      end
visit_OpURShiftEqualNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 296
      def visit_OpURShiftEqualNode(o)
        [:op_urshift_equal, *super ]
      end
visit_OpXOrEqualNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 304
      def visit_OpXOrEqualNode(o)
        [:op_xor_equal, *super ]
      end
visit_ParameterNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 224
      def visit_ParameterNode(o)
        [:param, o.value]
      end
visit_PostfixNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 24
      def visit_PostfixNode(o)
        [:postfix, super, o.value]
      end
visit_PrefixNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 28
      def visit_PrefixNode(o)
        [:prefix, super, o.value]
      end
visit_PropertyNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 248
      def visit_PropertyNode(o)
        [ :property ] + super
      end
visit_RegexpNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 8
      def visit_RegexpNode(o)
        [:lit, o.value]
      end
visit_ResolveNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 212
      def visit_ResolveNode(o)
        [:resolve, o.value]
      end
visit_ReturnNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 332
      def visit_ReturnNode(o)
        o.value ? [:return, super] : [:return]
      end
visit_RightShiftNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 84
      def visit_RightShiftNode(o)
        [:rshift, *super]
      end
visit_SetterPropertyNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 256
      def visit_SetterPropertyNode(o)
        [ :setter ] + super
      end
visit_StrictEqualNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 124
      def visit_StrictEqualNode(o)
        [:strict_equal, *super]
      end
visit_StringNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 359
      def visit_StringNode(o)
        [:str, o.value]
      end
visit_SubtractNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 92
      def visit_SubtractNode(o)
        [:subtract, *super]
      end
visit_SwitchNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 176
      def visit_SwitchNode(o)
        [:switch, *super]
      end
visit_ThisNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 328
      def visit_ThisNode(o)
        [:this]
      end
visit_ThrowNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 240
      def visit_ThrowNode(o)
        [:throw, super]
      end
visit_TrueNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 367
      def visit_TrueNode(o)
        [:true]
      end
visit_TryNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 200
      def visit_TryNode(o)
        [ :try, *super]
      end
visit_TypeOfNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 40
      def visit_TypeOfNode(o)
        [:typeof, super]
      end
visit_UnaryMinusNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 48
      def visit_UnaryMinusNode(o)
        [:u_minus, super]
      end
visit_UnaryPlusNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 44
      def visit_UnaryPlusNode(o)
        [:u_plus, super]
      end
visit_UnsignedRightShiftNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 88
      def visit_UnsignedRightShiftNode(o)
        [:urshift, *super]
      end
visit_VarDeclNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 16
      def visit_VarDeclNode(o)
        [ o.constant? ? :const_decl : :var_decl ] + super(o)
      end
visit_VarStatementNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 20
      def visit_VarStatementNode(o)
        [:var, super]
      end
visit_VoidNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 36
      def visit_VoidNode(o)
        [:void, super]
      end
visit_WhileNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 160
      def visit_WhileNode(o)
        [:while, *super]
      end
visit_WithNode(o) click to toggle source

(Not documented)

# File lib/rkelly/visitors/sexp_visitor.rb, line 164
      def visit_WithNode(o)
        [:with, *super]
      end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.