public abstract static class Visitor.NoPrepareEvents<A> extends java.lang.Object implements Visitor<A>
Note that by default the implementation sees through note layers.
Visitor.Constant<A>, Visitor.Identity, Visitor.NoPrepareEvents<A>, Visitor.Property| Constructor and Description |
|---|
NoPrepareEvents() |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(java.lang.String name,
Expr type) |
boolean |
flattenToMapLists()
Determines whether the driver flattens lists matching the
toMap format into records
before feeding them to the visitor. |
boolean |
prepareAnnotated(Expr type) |
boolean |
prepareApplication(Expr base,
int size) |
boolean |
prepareAssert() |
boolean |
prepareEmptyList(Expr type) |
boolean |
prepareFieldAccess(Expr base,
java.lang.String fieldName) |
boolean |
prepareIf() |
boolean |
prepareLambda(java.lang.String name,
Expr type) |
boolean |
prepareLet(int size) |
boolean |
prepareLetBinding(java.lang.String name,
Expr type) |
boolean |
prepareMerge(Expr type) |
boolean |
prepareNonEmptyList(int size) |
boolean |
prepareNonEmptyListElement(int index) |
boolean |
prepareOperatorApplication(Operator operator) |
boolean |
preparePi(java.lang.String name,
Expr type) |
boolean |
prepareProjection(int size) |
boolean |
prepareProjectionByType() |
boolean |
prepareProjectionByType(Expr type) |
boolean |
prepareRecord(int size) |
boolean |
prepareRecordField(java.lang.String name,
Expr type,
int index) |
boolean |
prepareRecordType(int size) |
boolean |
prepareRecordTypeField(java.lang.String name,
Expr type,
int index) |
boolean |
prepareRemoteImport(java.net.URI url,
Expr using,
Expr.ImportMode mode,
byte[] hash) |
boolean |
prepareText(int size) |
boolean |
prepareTextPart(java.lang.String part) |
boolean |
prepareToMap(Expr type) |
boolean |
prepareUnionType(int size) |
boolean |
prepareUnionTypeField(java.lang.String name,
Expr type,
int index) |
boolean |
prepareWith(java.lang.String[] path) |
boolean |
prepareWithValue(java.lang.String[] path) |
boolean |
sortFields()
Determines whether the driver sorts fields by name before feeding them to the visitor.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonAnnotated, onApplication, onAssert, onBuiltIn, onClasspathImport, onDate, onDouble, onEmptyList, onEnvImport, onFieldAccess, onIdentifier, onIf, onInteger, onLambda, onLet, onLocalImport, onMerge, onMissingImport, onNatural, onNonEmptyList, onNote, onOperatorApplication, onPi, onProjection, onProjectionByType, onRecord, onRecordType, onRemoteImport, onText, onTime, onTimeZone, onToMap, onUnionType, onWithpublic boolean sortFields()
VisitorsortFields in interface Visitor<A>public boolean flattenToMapLists()
VisitortoMap format into records
before feeding them to the visitor.flattenToMapLists in interface Visitor<A>public boolean prepareLambda(java.lang.String name,
Expr type)
prepareLambda in interface Visitor<A>public boolean preparePi(java.lang.String name,
Expr type)
public boolean prepareLet(int size)
prepareLet in interface Visitor<A>public boolean prepareLetBinding(java.lang.String name,
Expr type)
prepareLetBinding in interface Visitor<A>public boolean prepareText(int size)
prepareText in interface Visitor<A>public boolean prepareTextPart(java.lang.String part)
prepareTextPart in interface Visitor<A>public boolean prepareNonEmptyList(int size)
prepareNonEmptyList in interface Visitor<A>public boolean prepareNonEmptyListElement(int index)
prepareNonEmptyListElement in interface Visitor<A>public boolean prepareEmptyList(Expr type)
prepareEmptyList in interface Visitor<A>public boolean prepareRecord(int size)
prepareRecord in interface Visitor<A>public boolean prepareRecordField(java.lang.String name,
Expr type,
int index)
prepareRecordField in interface Visitor<A>public boolean prepareRecordType(int size)
prepareRecordType in interface Visitor<A>public boolean prepareRecordTypeField(java.lang.String name,
Expr type,
int index)
prepareRecordTypeField in interface Visitor<A>public boolean prepareUnionType(int size)
prepareUnionType in interface Visitor<A>public boolean prepareUnionTypeField(java.lang.String name,
Expr type,
int index)
prepareUnionTypeField in interface Visitor<A>public boolean prepareFieldAccess(Expr base, java.lang.String fieldName)
prepareFieldAccess in interface Visitor<A>public boolean prepareProjection(int size)
prepareProjection in interface Visitor<A>public boolean prepareProjectionByType()
prepareProjectionByType in interface Visitor<A>public boolean prepareProjectionByType(Expr type)
prepareProjectionByType in interface Visitor<A>public boolean prepareApplication(Expr base, int size)
prepareApplication in interface Visitor<A>public boolean prepareOperatorApplication(Operator operator)
prepareOperatorApplication in interface Visitor<A>public boolean prepareAnnotated(Expr type)
prepareAnnotated in interface Visitor<A>public boolean prepareAssert()
prepareAssert in interface Visitor<A>public boolean prepareMerge(Expr type)
prepareMerge in interface Visitor<A>public boolean prepareToMap(Expr type)
prepareToMap in interface Visitor<A>public boolean prepareWith(java.lang.String[] path)
prepareWith in interface Visitor<A>public boolean prepareWithValue(java.lang.String[] path)
prepareWithValue in interface Visitor<A>public boolean prepareRemoteImport(java.net.URI url,
Expr using,
Expr.ImportMode mode,
byte[] hash)
prepareRemoteImport in interface Visitor<A>