public abstract class NodeConstructor extends MethodProc implements Inlineable
argTypes, NO_MATCH, NO_MATCH_AMBIGUOUS, NO_MATCH_BAD_TYPE, NO_MATCH_TOO_FEW_ARGS, NO_MATCH_TOO_MANY_ARGSnoArgscompilerKey, validateApplyKeynameKey| Constructor and Description |
|---|
NodeConstructor() |
| Modifier and Type | Method and Description |
|---|---|
void |
compile(ApplyExp exp,
Compilation comp,
Target target) |
static void |
compileChild(Expression arg,
Compilation comp,
ConsumerTarget target) |
abstract void |
compileToNode(ApplyExp exp,
Compilation comp,
ConsumerTarget target) |
static void |
compileUsingNodeTree(Expression exp,
Compilation comp,
Target target)
Compile an expression using a fresh NodeTree.
|
static KNode |
finishNode(XMLFilter filter) |
Type |
getReturnType(Expression[] args)
Semi-deprecated - instead should be set at Inline time.
|
static XMLFilter |
makeNode() |
static void |
popNodeConsumer(Consumer saved,
Consumer current) |
static void |
popNodeContext(Consumer saved,
CallContext ctx) |
static XMLFilter |
pushNodeConsumer(Consumer out) |
static XMLFilter |
pushNodeContext(CallContext ctx) |
applyN, getParameterType, isApplicable, matchFailAsException, mostSpecific, mostSpecific, numParameters, resolveParameterTypesapply, apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getSetter, getSourceLocation, isSideEffectFree, match0, match1, match2, match3, match4, matchN, maxArgs, maxArgs, minArgs, minArgs, numArgs, set0, set1, setN, setSetter, setSourceLocation, toStringgetName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbolpublic abstract void compileToNode(ApplyExp exp, Compilation comp, ConsumerTarget target)
public static XMLFilter pushNodeContext(CallContext ctx)
public static void popNodeContext(Consumer saved, CallContext ctx)
public static void compileChild(Expression arg, Compilation comp, ConsumerTarget target)
public static void compileUsingNodeTree(Expression exp, Compilation comp, Target target)
public static XMLFilter makeNode()
public void compile(ApplyExp exp, Compilation comp, Target target)
compile in interface Inlineablepublic Type getReturnType(Expression[] args)
ProceduregetReturnType in class Procedure