debian-mirror-gitlab/lib/gitlab/ci/pipeline/expression/lexeme/parenthesis_open.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
485 B
Ruby
Raw Normal View History

2020-10-24 23:57:45 +05:30
# 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