public SyntaxNode Complete(LineToken token, ref int i) { parentStack.Pop (); parentStack.Push (new CompeteQuoteExpression (this)); return token.StartNode (ref i); }
public override SyntaxNode Parse(LineToken token, ref int i) { LineToken directive = null; if(token.NumberOfBlankLines > 2 || token is EndOfFileToken || ((directive = token as Directive) != null) && token.line.Equals("Column", StringComparison.OrdinalIgnoreCase)) { parentStack.Pop (); parentStack.Push (new CompleteColumn (this)); return token.StartNode (ref i); } tokens.Add (token); return this; }