com.akiban.sql.parser
Class NonStaticMethodCallNode
java.lang.Object
com.akiban.sql.parser.QueryTreeNode
com.akiban.sql.parser.JavaValueNode
com.akiban.sql.parser.MethodCallNode
com.akiban.sql.parser.NonStaticMethodCallNode
- All Implemented Interfaces:
- Visitable
public class NonStaticMethodCallNode
- extends MethodCallNode
A NonStaticMethodCallNode is really a node to represent a (static or non-static)
method call from an object (as opposed to a static method call from a class.
|
Method Summary |
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node. |
void |
init(Object methodName,
Object receiver)
Initializer for a NonStaticMethodCallNode |
void |
printSubNodes(int depth)
Prints the sub-nodes of this object. |
| Methods inherited from class com.akiban.sql.parser.JavaValueNode |
castToPrimitive, getJavaTypeName, getJSQLType, getPrimitiveTypeName, getType, isPrimitiveType, mapToTypeID, markForCallStatement, markReturnValueDiscarded, mustCastToPrimitive, returnValueDiscarded, returnValueToSQLDomain, setJavaTypeName, valueReturnedToSQLDomain |
| Methods inherited from class com.akiban.sql.parser.QueryTreeNode |
accept, convertDefaultNode, debugFlush, debugPrint, formatNodeString, getBeginOffset, getDebugOutput, getEndOffset, getNodeFactory, getNodeType, getNullNode, getParserContext, getStatementType, getUserData, init, init, init, init, init, init, init, init, init, init, init, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint |
NonStaticMethodCallNode
public NonStaticMethodCallNode()
init
public void init(Object methodName,
Object receiver)
throws StandardException
- Initializer for a NonStaticMethodCallNode
- Overrides:
init in class QueryTreeNode
- Parameters:
methodName - The name of the method to callreceiver - A JavaValueNode representing the receiving object
- Throws:
StandardException - Thrown on error
copyFrom
public void copyFrom(QueryTreeNode node)
throws StandardException
- Fill this node with a deep copy of the given node.
- Overrides:
copyFrom in class MethodCallNode
- Throws:
StandardException
printSubNodes
public void printSubNodes(int depth)
- Prints the sub-nodes of this object. See QueryTreeNode.java for
how tree printing is supposed to work.
- Overrides:
printSubNodes in class MethodCallNode
- Parameters:
depth - The depth of this node in the tree
Copyright © 2013 Akiban Technologies, Inc. All rights reserved.