Searched refs:ast (Results 1 - 9 of 9) sorted by relevance

/glassfish-3.1.2/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/ejbqlc/
H A DEJBQLAST.java96 public EJBQLAST(EJBQLAST ast) argument
98 initialize(ast);
121 EJBQLAST ast = (EJBQLAST)_ast;
122 setType(ast.getType());
123 setText(ast.getText());
124 setLine(ast.getLine());
125 setColumn(ast.getColumn());
126 setTypeInfo(ast.getTypeInfo());
166 * Returns a string representation of this EJBQLAST w/o child ast nodes.
192 * followed by the string representation of this ast,
[all...]
H A DEJBQLC.java86 protected EJBQLAST ast; field in class:EJBQLC
152 ast = (EJBQLAST)parser.getAST();
153 if (finest) logger.finest("LOG_EJBQLCDumpTree", ast.getTreeRepr("(AST)")); //NOI18N
162 semantic.query(ast);
163 ast = (EJBQLAST)semantic.getAST();
164 if (finest) logger.finest("LOG_EJBQLCDumpTree", ast.getTreeRepr("(typed AST)")); //NOI18N
172 codeGen.query(ast);
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/antlr/
H A DOptimizer.g180 JQLAST ast = op;
184 ast = handleValueAndExpr(op, left.getValue(), right);
188 ast = handleValueAndExpr(op, right.getValue(), left);
190 return ast;
203 JQLAST ast = op;
207 ast = handleValueOrExpr(op, left.getValue(), right);
211 ast = handleValueOrExpr(op, right.getValue(), left);
213 return ast;
228 JQLAST ast = op;
233 ast
[all...]
H A DSemantic.g400 * @param ast the AST node representing the root the of the expression
404 private void genPathExpression(AST ast, StringBuffer buf) {
405 if (ast == null) {
408 switch (ast.getType()) {
412 AST left = ast.getFirstChild();
419 buf.append(ast.getText());
1430 protected void checkConstraints(JQLAST ast, VariableTable tab)
1432 checkConstraints(ast, null, tab);
1438 protected void checkConstraints(JQLAST ast, String dependentVariable, VariableTable tab)
1440 if (ast
[all...]
H A DCodeGeneration.g429 * Attach the specified RetrieveDesc to all JQLAST node of the ast subtree,
432 protected void propagateRetrieveDesc(JQLAST ast, RetrieveDesc rd)
434 if (ast.getRetrieveDesc() == null)
436 ast.setRetrieveDesc(rd);
438 for (JQLAST node = (JQLAST)ast.getFirstChild();
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/query/jqlc/
H A DJDOQLParameterDeclarationParser.java127 * of the specified ast node.
128 * @param ast the list of parameter declarations nodes
130 ParameterTypeIterator(AST ast) argument
132 current = ast;
168 // advance current ast node to next parameter declaration node
184 * @param ast the type node
187 private String getTypeRepr(AST ast) argument
189 if (ast == null)
194 if (ast.getType() == JQLParser.DOT) {
195 AST left = ast
[all...]
H A DJQLAST.java105 public JQLAST(JQLAST ast) argument
107 initialize(ast);
144 public void initialize(AST ast) argument
146 initialize((JQLAST)ast);
149 public void initialize(JQLAST ast) argument
151 setType(ast.getType());
152 setText(ast.getText());
153 setLine(ast.getLine());
154 setColumn(ast.getColumn());
155 setJQLType(ast
[all...]
H A DJQLC.java367 JQLAST ast = queryAST;
374 optimizer.query(ast);
378 ast = (JQLAST)optimizer.getAST();
379 if (finest) logger.finest("LOG_JQLCDumpTree", ast.getTreeRepr("(optimized AST)")); //NOI18N
382 codeGen.query(ast);
/glassfish-3.1.2/persistence/cmp/support-ejb/src/main/antlr/
H A DSemantic.g413 * @param ast the AST node representing the root the of the expression
419 private void genPathExpression(AST ast, StringBuffer buf) {
420 if (ast == null) {
423 switch (ast.getType()) {
427 AST left = ast.getFirstChild();
434 buf.append(ast.getText());
819 * Returns <code>true</code> if ast denotes a entity bena value.
821 private boolean isEntityBeanValue(EJBQLAST ast)
823 switch(ast.getType()) {
828 Object typeInfo = ast
[all...]

Completed in 55 milliseconds