mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 00:59:31 +00:00
Rewrite
This commit is contained in:
parent
7a5a05ff34
commit
b233d7fa1e
138 changed files with 4369 additions and 1611 deletions
23
test/tests/text break.lua
Normal file
23
test/tests/text break.lua
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
local _={}
|
||||
_[8]={}
|
||||
_[7]={}
|
||||
_[6]={data="b c",tags=_[8]}
|
||||
_[5]={data="a",tags=_[7]}
|
||||
_[4]={type="string",value=""}
|
||||
_[3]={_[5],_[6]}
|
||||
_[2]={"return",_[4]}
|
||||
_[1]={"text",_[3]}
|
||||
return {_[1],_[2]}
|
||||
--[[
|
||||
{ "text", { {
|
||||
data = "a",
|
||||
tags = {}
|
||||
}, {
|
||||
data = "b c",
|
||||
tags = {}
|
||||
} } }
|
||||
{ "return", {
|
||||
type = "string",
|
||||
value = ""
|
||||
} }
|
||||
]]--
|
||||
Loading…
Add table
Add a link
Reference in a new issue