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.



43
44
45
46
47
48
49
# File 'lib/rage/openapi/parsers/ext/alba.rb', line 43

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

Instance Attribute Details

#constsObject

Returns the value of attribute consts.



41
42
43
# File 'lib/rage/openapi/parsers/ext/alba.rb', line 41

def consts
  @consts
end

#hashesObject

Returns the value of attribute hashes.



41
42
43
# File 'lib/rage/openapi/parsers/ext/alba.rb', line 41

def hashes
  @hashes
end

#keywordsObject

Returns the value of attribute keywords.



41
42
43
# File 'lib/rage/openapi/parsers/ext/alba.rb', line 41

def keywords
  @keywords
end

#nilObject

Returns the value of attribute nil.



41
42
43
# File 'lib/rage/openapi/parsers/ext/alba.rb', line 41

def nil
  @nil
end

#symbolsObject

Returns the value of attribute symbols.



41
42
43
# File 'lib/rage/openapi/parsers/ext/alba.rb', line 41

def symbols
  @symbols
end