mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-09-20 07:21:22 +00:00
comments
This commit is contained in:
parent
f80869db1f
commit
b3dfa5e28f
@ -61,7 +61,8 @@ module Tartrazine
|
|||||||
# <rule>
|
# <rule>
|
||||||
# <pop depth="1"/>
|
# <pop depth="1"/>
|
||||||
# </rule>
|
# </rule>
|
||||||
# They match, don't move pos, and alter the stack
|
# They match, don't move pos, probably alter
|
||||||
|
# the stack, probably not generate tokens
|
||||||
class Always < Rule
|
class Always < Rule
|
||||||
def match(text, pos, lexer) : Tuple(Bool, Int32, Array(Token))
|
def match(text, pos, lexer) : Tuple(Bool, Int32, Array(Token))
|
||||||
tokens = [] of Token
|
tokens = [] of Token
|
||||||
|
Loading…
Reference in New Issue
Block a user