mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
16 lines
362 B
Lua
16 lines
362 B
Lua
local prefix = require("parser.expression.primary.prefix.prefix")
|
|
|
|
local ast = require("ast")
|
|
local Translatable = ast.Translatable
|
|
|
|
local operator_priority = require("common").operator_priority
|
|
|
|
return prefix {
|
|
operator = "%",
|
|
identifier = "%_",
|
|
priority = operator_priority["%_"],
|
|
|
|
build_ast = function(self, right)
|
|
return Translatable:new(right)
|
|
end
|
|
}
|