public ParserError(ParserErrorType type, Token triggerToken, int stackCount, List <ParsedIncludeFile> includeFiles) { Type = type; TriggerLine = triggerToken.Line; TriggerPosition = triggerToken.StartPosition; StackCount = stackCount; FullFilePath = includeFiles[triggerToken.OwnerNumber].FullFilePath; }
public ParserError(ParserErrorType type, Token triggerToken, int stackCount) { Type = type; TriggerLine = triggerToken.Line; TriggerPosition = triggerToken.StartPosition; StackCount = stackCount; }
public ParserError(int elementIndex, ParserErrorType type) { ElementIndex = elementIndex; this.Type = type; }