class SyntaxTree::Translation::Parser
def visit_words(node)
def visit_words(node) visit_array( ArrayLiteral.new( lbracket: node.beginning, contents: Args.new(parts: node.elements, location: node.location), location: node.location ) ) end
Instance Methods
- # block_children
- # canonical_binary
- # canonical_unary
- # initialize
- # loop_post?
- # num_block_type
- # s
- # smap
- # smap_collection
- # smap_collection_bare
- # smap_condition
- # smap_condition_bare
- # smap_constant
- # smap_definition
- # smap_for
- # smap_heredoc
- # smap_index
- # smap_keyword
- # smap_keyword_bare
- # smap_method_definition
- # smap_operator
- # smap_rescue_body
- # smap_send
- # smap_send_bare
- # smap_ternary
- # smap_variable
- # srange
- # srange_find
- # srange_find_between
- # srange_length
- # srange_node
- # srange_search
- # srange_search_between
- # visit
- # visit_BEGIN
- # visit_CHAR
- # visit_END
- # visit_alias
- # visit_aref
- # visit_aref_field
- # visit_arg_block
- # visit_arg_star
- # visit_args_forward
- # visit_array
- # visit_aryptn
- # visit_assign
- # visit_assoc
- # visit_assoc_splat
- # visit_backref
- # visit_bare_assoc_hash
- # visit_begin
- # visit_binary
- # visit_block_var
- # visit_blockarg
- # visit_bodystmt
- # visit_break
- # visit_call
- # visit_case
- # visit_class
- # visit_command
- # visit_command_call
- # visit_const
- # visit_const_path_field
- # visit_const_path_ref
- # visit_const_ref
- # visit_cvar
- # visit_def
- # visit_defined
- # visit_dyna_symbol
- # visit_else
- # visit_elsif
- # visit_ensure
- # visit_field
- # visit_float
- # visit_fndptn
- # visit_for
- # visit_gvar
- # visit_hash
- # visit_heredoc
- # visit_hshptn
- # visit_ident
- # visit_if
- # visit_if_op
- # visit_imaginary
- # visit_in
- # visit_int
- # visit_ivar
- # visit_kw
- # visit_kwrest_param
- # visit_label
- # visit_lambda
- # visit_lambda_var
- # visit_massign
- # visit_method_add_block
- # visit_mlhs
- # visit_mlhs_paren
- # visit_module
- # visit_mrhs
- # visit_next
- # visit_not
- # visit_opassign
- # visit_params
- # visit_paren
- # visit_pinned_begin
- # visit_pinned_var_ref
- # visit_predicate
- # visit_program
- # visit_qsymbols
- # visit_qwords
- # visit_range
- # visit_rassign
- # visit_rational
- # visit_redo
- # visit_regexp_literal
- # visit_rescue
- # visit_rescue_mod
- # visit_rest_param
- # visit_retry
- # visit_return
- # visit_sclass
- # visit_statements
- # visit_string_concat
- # visit_string_dvar
- # visit_string_embexpr
- # visit_string_literal
- # visit_super
- # visit_symbol_literal
- # visit_symbols
- # visit_top_const_field
- # visit_top_const_ref
- # visit_tstring_content
- # visit_unary
- # visit_undef
- # visit_unless
- # visit_until
- # visit_var_field
- # visit_var_ref
- # visit_vcall
- # visit_when
- # visit_while
- # visit_word
- # visit_words
- # visit_xstring_literal
- # visit_yield
- # visit_zsuper