Package gnu.kawa.lispexpr
Class LangObjType.SimpleVectorBuilder
- java.lang.Object
-
- gnu.kawa.reflect.CompileBuildObject
-
- gnu.kawa.lispexpr.LangObjType.SimpleVectorBuilder
-
- Enclosing class:
- LangObjType
public static class LangObjType.SimpleVectorBuilder extends CompileBuildObject
-
-
Constructor Summary
Constructors Constructor Description SimpleVectorBuilder(LangObjType vectorType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
buildAddChild(Declaration target, Expression child)
boolean
useBuilder(int numCode, InlineCalls visitor)
Check if we should use the builder rather than the default.-
Methods inherited from class gnu.kawa.reflect.CompileBuildObject
build, buildSetter, findNamedMember, getAddChildMethodName, getArg, getArgCount, getCompilation, getDefaultConstructor, getLanguage, getResultType, hasAddChildMethod, hasDefaultConstructor, init, insertArgument, keywordStart, make, numKeywordArgs, resultTypeExtends, resultTypeExtends, setArg, setDefaultConstructor
-
-
-
-
Constructor Detail
-
SimpleVectorBuilder
public SimpleVectorBuilder(LangObjType vectorType)
-
-
Method Detail
-
useBuilder
public boolean useBuilder(int numCode, InlineCalls visitor)
Description copied from class:CompileBuildObject
Check if we should use the builder rather than the default.- Overrides:
useBuilder
in classCompileBuildObject
- Returns:
- if true, caller should rewrite using the
CompileBuildObject.build()
method; otherwise caller (CompileInvoke
) should do the work itself.
-
buildAddChild
public Expression buildAddChild(Declaration target, Expression child)
- Overrides:
buildAddChild
in classCompileBuildObject
-
-