Commit c6ea7a2a authored by Grzegorz Bizon's avatar Grzegorz Bizon

Add a comment to expressions parser tree method

parent 26167c24
......@@ -8,6 +8,11 @@ module Gitlab
@nodes = []
end
##
# This produces a reverse descent parse tree.
#
# It currently does not support precedence of operators.
#
def tree
while token = @tokens.next
case token.type
......
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