Class: Necropsy::AstScanner::Context

Inherits:
Struct
  • Object
show all
Defined in:
lib/necropsy/ast_scanner.rb

Instance Attribute Summary collapse

Instance Attribute Details

#current_caller_idObject

Returns the value of attribute current_caller_id

Returns:

  • (Object)

    the current value of current_caller_id



18
19
20
# File 'lib/necropsy/ast_scanner.rb', line 18

def current_caller_id
  @current_caller_id
end

#current_kindObject

Returns the value of attribute current_kind

Returns:

  • (Object)

    the current value of current_kind



18
19
20
# File 'lib/necropsy/ast_scanner.rb', line 18

def current_kind
  @current_kind
end

#fileObject

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



18
19
20
# File 'lib/necropsy/ast_scanner.rb', line 18

def file
  @file
end

#namespaceObject

Returns the value of attribute namespace

Returns:

  • (Object)

    the current value of namespace



18
19
20
# File 'lib/necropsy/ast_scanner.rb', line 18

def namespace
  @namespace
end

#ownerObject

Returns the value of attribute owner

Returns:

  • (Object)

    the current value of owner



18
19
20
# File 'lib/necropsy/ast_scanner.rb', line 18

def owner
  @owner
end

#relative_fileObject

Returns the value of attribute relative_file

Returns:

  • (Object)

    the current value of relative_file



18
19
20
# File 'lib/necropsy/ast_scanner.rb', line 18

def relative_file
  @relative_file
end

#root_idObject

Returns the value of attribute root_id

Returns:

  • (Object)

    the current value of root_id



18
19
20
# File 'lib/necropsy/ast_scanner.rb', line 18

def root_id
  @root_id
end

#singleton_scopeObject

Returns the value of attribute singleton_scope

Returns:

  • (Object)

    the current value of singleton_scope



18
19
20
# File 'lib/necropsy/ast_scanner.rb', line 18

def singleton_scope
  @singleton_scope
end

#testObject

Returns the value of attribute test

Returns:

  • (Object)

    the current value of test



18
19
20
# File 'lib/necropsy/ast_scanner.rb', line 18

def test
  @test
end