mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-18 18:30:40 -07:00
Slow lexer and parser scaffold.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
module Liquid
|
||||
# This class is used by tags to parse themselves
|
||||
# it provides helpers and encapsulates state
|
||||
class Parser
|
||||
def initialize(input)
|
||||
@input = input
|
||||
@p = 0 # pointer to current location
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user