Class: Vertigo::Report

Inherits:
AstNode show all
Defined in:
lib/vertigo/ast_vertigo_rkgen.rb

Instance Attribute Summary collapse

Attributes inherited from AstNode

#label, #pos

Instance Method Summary collapse

Methods inherited from AstNode

#accept, #str

Constructor Details

#initialize(expr = nil, severity = nil) ⇒ Report

Returns a new instance of Report.



288
289
290
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 288

def initialize expr=nil,severity=nil
  @expr,@severity=expr,severity
end

Instance Attribute Details

#exprObject

Returns the value of attribute expr.



287
288
289
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 287

def expr
  @expr
end

#severityObject

Returns the value of attribute severity.



287
288
289
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 287

def severity
  @severity
end