mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-16 17:30:43 -07:00
Remove ExpressionParser in favor of ParseContext#safe_parse
This commit is contained in:
committed by
Guilherme Carreiro
parent
d56e3c50f9
commit
e413104e78
@@ -2,8 +2,6 @@
|
||||
|
||||
module Liquid
|
||||
class Parser
|
||||
attr_reader :tokens
|
||||
|
||||
def initialize(input)
|
||||
ss = input.is_a?(StringScanner) ? input : StringScanner.new(input)
|
||||
@tokens = Lexer.tokenize(ss)
|
||||
@@ -84,10 +82,6 @@ module Liquid
|
||||
str
|
||||
end
|
||||
|
||||
def point
|
||||
@p
|
||||
end
|
||||
|
||||
def variable_lookups
|
||||
str = +""
|
||||
loop do
|
||||
|
||||
Reference in New Issue
Block a user