class Maccro::DSL::RegexpCompiledOnce

Public Class Methods

match?(node) click to toggle source
# File lib/maccro/dsl/literal.rb, line 34
def self.match?(node); node.type == :ONCE; end

Public Instance Methods

type() click to toggle source

regex with RE_OPTION_ONCE (see new_regexp() in parse.y)

# File lib/maccro/dsl/literal.rb, line 33
def type; :ONCE; end