private void Nth() { //nth // : S* [ ['-'|'+']? INTEGER? {N} [ S* ['-'|'+'] S* INTEGER ]? | // ['-'|'+']? INTEGER | {O}{D}{D} | {E}{V}{E}{N} ] S* // ; // TODO Add support for the full syntax // At present, only INTEGER is allowed _generator.NthChild(1, NthB()); }
private void Nth() { //nth // : S* [ ['-'|'+']? INTEGER? {N} [ S* ['-'|'+'] S* INTEGER ]? | // ['-'|'+']? INTEGER | {O}{D}{D} | {E}{V}{E}{N} ] S* // ; // TODO Add support for the full syntax // At present, only INTEGER is allowed var b = int.Parse(Read(ToTokenSpec(TokenKind.Integer)).Text, CultureInfo.InvariantCulture); _generator.NthChild(1, b); }