struct

Callee

Inherits YAML::Serializable < JSON::Serializable < Struct < Value < Object

A function/method invoked directly from an endpoint's handler body (1-hop only). name is the textual callee as it appears in source (e.g. User.create, raw_sql_query). path and line are best-effort location metadata: analyzers with definition resolution use the callee's definition when reachable; the rest keep the call site.

The list is intentionally incomplete: dynamic dispatch (Rails before_action, JS middleware, Python decorators) bypasses the body walk by design. AI consumers should treat callees as a useful prior, not a complete dependency graph.

Constants

MAX_PER_ENDPOINT = 10

Constructors

new(name : String, path : String | Nil = nil, line : Int32 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

==(other : Callee) : Bool
Source
line
Source
line=(line : Int32 | Nil)
Source
name
Source
name=(name : String)
Source
path
Source
path=(path : Nil | String)
Source