summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/pipeline/expression/variable.rb
blob: ec6c03d336a457ce76d855323e25bc7bc4f77555 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module Gitlab
  module Ci
    module Pipeline
      module Expression
        class Variable < Expression::Lexeme
          PATTERN = /\$(?<name>\w+)/.freeze

          def initialize(value)
            @value = value
          end

          def evaluate(**variables)
          end
        end
      end
    end
  end
end