Sha256: 6e5500ddf2f9495cdb89cb759d28a847a5b49954452351d075608852abcf2b36
Contents?: true
Size: 449 Bytes
Versions: 15
Compression:
Stored size: 449 Bytes
Contents
module Furnace::AST class SymbolicNode def initialize(name) @name = name.to_sym end def to_sym @name end def ===(name) @name == name.to_sym end def inspect @name.to_s end end class MethodName < SymbolicNode def inspect ".#{@name}" end end class LocalVariable < SymbolicNode def inspect "%#{@name}" end end class Constant < SymbolicNode end end
Version data entries
15 entries across 15 versions & 1 rubygems