游戏王残局简化版

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

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

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

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