Class: Rage::OpenAPI::Parsers::Ext::Alba::VisitorContext

Inherits:
Object
  • Object
show all
Defined in:
lib/rage/openapi/parsers/ext/alba.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeVisitorContext

Returns a new instance of VisitorContext.



71
72
73
74
75
76
77
# File 'lib/rage/openapi/parsers/ext/alba.rb', line 71

def initialize
  @symbols = []
  @hashes = []
  @keywords = {}
  @consts = []
  @nil = false
end

Instance Attribute Details

#constsObject

Returns the value of attribute consts.



69
70
71
# File 'lib/rage/openapi/parsers/ext/alba.rb', line 69

def consts
  @consts
end

#hashesObject

Returns the value of attribute hashes.



69
70
71
# File 'lib/rage/openapi/parsers/ext/alba.rb', line 69

def hashes
  @hashes
end

#keywordsObject

Returns the value of attribute keywords.



69
70
71
# File 'lib/rage/openapi/parsers/ext/alba.rb', line 69

def keywords
  @keywords
end

#nilObject

Returns the value of attribute nil.



69
70
71
# File 'lib/rage/openapi/parsers/ext/alba.rb', line 69

def nil
  @nil
end

#symbolsObject

Returns the value of attribute symbols.



69
70
71
# File 'lib/rage/openapi/parsers/ext/alba.rb', line 69

def symbols
  @symbols
end