Sha256: 915ea65c6de3b2a83edcfa7b0bb08e2cb2cdb1c4d72efb90c55e648483afe94a
Contents?: true
Size: 1018 Bytes
Versions: 8
Compression:
Stored size: 1018 Bytes
Contents
module Parser # Parser metadata module Meta # All node types that parser can produce. Not all parser versions # will be able to produce every possible node. NODE_TYPES = %w( true false nil int float str dstr sym dsym xstr regopt regexp array splat pair kwsplat hash irange erange self lvar ivar cvar gvar const defined? lvasgn ivasgn cvasgn gvasgn casgn mlhs masgn op_asgn and_asgn ensure rescue arg_expr or_asgn back_ref nth_ref match_with_lvasgn match_current_line module class sclass def defs undef alias args cbase arg optarg restarg blockarg block_pass kwarg kwoptarg kwrestarg send csend super zsuper yield block and not or if when case while until while_post until_post for break next redo return resbody kwbegin begin retry preexe postexe iflipflop eflipflop shadowarg complex rational __FILE__ __LINE__ ).map(&:to_sym).to_set.freeze end # Meta end # Parser
Version data entries
8 entries across 8 versions & 2 rubygems