Sha256: 10a17d398969d659602e0c96cc9672aab227c276d03e642abbec26e18a179be6

Contents?: true

Size: 421 Bytes

Versions: 27

Compression:

Stored size: 421 Bytes

Contents

module Regexp::Syntax
  module Token

    module Conditional
      Delimiters  = [:open, :close]

      Condition   = [:condition_open, :condition, :condition_close]
      Separator   = [:separator]

      All = (
        Conditional::Delimiters +
        Conditional::Condition +
        Conditional::Separator
      ).flatten

      Type = :conditional
    end

    Map[Conditional::Type] = Conditional::All

  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
regexp_parser-1.2.0 lib/regexp_parser/syntax/tokens/conditional.rb
regexp_parser-1.1.0 lib/regexp_parser/syntax/tokens/conditional.rb
regexp_parser-1.0.0 lib/regexp_parser/syntax/tokens/conditional.rb
regexp_parser-0.5.0 lib/regexp_parser/syntax/tokens/conditional.rb
regexp_parser-0.4.13 lib/regexp_parser/syntax/tokens/conditional.rb
regexp_parser-0.4.12 lib/regexp_parser/syntax/tokens/conditional.rb
regexp_parser-0.4.11 lib/regexp_parser/syntax/tokens/conditional.rb
regexp_parser-0.4.10 lib/regexp_parser/syntax/tokens/conditional.rb
regexp_parser-0.4.9 lib/regexp_parser/syntax/tokens/conditional.rb
regexp_parser-0.4.8 lib/regexp_parser/syntax/tokens/conditional.rb
regexp_parser-0.4.7 lib/regexp_parser/syntax/tokens/conditional.rb
regexp_parser-0.4.6 lib/regexp_parser/syntax/tokens/conditional.rb
regexp_parser-0.4.5 lib/regexp_parser/syntax/tokens/conditional.rb
regexp_parser-0.4.4 lib/regexp_parser/syntax/tokens/conditional.rb
regexp_parser-0.4.3 lib/regexp_parser/syntax/tokens/conditional.rb
regexp_parser-0.4.2 lib/regexp_parser/syntax/tokens/conditional.rb
regexp_parser-0.4.1 lib/regexp_parser/syntax/tokens/conditional.rb
regexp_parser-0.4.0 lib/regexp_parser/syntax/tokens/conditional.rb
regexp_parser-0.3.6 lib/regexp_parser/syntax/tokens/conditional.rb
regexp_parser-0.3.5 lib/regexp_parser/syntax/tokens/conditional.rb