Sha256: 1db4b046b4ec5660abd08705261a7e6f64e741085cf921bd23c3b266840bb8c1
Contents?: true
Size: 499 Bytes
Versions: 3
Compression:
Stored size: 499 Bytes
Contents
module Mutant module AST # Node meta information mixin module Meta # Metadata for const nodes class Const include NamedChildren, Concord.new(:node), NodePredicates children :base, :name # Test if AST node is possibly a top level constant # # @return [Boolean] # # @api private def possible_top_level? base.nil? || n_cbase?(base) end end # Const end # Meta end # AST end # Mutant
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mutant-0.8.8 | lib/mutant/ast/meta/const.rb |
mutant-0.8.7 | lib/mutant/ast/meta/const.rb |
mutant-0.8.6 | lib/mutant/ast/meta/const.rb |