debian-mirror-gitlab/lib/gitlab/ci/pipeline/expression/lexeme/parenthesis_open.rb
2020-10-24 23:57:45 +05:30

24 lines
485 B
Ruby

# frozen_string_literal: true
module Gitlab
module Ci
module Pipeline
module Expression
module Lexeme
class ParenthesisOpen < Lexeme::Operator
PATTERN = /\(/.freeze
def self.type
:parenthesis_open
end
def self.precedence
# Needs to be higher than `ParenthesisClose` and all other Lexemes
901
end
end
end
end
end
end
end