public Expression Parse(string s, out bool result) { byte[] inputBuffer = Encoding.Default.GetBytes(s); MemoryStream stream = new MemoryStream(inputBuffer); Scanner = new BindingLanguageScanner(stream); result = Parse(); if (result) { ProcessModeNodes(CurrentSemanticValue.Expression); return CurrentSemanticValue.Expression; } return null; }
public Expression Parse(string s, out bool result) { byte[] inputBuffer = Encoding.Default.GetBytes(s); MemoryStream stream = new MemoryStream(inputBuffer); Scanner = new BindingLanguageScanner(stream); result = Parse(); if (result) { ProcessModeNodes(CurrentSemanticValue.Expression); return(CurrentSemanticValue.Expression); } return(null); }