Class CompilerMessageImpl
java.lang.Object
org.apache.sling.scripting.sightly.impl.compiler.CompilerMessageImpl
- All Implemented Interfaces:
CompilerMessage
-
Constructor Summary
ConstructorDescriptionCompilerMessageImpl
(String scriptName, String message, int line, int column) -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the column number of the script text that generated this message.int
getLine()
Returns the line number of the script text that generated this message.Returns the compiler's message.Returns the script name associated with this message.
-
Constructor Details
-
CompilerMessageImpl
-
-
Method Details
-
getScriptName
Description copied from interface:CompilerMessage
Returns the script name associated with this message.- Specified by:
getScriptName
in interfaceCompilerMessage
- Returns:
- the script name associated with this message
-
getMessage
Description copied from interface:CompilerMessage
Returns the compiler's message.- Specified by:
getMessage
in interfaceCompilerMessage
- Returns:
- the compiler's message
-
getLine
public int getLine()Description copied from interface:CompilerMessage
Returns the line number of the script text that generated this message.- Specified by:
getLine
in interfaceCompilerMessage
- Returns:
- the line number of the script text that generated this message
-
getColumn
public int getColumn()Description copied from interface:CompilerMessage
Returns the column number of the script text that generated this message.- Specified by:
getColumn
in interfaceCompilerMessage
- Returns:
- the column number of the script text that generated this message
-