public object VisitForUpdateClauseNode(ForUpdateClauseNode node, Context parameter) { var wordNode = node.WordNode; wordNode.Accept(this, parameter); foreach (var child in node.Children) { child.Accept(this, parameter); } return(null); }
private void ParseForUpdateWord() { Validate(); var node = new ForUpdateClauseNode(_token); if (IsInSelectStatementNode()) { RemoveNodesTo <SelectStatementNode>(); var selectStatementNode = (SelectStatementNode)Peek(); selectStatementNode.ForUpdateClauseNode = node; } else { AppendNode(node); } _nodeStack.Push(node); }