Пример #1
0
 public OilexerGrammarTokenEntry(string name, ITokenExpressionSeries branches, EntryScanMode scanMode, string fileName, int column, int line, long position, bool unhinged, IOilexerGrammarTokenEntry[] lowerPrecedences, bool forcedRecognizer)
     : base(name, fileName, column, line, position)
 {
     this.lowerPrecedenceTokens = lowerPrecedences;
     this.scanMode         = scanMode;
     this.branches         = branches;
     this.unhinged         = unhinged;
     this.forcedRecognizer = forcedRecognizer;
 }
Пример #2
0
 public OilexerGrammarProductionRuleEntry(string name, EntryScanMode scanMode, string fileName, int column, int line, long position)
 {
     this.scanMode = scanMode;
     this.column   = column;
     this.line     = line;
     this.fileName = fileName;
     this.position = position;
     this.name     = name;
 }
Пример #3
0
 public OilexerGrammarProductionRuleTemplateEntry(string name, EntryScanMode scanMode, IList <IProductionRuleTemplatePart> partNames, string fileName, int column, int line, long position)
     : base(name, scanMode, fileName, column, line, position)
 {
     this.parts = new PartCollection(partNames);
 }