Class: Oselvar::Var::Core::Diagnostic

Inherits:
Data
  • Object
show all
Defined in:
lib/oselvar/var/core/diagnostics.rb

Overview

A planning/run diagnostic on the shared rail. code is one of "ambiguous-match", "error-fence-without-step", "drift". Port of diagnostics.ts.

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



9
10
11
# File 'lib/oselvar/var/core/diagnostics.rb', line 9

def code
  @code
end

#messageObject (readonly)

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



9
10
11
# File 'lib/oselvar/var/core/diagnostics.rb', line 9

def message
  @message
end

#severityObject (readonly)

Returns the value of attribute severity

Returns:

  • (Object)

    the current value of severity



9
10
11
# File 'lib/oselvar/var/core/diagnostics.rb', line 9

def severity
  @severity
end

#spanObject (readonly)

Returns the value of attribute span

Returns:

  • (Object)

    the current value of span



9
10
11
# File 'lib/oselvar/var/core/diagnostics.rb', line 9

def span
  @span
end