public class CompilePass2Listener extends AbstractInflectionListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AGGREGATION_DEFAULT |
static java.lang.String |
COMPOSITE |
static java.lang.String |
DEFAULT_VISITOR |
static java.lang.String |
DISCRETE |
static java.lang.String |
FIELD |
static java.lang.String |
HGROUP |
static java.lang.String |
MEMBER_TYPE_DEFAULT |
static java.lang.String |
OBJECT_VIEW |
static java.lang.String |
PROPERTY |
BASIC_TYPE_VIEWS, CH_LIQUIDMIND_INFLECTION_PACKAGE, JAVA_LANG_PACKAGE, JAVA_PACKAGE| Constructor and Description |
|---|
CompilePass2Listener(java.io.File compilationUnit,
org.antlr.v4.runtime.CommonTokenStream commonTokenStream,
java.lang.String packageName,
java.util.Map<java.lang.String,InflectionResourceCompiled> inflectionResourcesCompiled,
InflectionResourceLoader inflectionResourceLoader,
boolean bootstrap) |
getBootstrap, getCommonTokenStream, getCompilationUnit, getIdentifierFQName, getInflectionResourcesCompiled, getPackageName, getPackageName, setCommonTokenStream, setPackageName, stopCompilingenterAClass, enterAPackage, enterClassView, enterCompilationUnit, enterDeclaration, enterDeclarations, enterEveryRule, enterHgroup, enterHgroupBody, enterIdentifier, enterImportDeclaration, enterImportDeclarations, enterImportSymbol, enterMappedVisitors, enterMappingDeclaration, enterMappingInflectionView, enterMappingInflectionViews, enterNoSuperVmapDeclaration, enterPackageDeclaration, enterSimpleType, enterStandardMappingDeclaration, enterType, enterViewBody, enterVmap, enterVmapBody, exitAClass, exitAggregationModifier, exitAPackage, exitClassView, exitClassViewDeclaration, exitCompilationUnit, exitDeclaration, exitDeclarations, exitDefaultAggregationModifier, exitDefaultMappingDeclaration, exitDefaultMemberTypeModifier, exitDefaultSuperDeclaration, exitEveryRule, exitGroupedClassView, exitHgroup, exitHgroupBody, exitHgroupDeclaration, exitIdentifier, exitImportDeclaration, exitImportDeclarations, exitImportPackageSymbol, exitImportSymbol, exitImportTypeSymbol, exitMappedVisitor, exitMappedVisitors, exitMappingClassView, exitMappingInflectionView, exitMappingInflectionViews, exitMappingMemberView, exitMemberTypeModifier, exitMemberView, exitMemberViewName, exitNoSuperHgroupDeclaration, exitNoSuperVmapDeclaration, exitPackageDeclaration, exitSimpleType, exitStandardMappingDeclaration, exitSuperDeclaration, exitSuperHgroupDeclaration, exitSuperVmapDeclaration, exitType, exitViewBody, exitViewofDeclaration, exitVmap, exitVmapBody, exitVmapDeclaration, visitErrorNode, visitTerminalpublic static final java.lang.String OBJECT_VIEW
public static final java.lang.String HGROUP
public static final java.lang.String PROPERTY
public static final java.lang.String FIELD
public static final java.lang.String DISCRETE
public static final java.lang.String COMPOSITE
public static final java.lang.String DEFAULT_VISITOR
public static final java.lang.String MEMBER_TYPE_DEFAULT
public static final java.lang.String AGGREGATION_DEFAULT
public CompilePass2Listener(java.io.File compilationUnit,
org.antlr.v4.runtime.CommonTokenStream commonTokenStream,
java.lang.String packageName,
java.util.Map<java.lang.String,InflectionResourceCompiled> inflectionResourcesCompiled,
InflectionResourceLoader inflectionResourceLoader,
boolean bootstrap)
protected void addImportedPackage(InflectionParser.APackageContext aPackageContext, java.lang.String packageName)
public void enterImportPackageSymbol(InflectionParser.ImportPackageSymbolContext importPackageSymbolContext)
InflectionBaseListenerInflectionParser.importPackageSymbol().
The default implementation does nothing.
enterImportPackageSymbol in interface InflectionListenerenterImportPackageSymbol in class InflectionBaseListenerimportPackageSymbolContext - the parse treepublic void enterImportTypeSymbol(InflectionParser.ImportTypeSymbolContext importTypeSymbolContext)
InflectionBaseListenerInflectionParser.importTypeSymbol().
The default implementation does nothing.
enterImportTypeSymbol in interface InflectionListenerenterImportTypeSymbol in class InflectionBaseListenerimportTypeSymbolContext - the parse treepublic void enterClassViewDeclaration(InflectionParser.ClassViewDeclarationContext classViewDeclarationContext)
InflectionBaseListenerInflectionParser.classViewDeclaration().
The default implementation does nothing.
enterClassViewDeclaration in interface InflectionListenerenterClassViewDeclaration in class InflectionBaseListenerclassViewDeclarationContext - the parse treepublic void enterViewofDeclaration(InflectionParser.ViewofDeclarationContext viewofDeclarationContext)
InflectionBaseListenerInflectionParser.viewofDeclaration().
The default implementation does nothing.
enterViewofDeclaration in interface InflectionListenerenterViewofDeclaration in class InflectionBaseListenerviewofDeclarationContext - the parse treepublic void enterDefaultSuperDeclaration(InflectionParser.DefaultSuperDeclarationContext defaultSuperDeclarationContext)
InflectionBaseListenerInflectionParser.defaultSuperDeclaration().
The default implementation does nothing.
enterDefaultSuperDeclaration in interface InflectionListenerenterDefaultSuperDeclaration in class InflectionBaseListenerdefaultSuperDeclarationContext - the parse treepublic void enterSuperDeclaration(InflectionParser.SuperDeclarationContext superDeclarationContext)
InflectionBaseListenerInflectionParser.superDeclaration().
The default implementation does nothing.
enterSuperDeclaration in interface InflectionListenerenterSuperDeclaration in class InflectionBaseListenersuperDeclarationContext - the parse treepublic void enterMemberViewDeclaration(InflectionParser.MemberViewDeclarationContext memberViewDeclarationContext)
InflectionBaseListenerInflectionParser.memberViewDeclaration().
The default implementation does nothing.
enterMemberViewDeclaration in interface InflectionListenerenterMemberViewDeclaration in class InflectionBaseListenermemberViewDeclarationContext - the parse treepublic void exitMemberViewDeclaration(InflectionParser.MemberViewDeclarationContext memberViewDeclarationContext)
InflectionBaseListenerInflectionParser.memberViewDeclaration().
The default implementation does nothing.
exitMemberViewDeclaration in interface InflectionListenerexitMemberViewDeclaration in class InflectionBaseListenermemberViewDeclarationContext - the parse treepublic void enterDefaultMemberTypeModifier(InflectionParser.DefaultMemberTypeModifierContext defaultMemberTypeModifierContext)
InflectionBaseListenerInflectionParser.defaultMemberTypeModifier().
The default implementation does nothing.
enterDefaultMemberTypeModifier in interface InflectionListenerenterDefaultMemberTypeModifier in class InflectionBaseListenerdefaultMemberTypeModifierContext - the parse treepublic void enterMemberTypeModifier(InflectionParser.MemberTypeModifierContext memberTypeModifierContext)
InflectionBaseListenerInflectionParser.memberTypeModifier().
The default implementation does nothing.
enterMemberTypeModifier in interface InflectionListenerenterMemberTypeModifier in class InflectionBaseListenermemberTypeModifierContext - the parse treepublic void enterDefaultAggregationModifier(InflectionParser.DefaultAggregationModifierContext defaultAggregationModifierContext)
InflectionBaseListenerInflectionParser.defaultAggregationModifier().
The default implementation does nothing.
enterDefaultAggregationModifier in interface InflectionListenerenterDefaultAggregationModifier in class InflectionBaseListenerdefaultAggregationModifierContext - the parse treepublic void enterAggregationModifier(InflectionParser.AggregationModifierContext aggregationModifierContext)
InflectionBaseListenerInflectionParser.aggregationModifier().
The default implementation does nothing.
enterAggregationModifier in interface InflectionListenerenterAggregationModifier in class InflectionBaseListeneraggregationModifierContext - the parse treepublic void enterMemberView(InflectionParser.MemberViewContext memberViewContext)
InflectionBaseListenerInflectionParser.memberView().
The default implementation does nothing.
enterMemberView in interface InflectionListenerenterMemberView in class InflectionBaseListenermemberViewContext - the parse treepublic void enterMemberViewName(InflectionParser.MemberViewNameContext memberViewNameContext)
InflectionBaseListenerInflectionParser.memberViewName().
The default implementation does nothing.
enterMemberViewName in interface InflectionListenerenterMemberViewName in class InflectionBaseListenermemberViewNameContext - the parse treepublic void enterVmapDeclaration(InflectionParser.VmapDeclarationContext vmapDeclarationContext)
InflectionBaseListenerInflectionParser.vmapDeclaration().
The default implementation does nothing.
enterVmapDeclaration in interface InflectionListenerenterVmapDeclaration in class InflectionBaseListenervmapDeclarationContext - the parse treepublic void enterSuperVmapDeclaration(InflectionParser.SuperVmapDeclarationContext superVmapDeclarationContext)
InflectionBaseListenerInflectionParser.superVmapDeclaration().
The default implementation does nothing.
enterSuperVmapDeclaration in interface InflectionListenerenterSuperVmapDeclaration in class InflectionBaseListenersuperVmapDeclarationContext - the parse treepublic void exitMappingDeclaration(InflectionParser.MappingDeclarationContext mappingDeclarationContext)
InflectionBaseListenerInflectionParser.mappingDeclaration().
The default implementation does nothing.
exitMappingDeclaration in interface InflectionListenerexitMappingDeclaration in class InflectionBaseListenermappingDeclarationContext - the parse treepublic void enterDefaultMappingDeclaration(InflectionParser.DefaultMappingDeclarationContext defaultMappingDeclarationContext)
InflectionBaseListenerInflectionParser.defaultMappingDeclaration().
The default implementation does nothing.
enterDefaultMappingDeclaration in interface InflectionListenerenterDefaultMappingDeclaration in class InflectionBaseListenerdefaultMappingDeclarationContext - the parse treepublic void enterMappingClassView(InflectionParser.MappingClassViewContext mappingClassViewContext)
InflectionBaseListenerInflectionParser.mappingClassView().
The default implementation does nothing.
enterMappingClassView in interface InflectionListenerenterMappingClassView in class InflectionBaseListenermappingClassViewContext - the parse treepublic void enterMappingMemberView(InflectionParser.MappingMemberViewContext mappingMemberViewContext)
InflectionBaseListenerInflectionParser.mappingMemberView().
The default implementation does nothing.
enterMappingMemberView in interface InflectionListenerenterMappingMemberView in class InflectionBaseListenermappingMemberViewContext - the parse treepublic void enterMappedVisitor(InflectionParser.MappedVisitorContext mappedVisitorContext)
InflectionBaseListenerInflectionParser.mappedVisitor().
The default implementation does nothing.
enterMappedVisitor in interface InflectionListenerenterMappedVisitor in class InflectionBaseListenermappedVisitorContext - the parse treepublic void enterHgroupDeclaration(InflectionParser.HgroupDeclarationContext hgroupDeclarationContext)
InflectionBaseListenerInflectionParser.hgroupDeclaration().
The default implementation does nothing.
enterHgroupDeclaration in interface InflectionListenerenterHgroupDeclaration in class InflectionBaseListenerhgroupDeclarationContext - the parse treepublic void enterSuperHgroupDeclaration(InflectionParser.SuperHgroupDeclarationContext superHgroupDeclarationContext)
InflectionBaseListenerInflectionParser.superHgroupDeclaration().
The default implementation does nothing.
enterSuperHgroupDeclaration in interface InflectionListenerenterSuperHgroupDeclaration in class InflectionBaseListenersuperHgroupDeclarationContext - the parse treepublic void enterNoSuperHgroupDeclaration(InflectionParser.NoSuperHgroupDeclarationContext ctx)
InflectionBaseListenerInflectionParser.noSuperHgroupDeclaration().
The default implementation does nothing.
enterNoSuperHgroupDeclaration in interface InflectionListenerenterNoSuperHgroupDeclaration in class InflectionBaseListenerctx - the parse treepublic void enterGroupedClassView(InflectionParser.GroupedClassViewContext groupedClassViewContext)
InflectionBaseListenerInflectionParser.groupedClassView().
The default implementation does nothing.
enterGroupedClassView in interface InflectionListenerenterGroupedClassView in class InflectionBaseListenergroupedClassViewContext - the parse treeprotected java.lang.Class<?> getClass(InflectionParser.TypeContext typeContext)
protected java.lang.Object getInflectionResourceCompiledOrLinked(InflectionParser.TypeContext typeContext)