예제 #1
0
파일: Grammar.cs 프로젝트: adamedx/shango
 public Grammar(
     Production   startProduction,
     Production[] productionList,
     Token[]      tokenList)
 {
     _startProduction = startProduction;
     _productionList = productionList;
     _tokenList = tokenList;
 }
예제 #2
0
 protected virtual void SetToken(
     Token resolvedToken)
 {
     _token = resolvedToken;
 }
예제 #3
0
 protected ProductionElement(
     string lexicalExpression)
 {
     _token = null;
 }