1<?php
2
3/*
4 * Generated from D:/dokuwiki/lib/plugins/combo/grammar\PageSql.g4 by ANTLR 4.9.1
5 */
6
7namespace ComboStrap\PageSqlParser;
8
9use Antlr\Antlr4\Runtime\Tree\ParseTreeVisitor;
10
11/**
12 * This interface defines a complete generic visitor for a parse tree produced by {@see PageSqlParser}.
13 */
14interface PageSqlVisitor extends ParseTreeVisitor
15{
16	/**
17	 * Visit a parse tree produced by {@see PageSqlParser::functionNames()}.
18	 *
19	 * @param Context\FunctionNamesContext $context The parse tree.
20	 *
21	 * @return mixed The visitor result.
22	 */
23	public function visitFunctionNames(Context\FunctionNamesContext $context);
24
25	/**
26	 * Visit a parse tree produced by {@see PageSqlParser::tableNames()}.
27	 *
28	 * @param Context\TableNamesContext $context The parse tree.
29	 *
30	 * @return mixed The visitor result.
31	 */
32	public function visitTableNames(Context\TableNamesContext $context);
33
34	/**
35	 * Visit a parse tree produced by {@see PageSqlParser::sqlNames()}.
36	 *
37	 * @param Context\SqlNamesContext $context The parse tree.
38	 *
39	 * @return mixed The visitor result.
40	 */
41	public function visitSqlNames(Context\SqlNamesContext $context);
42
43	/**
44	 * Visit a parse tree produced by {@see PageSqlParser::column()}.
45	 *
46	 * @param Context\ColumnContext $context The parse tree.
47	 *
48	 * @return mixed The visitor result.
49	 */
50	public function visitColumn(Context\ColumnContext $context);
51
52	/**
53	 * Visit a parse tree produced by {@see PageSqlParser::pattern()}.
54	 *
55	 * @param Context\PatternContext $context The parse tree.
56	 *
57	 * @return mixed The visitor result.
58	 */
59	public function visitPattern(Context\PatternContext $context);
60
61	/**
62	 * Visit a parse tree produced by {@see PageSqlParser::expression()}.
63	 *
64	 * @param Context\ExpressionContext $context The parse tree.
65	 *
66	 * @return mixed The visitor result.
67	 */
68	public function visitExpression(Context\ExpressionContext $context);
69
70	/**
71	 * Visit a parse tree produced by {@see PageSqlParser::predicate()}.
72	 *
73	 * @param Context\PredicateContext $context The parse tree.
74	 *
75	 * @return mixed The visitor result.
76	 */
77	public function visitPredicate(Context\PredicateContext $context);
78
79	/**
80	 * Visit a parse tree produced by {@see PageSqlParser::columns()}.
81	 *
82	 * @param Context\ColumnsContext $context The parse tree.
83	 *
84	 * @return mixed The visitor result.
85	 */
86	public function visitColumns(Context\ColumnsContext $context);
87
88	/**
89	 * Visit a parse tree produced by {@see PageSqlParser::predicates()}.
90	 *
91	 * @param Context\PredicatesContext $context The parse tree.
92	 *
93	 * @return mixed The visitor result.
94	 */
95	public function visitPredicates(Context\PredicatesContext $context);
96
97	/**
98	 * Visit a parse tree produced by {@see PageSqlParser::tables()}.
99	 *
100	 * @param Context\TablesContext $context The parse tree.
101	 *
102	 * @return mixed The visitor result.
103	 */
104	public function visitTables(Context\TablesContext $context);
105
106	/**
107	 * Visit a parse tree produced by {@see PageSqlParser::limit()}.
108	 *
109	 * @param Context\LimitContext $context The parse tree.
110	 *
111	 * @return mixed The visitor result.
112	 */
113	public function visitLimit(Context\LimitContext $context);
114
115	/**
116	 * Visit a parse tree produced by {@see PageSqlParser::orderBys()}.
117	 *
118	 * @param Context\OrderBysContext $context The parse tree.
119	 *
120	 * @return mixed The visitor result.
121	 */
122	public function visitOrderBys(Context\OrderBysContext $context);
123
124	/**
125	 * Visit a parse tree produced by {@see PageSqlParser::orderByDef()}.
126	 *
127	 * @param Context\OrderByDefContext $context The parse tree.
128	 *
129	 * @return mixed The visitor result.
130	 */
131	public function visitOrderByDef(Context\OrderByDefContext $context);
132
133	/**
134	 * Visit a parse tree produced by {@see PageSqlParser::pageSql()}.
135	 *
136	 * @param Context\PageSqlContext $context The parse tree.
137	 *
138	 * @return mixed The visitor result.
139	 */
140	public function visitPageSql(Context\PageSqlContext $context);
141}