Commit 2125d6fa authored by Grzegorz Bizon's avatar Grzegorz Bizon

Add basic pipeline expressions grammar definition

parent 49cad30d
......@@ -2,6 +2,14 @@ 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment