Class: Ruber::SyntaxChecker::SyntaxCheckerPlugin::ErrorDescription
- Inherits:
-
Struct
- Object
- Struct
- Ruber::SyntaxChecker::SyntaxCheckerPlugin::ErrorDescription
- Defined in:
- plugins/syntax_checker/syntax_checker.rb
Overview
Class containing the information about a syntax error. It has four attributes: line:= the line at which the syntax error occurred (note that this starts from 1, while Document and EditorView count lines from 0) message:= a string describing the syntax error code:= a string with the code around the point where the syntax error occurred column:= the column at which the syntax error occurred
This class’constructor can take up to four parameters, corresponding (in the same order) to the four attributes described above.
Instance Attribute Summary (collapse)
-
- (Object) code
Returns the value of attribute code.
-
- (Object) column
Returns the value of attribute column.
-
- (Object) line
Returns the value of attribute line.
-
- (Object) message
Returns the value of attribute message.
Instance Attribute Details
- (Object) code
Returns the value of attribute code
84 85 86 |
# File 'plugins/syntax_checker/syntax_checker.rb', line 84 def code @code end |
- (Object) column
Returns the value of attribute column
84 85 86 |
# File 'plugins/syntax_checker/syntax_checker.rb', line 84 def column @column end |
- (Object) line
Returns the value of attribute line
84 85 86 |
# File 'plugins/syntax_checker/syntax_checker.rb', line 84 def line @line end |
- (Object) message
Returns the value of attribute message
84 85 86 |
# File 'plugins/syntax_checker/syntax_checker.rb', line 84 def @message end |