Class: AdLint::Assignment
- Inherits:
-
CodeStructure
- Object
- CodeStructure
- AdLint::Assignment
- Defined in:
- lib/adlint/code.rb
Overview
DESCRIPTION
Assignment information.
Instance Method Summary collapse
-
#initialize(loc, var_name, assign_rep) ⇒ Assignment
constructor
DESCRIPTION Constructs the assignment information.
Methods inherited from CodeStructure
Constructor Details
#initialize(loc, var_name, assign_rep) ⇒ Assignment
DESCRIPTION
Constructs the assignment information.
PARAMETER
- loc
-
Location – Location where the variable appears.
- var_name
-
String – Assigned variable name.
- assign_rep
-
String – Assignment expression representation.
309 310 311 312 313 |
# File 'lib/adlint/code.rb', line 309 def initialize(loc, var_name, assign_rep) @loc = loc @var_name = var_name @assign_rep = assign_rep end |