游戏王残局简化版

Annotation For 残局文料/lib/程语_月_基类_文_前后缀.lua
Login

Annotation For 残局文料/lib/程语_月_基类_文_前后缀.lua

Origin for each line in 残局文料/lib/程语_月_基类_文_前后缀.lua from check-in 19823fddda:

a2e76b01c2 2024-01-26    1: local d_3 = {}
a2e76b01c2 2024-01-26    2: local require = 常用库.require_通用大字集态_八位态
a2e76b01c2 2024-01-26    3: local 筛文库 = require("程语_月_基类_文_筛文")
a2e76b01c2 2024-01-26    4: --~ 加
a2e76b01c2 2024-01-26    5: function d_3.加前缀_基态(o1, o2)
a2e76b01c2 2024-01-26    6:   return o2 .. o1
a2e76b01c2 2024-01-26    7:   end
a2e76b01c2 2024-01-26    8: function d_3.加后缀_基态(o1, o2)
a2e76b01c2 2024-01-26    9:   return o1 .. o2
a2e76b01c2 2024-01-26   10:   end
a2e76b01c2 2024-01-26   11: --~ 加_分_确保
a2e76b01c2 2024-01-26   12: --~ function d_3.加前缀_确保态(o1, o2, o3)
a2e76b01c2 2024-01-26   13: --~ 筛文库.返全文(o1, )
a2e76b01c2 2024-01-26   14: --~ local k1
a2e76b01c2 2024-01-26   15: --~ k1 = d_3.删前缀(o1, o2, o3)
a2e76b01c2 2024-01-26   16: --~ return o2 .. o1
a2e76b01c2 2024-01-26   17: --~ end
a2e76b01c2 2024-01-26   18: function d_3.加前缀与后缀_基态(o1, o2, o3)
a2e76b01c2 2024-01-26   19:   return o2 .. o1 .. (o3 or "")
a2e76b01c2 2024-01-26   20:   end
a2e76b01c2 2024-01-26   21: --~ 删
19823fddda 2024-01-26   22: function d_3.删前缀_基态(o1, o2, o3)
a2e76b01c2 2024-01-26   23:   if o1:find(o2, 1, o3 or true) then
a2e76b01c2 2024-01-26   24:     return o1:sub(#o2 + 1)
a2e76b01c2 2024-01-26   25:     end
a2e76b01c2 2024-01-26   26:   end
19823fddda 2024-01-26   27: function d_3.删后缀_基态(o1, o2, o3)
a2e76b01c2 2024-01-26   28:   if o1:find(o2, -1, o3 or true) then
a2e76b01c2 2024-01-26   29:     return o1:sub(1, #o1 - #o2)
a2e76b01c2 2024-01-26   30:     end
a2e76b01c2 2024-01-26   31:   end
a2e76b01c2 2024-01-26   32: --~ 场景_令行窗_件径
a2e76b01c2 2024-01-26   33: function d_3.在前后加英文双引号_基态(o1)
a2e76b01c2 2024-01-26   34:   return [["]] .. o1 .. [["]]
a2e76b01c2 2024-01-26   35:   end
a2e76b01c2 2024-01-26   36: return d_3
a2e76b01c2 2024-01-26   37: