protected RCValue DoParse(RCParser parser, RCString right, bool canonical, out bool fragment) { RCArray <RCToken> tokens = new RCArray <RCToken> (); for (int i = 0; i < right.Count; ++i) { parser.Lex(right[i], tokens); } RCValue result = parser.Parse(tokens, out fragment, canonical); return(result); }
public RCValue Read(string code) { bool fragment; return(_parser.Parse(_parser.Lex(code), out fragment, canonical: false)); }