Click or drag to resize

CompilerError Constructor (String, LexicalInfo, Boolean, Object)

Initializes a new instance of the CompilerError class.

Namespace:  Syntactik.Compiler
Assembly:  Syntactik (in Syntactik.dll) Version: 0.3.0-beta1
Syntax
C#
public CompilerError(
	string code,
	LexicalInfo lexicalInfo,
	bool isParserError,
	params Object[] args
)

Parameters

code
Type: SystemString
String id of the error.
lexicalInfo
Type: Syntactik.DOMLexicalInfo
Location of the source code that caused the error.
isParserError
Type: SystemBoolean
True if error was found by Parser.
args
Type: SystemObject
Formatting items used to create an error message.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf parameter lexicalInfo is null.
See Also