Module: RBelly

Defined in:
lib/rbelly.rb,
lib/rbelly/token.rb,
lib/rbelly/js/nan.rb,
lib/rbelly/lexeme.rb,
lib/rbelly/parser.rb,
lib/rbelly/js/base.rb,
lib/rbelly/js/math.rb,
lib/rbelly/runtime.rb,
lib/rbelly/js/array.rb,
lib/rbelly/js/scope.rb,
lib/rbelly/constants.rb,
lib/rbelly/js/number.rb,
lib/rbelly/js/object.rb,
lib/rbelly/js/string.rb,
lib/rbelly/tokenizer.rb,
lib/rbelly/visitable.rb,
lib/rbelly/js/boolean.rb,
lib/rbelly/nodes/node.rb,
lib/rbelly/js/function.rb,
lib/rbelly/js/property.rb,
lib/rbelly/syntax_error.rb,
lib/rbelly/bellejs/class.rb,
lib/rbelly/nodes/if_node.rb,
lib/rbelly/nodes/for_node.rb,
lib/rbelly/nodes/try_node.rb,
lib/rbelly/generated_parser.rb,
lib/rbelly/js/global_object.rb,
lib/rbelly/nodes/comma_node.rb,
lib/rbelly/nodes/label_node.rb,
lib/rbelly/visitors/visitor.rb,
lib/rbelly/nodes/binary_node.rb,
lib/rbelly/nodes/for_in_node.rb,
lib/rbelly/nodes/prefix_node.rb,
lib/rbelly/nodes/postfix_node.rb,
lib/rbelly/nodes/resolve_node.rb,
lib/rbelly/js/object_prototype.rb,
lib/rbelly/nodes/new_expr_node.rb,
lib/rbelly/nodes/op_equal_node.rb,
lib/rbelly/nodes/property_node.rb,
lib/rbelly/nodes/var_decl_node.rb,
lib/rbelly/runtime/scope_chain.rb,
lib/rbelly/visitors/dot_visitor.rb,
lib/rbelly/js/function_prototype.rb,
lib/rbelly/runtime/ruby_function.rb,
lib/rbelly/visitors/ecma_visitor.rb,
lib/rbelly/visitors/sexp_visitor.rb,
lib/rbelly/nodes/case_clause_node.rb,
lib/rbelly/nodes/conditional_node.rb,
lib/rbelly/nodes/dot_accessor_node.rb,
lib/rbelly/nodes/strict_equal_node.rb,
lib/rbelly/nodes/bellejs/class_node.rb,
lib/rbelly/nodes/function_call_node.rb,
lib/rbelly/nodes/function_decl_node.rb,
lib/rbelly/nodes/function_expr_node.rb,
lib/rbelly/nodes/bellejs/import_node.rb,
lib/rbelly/visitors/function_visitor.rb,
lib/rbelly/visitors/pointcut_visitor.rb,
lib/rbelly/nodes/bellejs/extends_node.rb,
lib/rbelly/visitors/real_sexp_visitor.rb,
lib/rbelly/nodes/bracket_accessor_node.rb,
lib/rbelly/nodes/not_strict_equal_node.rb,
lib/rbelly/visitors/enumerable_visitor.rb,
lib/rbelly/nodes/bellejs/bellejs_var_statement_node.rb,
lib/rbelly/nodes/bellejs/bellejs_func_statement_node.rb

Defined Under Namespace

Modules: BELLEJS, JS, Nodes, Visitable, Visitors Classes: GeneratedParser, Lexeme, Parser, Runtime, SyntaxError, Token, Tokenizer

Constant Summary collapse

VERSION =
'2.1.5'

Class Method Summary collapse

Class Method Details

.parse(*args) ⇒ Object



10
11
12
# File 'lib/rbelly.rb', line 10

def parse *args
  RBelly::Parser.new.parse(*args)
end