Lua.AST.Expr.MethodCall (Lua v1.0.0-rc.0)

View Source

Represents a method call: obj:method(args)

This is syntactic sugar for obj.method(obj, args) in Lua.

Summary

Types

t()

@type t() :: %Lua.AST.Expr.MethodCall{
  args: [Lua.AST.Expr.t()],
  meta: Lua.AST.Meta.t() | nil,
  method: Lua.AST.Expr.String.t(),
  object: Lua.AST.Expr.t()
}