Sha256: 9b796ea1ee8eb33e9367649615235e77dd628be38f71145a294dd15c31d8c1bd

Contents?: true

Size: 452 Bytes

Versions: 11

Compression:

Stored size: 452 Bytes

Contents

module Regexp::Syntax
  module Token

    module Group
      Basic     = [:capture, :close]
      Extended  = Basic + [:options]

      Named     = [:named]
      Atomic    = [:atomic]
      Passive   = [:passive]
      Comment   = [:comment]

      All = Group::Extended + Group::Named + Group::Atomic +
            Group::Passive + Group::Comment

      Absence = [:absence]

      Type = :group
    end

    Map[Group::Type] = Group::All

  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
regexp_parser-0.5.0 lib/regexp_parser/syntax/tokens/group.rb
regexp_parser-0.4.13 lib/regexp_parser/syntax/tokens/group.rb
regexp_parser-0.4.12 lib/regexp_parser/syntax/tokens/group.rb
regexp_parser-0.4.11 lib/regexp_parser/syntax/tokens/group.rb
regexp_parser-0.4.10 lib/regexp_parser/syntax/tokens/group.rb
regexp_parser-0.4.9 lib/regexp_parser/syntax/tokens/group.rb
regexp_parser-0.4.8 lib/regexp_parser/syntax/tokens/group.rb
regexp_parser-0.4.7 lib/regexp_parser/syntax/tokens/group.rb
regexp_parser-0.4.6 lib/regexp_parser/syntax/tokens/group.rb
regexp_parser-0.4.5 lib/regexp_parser/syntax/tokens/group.rb
regexp_parser-0.4.4 lib/regexp_parser/syntax/tokens/group.rb