struct AIContext

Included Modules

Defined in:

models/endpoint.cr

Constant Summary

MAX_PER_SECTION = 16

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new #

[View source]

Instance Method Detail

def callees : Array(AIContextEntry) #

[View source]
def callees=(callees : Array(AIContextEntry)) #

[View source]
def empty? : Bool #

[View source]
def guards : Array(AIContextEntry) #

[View source]
def guards=(guards : Array(AIContextEntry)) #

[View source]
def push_callee(entry : AIContextEntry) #

[View source]
def push_guard(entry : AIContextEntry) #

[View source]
def push_signal(entry : AIContextEntry) #

[View source]
def push_sink(entry : AIContextEntry) #

[View source]
def push_validator(entry : AIContextEntry) #

[View source]
def signals : Array(AIContextEntry) #

[View source]
def signals=(signals : Array(AIContextEntry)) #

[View source]
def sinks : Array(AIContextEntry) #

[View source]
def sinks=(sinks : Array(AIContextEntry)) #

[View source]
def validators : Array(AIContextEntry) #

[View source]
def validators=(validators : Array(AIContextEntry)) #

[View source]