コード例 #1
0
        public void TestNumericLiteralAccept()
        {
            Mock <KoraliumSqlVisitor> mock           = new Mock <KoraliumSqlVisitor>();
            NumericLiteral            numericLiteral = new NumericLiteral();

            numericLiteral.Accept(mock.Object);
            mock.Verify(x => x.VisitNumericLiteral(numericLiteral));
        }
コード例 #2
0
        private void visitBoundFrame(BoundFrame item)
        {
            IVisitableBuilder literal = new NumericLiteral(item.RowCount);

            literal.Accept(forSubCommand());
        }