示例#1
0
文件: Parser.cs 项目: massreuy/3P
 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;
 }
示例#2
0
文件: Parser.cs 项目: jcaillon/3P
 public ParserError(ParserErrorType type, Token triggerToken, int stackCount)
 {
     Type = type;
     TriggerLine = triggerToken.Line;
     TriggerPosition = triggerToken.StartPosition;
     StackCount = stackCount;
 }
示例#3
0
 public ParserError(int elementIndex, ParserErrorType type)
 {
     ElementIndex = elementIndex;
     this.Type    = type;
 }