public class ShutdownExpression
extends AbstractGinqExpression
Represent the shutdown expression
| Fields inherited from class | Fields |
|---|---|
class Expression |
EMPTY_ARRAY |
| Constructor and description |
|---|
ShutdownExpression(Expression expr, int mode)Creates a shutdown expression. |
| Type Params | Return Type | Name and description |
|---|---|---|
<R> |
public R |
accept(GinqAstVisitor<R> visitor)Accepts a visitor for this expression. |
|
public Expression |
getExpr()Returns the original shutdown expression. |
|
public int |
getMode()Returns the shutdown mode. |
|
public String |
getText()Returns the textual form of the shutdown expression. |
|
public String |
toString()Returns the textual form of this expression. |
| Methods inherited from class | Name |
|---|---|
class AbstractGinqExpression |
accept, transformExpression, visit |
class Expression |
getType, setType, transformExpression, transformExpressions, transformExpressions |
class AnnotatedNode |
addAnnotation, addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, getGroovydoc, getInstance, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic |
class ASTNode |
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition, visit |
Creates a shutdown expression.
expr - the original shutdown expressionmode - the shutdown modeAccepts a visitor for this expression.
visitor - the visitor to acceptR - the visit result typeReturns the original shutdown expression.
Returns the shutdown mode.
Returns the textual form of the shutdown expression.
Returns the textual form of this expression.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.