Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 public ParserError(ParserErrorType type, Token triggerToken, int stackCount)
 {
     Type = type;
     TriggerLine = triggerToken.Line;
     TriggerPosition = triggerToken.StartPosition;
     StackCount = stackCount;
 }
Exemplo n.º 3
0
 public ParserError(int elementIndex, ParserErrorType type)
 {
     ElementIndex = elementIndex;
     this.Type    = type;
 }