Class AntlrProjectionParent
java.lang.Object
cool.klass.model.converter.compiler.state.AntlrElement
cool.klass.model.converter.compiler.state.AntlrOrdinalElement
cool.klass.model.converter.compiler.state.AntlrNamedElement
cool.klass.model.converter.compiler.state.AntlrIdentifierElement
cool.klass.model.converter.compiler.state.projection.AntlrProjectionParent
- All Implemented Interfaces:
IAntlrElement
- Direct Known Subclasses:
AntlrProjection,AntlrProjectionReferenceProperty
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.eclipse.collections.api.list.MutableList<AntlrProjectionChild>protected final org.eclipse.collections.api.map.MutableOrderedMap<String,AntlrProjectionChild> protected final AntlrClassifierFields inherited from class cool.klass.model.converter.compiler.state.AntlrIdentifierElement
AMBIGUOUS_IDENTIFIER_CONTEXT, NOT_FOUND_IDENTIFIER_CONTEXTFields inherited from class cool.klass.model.converter.compiler.state.AntlrNamedElement
CONSTANT_NAME_PATTERN, JAVA_KEYWORDS, JAVA_LITERALS, MEMBER_NAME_PATTERN, nameContext, PACKAGE_NAME_PATTERN, RELADOMO_TYPES, SQL_KEYWORDS, TYPE_NAME_PATTERNFields inherited from class cool.klass.model.converter.compiler.state.AntlrOrdinalElement
ordinalFields inherited from class cool.klass.model.converter.compiler.state.AntlrElement
AMBIGUOUS_PARENT, compilationUnit, elementContext, NOT_FOUND_PARENT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAntlrProjectionParent(org.antlr.v4.runtime.ParserRuleContext elementContext, Optional<CompilationUnit> compilationUnit, int ordinal, KlassParser.IdentifierContext nameContext, AntlrClassifier classifier) -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.eclipse.collections.api.list.MutableList<AntlrProjectionChild>protected org.eclipse.collections.api.bag.ImmutableBag<String>abstract AbstractProjectionParent.AbstractProjectionParentBuilder<? extends AbstractProjectionParent>intvoidreportErrors(CompilerAnnotationHolder compilerAnnotationHolder) Methods inherited from class cool.klass.model.converter.compiler.state.AntlrIdentifierElement
getNameContextMethods inherited from class cool.klass.model.converter.compiler.state.AntlrNamedElement
getName, getNamePattern, reportKeywordCollision, reportNameErrors, toStringMethods inherited from class cool.klass.model.converter.compiler.state.AntlrOrdinalElement
getOrdinalMethods inherited from class cool.klass.model.converter.compiler.state.AntlrElement
getCompilationUnit, getElementContext, getMacroElement, getMacroElementBuilder, getSourceCodeBuilder, getSourceText, getSourceTextLenient, hasMacro, isForwardReference, isInSameCompilationUnitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface cool.klass.model.converter.compiler.state.IAntlrElement
gatherSurroundingElements, getContextAfter, getContextBefore, getEntireContext, getSurroundingElement, getSurroundingElement, getSurroundingElements, isContext, reportAuditErrors
-
Field Details
-
classifier
-
children
-
childrenByName
protected final org.eclipse.collections.api.map.MutableOrderedMap<String,AntlrProjectionChild> childrenByName
-
-
Constructor Details
-
AntlrProjectionParent
protected AntlrProjectionParent(@Nonnull org.antlr.v4.runtime.ParserRuleContext elementContext, @Nonnull Optional<CompilationUnit> compilationUnit, int ordinal, @Nonnull KlassParser.IdentifierContext nameContext, @Nonnull AntlrClassifier classifier)
-
-
Method Details
-
getElementBuilder
@Nonnull public abstract AbstractProjectionParent.AbstractProjectionParentBuilder<? extends AbstractProjectionParent> getElementBuilder()- Overrides:
getElementBuilderin classAntlrElement
-
getChildren
-
getClassifier
-
getNumChildren
public int getNumChildren() -
enterAntlrProjectionMember
-
getDuplicateMemberNames
-
reportErrors
-