示例#1
0
文件: Token.cs 项目: naucera/iambic
 internal Token(int offset, int endOffset, GrammarConstruct grammarConstruct)
 {
     mOffset = offset;
     mEndOffset = endOffset;
     mGrammarConstruct = grammarConstruct;
     mChildren = null;
     mTag = null;
 }
示例#2
0
 static string GetConstructName(GrammarConstruct construct)
 {
     return construct == null ? "null" : construct.Name;
 }