summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/pipeline/expression/lexer.rb
blob: 6264565908822da014950c69cbcfb65273fbd817 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module Gitlab
  module Ci
    module Pipeline
      module Expression
        GRAMMAR = [
          %w[variable equals string],
          %w[variable equals variable],
          %w[variable equals null],
          %w[string equals variable],
          %w[null equals variable],
        ]

        class Lexer
          def initialize(statement)
            @statement = statement
          end

          def tokenize
          end
        end
      end
    end
  end
end