Class: MCPClient::SchemaValidator::Walk

Inherits:
Struct
  • Object
show all
Defined in:
lib/mcp_client/schema_validator.rb

Overview

Per-preflight state: the document, the counter the walk accounts to, the problems it found, and the positions it has still to read (a stack, so the walk needs no interpreter frame of its own).

Instance Attribute Summary collapse

Instance Attribute Details

#counter ⇒ Object

Returns the value of attribute counter

Returns:

  • (Object) —

    the current value of counter



283
284
285
# File 'lib/mcp_client/schema_validator.rb', line 283

def counter
  @counter
end

#pending ⇒ Object

Returns the value of attribute pending

Returns:

  • (Object) —

    the current value of pending



283
284
285
# File 'lib/mcp_client/schema_validator.rb', line 283

def pending
  @pending
end

#problems ⇒ Object

Returns the value of attribute problems

Returns:

  • (Object) —

    the current value of problems



283
284
285
# File 'lib/mcp_client/schema_validator.rb', line 283

def problems
  @problems
end

#root ⇒ Object

Returns the value of attribute root

Returns:

  • (Object) —

    the current value of root



283
284
285
# File 'lib/mcp_client/schema_validator.rb', line 283

def root
  @root
end