struct

AIContext

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

Constants

MAX_PER_SECTION = 16

Constructors

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

callees
Source
callees=(callees : Array(AIContextEntry))
Source
empty?
Source
guards
Source
guards=(guards : Array(AIContextEntry))
Source
push_callee(entry : AIContextEntry)
Source
push_guard(entry : AIContextEntry)
Source
push_signal(entry : AIContextEntry)
Source
push_sink(entry : AIContextEntry)
Source
push_source(entry : AIContextEntry)
Source
push_validator(entry : AIContextEntry)
Source
signals
Source
signals=(signals : Array(AIContextEntry))
Source
sinks
Source
sinks=(sinks : Array(AIContextEntry))
Source
sources
Source
sources=(sources : Array(AIContextEntry))
Source
validators
Source
validators=(validators : Array(AIContextEntry))
Source