Class: AdLint::Literal
- Inherits:
-
CodeStructure
- Object
- CodeStructure
- AdLint::Literal
- Defined in:
- lib/adlint/code.rb
Instance Method Summary collapse
-
#initialize(loc, lit_type, prefix, suffix, value) ⇒ Literal
constructor
A new instance of Literal.
Methods inherited from CodeStructure
Constructor Details
#initialize(loc, lit_type, prefix, suffix, value) ⇒ Literal
Returns a new instance of Literal.
435 436 437 438 439 440 441 |
# File 'lib/adlint/code.rb', line 435 def initialize(loc, lit_type, prefix, suffix, value) @loc = loc @lit_type = lit_type @prefix = prefix @suffix = suffix @value = value end |