ScriptStack 1.0.4
Loading...
Searching...
No Matches
ScriptStack.Compiler.ParserException Class Reference
Inheritance diagram for ScriptStack.Compiler.ParserException:
ScriptStack.Runtime.ScriptStackException

Public Member Functions

ParserException() ParserException(string strMessage) ParserException(string strMessage, Exception exceptionInner) ParserException (string message, Token token, [CallerMemberName] string caller="", [CallerFilePath] string file="", [CallerLineNumber] int callLine=0)
Public Member Functions inherited from ScriptStack.Runtime.ScriptStackException
 ScriptStackException ()
 ScriptStackException (string message)
 ScriptStackException (string message, Exception innerException)
override string ToString ()

Additional Inherited Members

Properties inherited from ScriptStack.Runtime.ScriptStackException
new string Message [get]
string MessageTrace [get]

Detailed Description

Definition at line 7 of file ParserException.cs.

Constructor & Destructor Documentation

◆ ParserException()

ParserException() ParserException(string strMessage) ParserException(string strMessage, Exception exceptionInner) ScriptStack.Compiler.ParserException.ParserException ( string message,
Token token,
[CallerMemberName] string caller = "",
[CallerFilePath] string file = "",
[CallerLineNumber] int callLine = 0 )

Definition at line 19 of file ParserException.cs.

25 : base($"{message} (Caller: {caller}, {System.IO.Path.GetFileName(file)}:{callLine}) " +
26 $"Zeile {token.Line + 1}, Zeichen {Math.Abs(token.Column - 1)}: {token.Text}")
27 {
28 this.token = token;
29 }

The documentation for this class was generated from the following file: