Class: Google::Apis::ClouddebuggerV2::SourceLocation
- Inherits:
-
Object
- Object
- Google::Apis::ClouddebuggerV2::SourceLocation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/clouddebugger_v2/classes.rb,
generated/google/apis/clouddebugger_v2/representations.rb,
generated/google/apis/clouddebugger_v2/representations.rb
Overview
Represents a location in the source code.
Instance Attribute Summary collapse
-
#column ⇒ Fixnum
Column within a line.
-
#line ⇒ Fixnum
Line inside the file.
-
#path ⇒ String
Path to the source file within the source context of the target binary.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SourceLocation
constructor
A new instance of SourceLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SourceLocation
Returns a new instance of SourceLocation.
843 844 845 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 843 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column ⇒ Fixnum
Column within a line. The first column in a line as the value 1
. Agents that
do not support setting breakpoints on specific columns ignore this field.
Corresponds to the JSON property column
831 832 833 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 831 def column @column end |
#line ⇒ Fixnum
Line inside the file. The first line in the file has the value 1
.
Corresponds to the JSON property line
836 837 838 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 836 def line @line end |
#path ⇒ String
Path to the source file within the source context of the target binary.
Corresponds to the JSON property path
841 842 843 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 841 def path @path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
848 849 850 851 852 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 848 def update!(**args) @column = args[:column] if args.key?(:column) @line = args[:line] if args.key?(:line) @path = args[:path] if args.key?(:path) end |