java.lang.Object
antlr.TreeParser
de.grogra.xl.compiler.CompilerBase
de.grogra.xl.compiler.Compiler
- All Implemented Interfaces:
CompilerTokenTypes,Members.Resolution
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String[]static final antlr.collections.impl.BitSetstatic final antlr.collections.impl.BitSetstatic final antlr.collections.impl.BitSetstatic final antlr.collections.impl.BitSetstatic final antlr.collections.impl.BitSetstatic final antlr.collections.impl.BitSetstatic final antlr.collections.impl.BitSetstatic final antlr.collections.impl.BitSetstatic final antlr.collections.impl.BitSetstatic final antlr.collections.impl.BitSetstatic final antlr.collections.impl.BitSetstatic final antlr.collections.impl.BitSetFields inherited from class de.grogra.xl.compiler.CompilerBase
ANN_FIELD, ANN_METHOD, ANN_TYPE, COMPILATION, CPATTERN_TYPE, currentCompilationUnitScope, EXPR_FINAL, EXPR_THIS, I18N, METHOD_DECLARATION, MOD_CONST, MOD_CONSTRUCTOR, MOD_GLOBAL, MOD_IMPLICIT_ARGUMENT, MOD_INITIALIZER, MOD_INSTANTIATOR, MOD_ITERATING, MOD_MODULE, MOD_PARAMETER, MOD_ROUTINE, MOD_STATIC_MEMBER_CLASSES, MOD_THIS_PARAMETER, OPERATOR_NAME_ADD, OPERATOR_NAME_ADD_ASSIGN, OPERATOR_NAME_AND, OPERATOR_NAME_AND_ASSIGN, OPERATOR_NAME_ARROW, OPERATOR_NAME_CAND, OPERATOR_NAME_CMP, OPERATOR_NAME_COM, OPERATOR_NAME_COR, OPERATOR_NAME_DEC, OPERATOR_NAME_DEFERRED_ADD, OPERATOR_NAME_DEFERRED_AND, OPERATOR_NAME_DEFERRED_ASSIGN, OPERATOR_NAME_DEFERRED_DIV, OPERATOR_NAME_DEFERRED_MUL, OPERATOR_NAME_DEFERRED_OR, OPERATOR_NAME_DEFERRED_POW, OPERATOR_NAME_DEFERRED_RATE_ASSIGN, OPERATOR_NAME_DEFERRED_REM, OPERATOR_NAME_DEFERRED_SHL, OPERATOR_NAME_DEFERRED_SHR, OPERATOR_NAME_DEFERRED_SUB, OPERATOR_NAME_DEFERRED_USHR, OPERATOR_NAME_DEFERRED_XOR, OPERATOR_NAME_DIV, OPERATOR_NAME_DIV_ASSIGN, OPERATOR_NAME_EQUALS, OPERATOR_NAME_GE, OPERATOR_NAME_GT, OPERATOR_NAME_GUARD, OPERATOR_NAME_IN, OPERATOR_NAME_INC, OPERATOR_NAME_INDEX, OPERATOR_NAME_INVOKE, OPERATOR_NAME_LE, OPERATOR_NAME_LEFT_ARROW, OPERATOR_NAME_LEFT_NUMBER_SIGN_ARROW, OPERATOR_NAME_LEFT_RIGHT_ARROW, OPERATOR_NAME_LINE, OPERATOR_NAME_LONG_ARROW, OPERATOR_NAME_LONG_LEFT_ARROW, OPERATOR_NAME_LONG_LEFT_RIGHT_ARROW, OPERATOR_NAME_LT, OPERATOR_NAME_MUL, OPERATOR_NAME_MUL_ASSIGN, OPERATOR_NAME_NEG, OPERATOR_NAME_NOT, OPERATOR_NAME_NOT_EQUALS, OPERATOR_NAME_NUMBER_SIGN_ARROW, OPERATOR_NAME_OR, OPERATOR_NAME_OR_ASSIGN, OPERATOR_NAME_PLUS_ARROW, OPERATOR_NAME_PLUS_LEFT_ARROW, OPERATOR_NAME_PLUS_LEFT_RIGHT_ARROW, OPERATOR_NAME_PLUS_LINE, OPERATOR_NAME_POS, OPERATOR_NAME_POST_DEC, OPERATOR_NAME_POST_INC, OPERATOR_NAME_POW, OPERATOR_NAME_POW_ASSIGN, OPERATOR_NAME_QUOTE, OPERATOR_NAME_RANGE, OPERATOR_NAME_REM, OPERATOR_NAME_REM_ASSIGN, OPERATOR_NAME_SHL, OPERATOR_NAME_SHL_ASSIGN, OPERATOR_NAME_SHR, OPERATOR_NAME_SHR_ASSIGN, OPERATOR_NAME_SLASH_ARROW, OPERATOR_NAME_SLASH_LEFT_ARROW, OPERATOR_NAME_SLASH_LEFT_RIGHT_ARROW, OPERATOR_NAME_SLASH_LINE, OPERATOR_NAME_SPACE, OPERATOR_NAME_SUB, OPERATOR_NAME_SUB_ASSIGN, OPERATOR_NAME_USHL, OPERATOR_NAME_USHR, OPERATOR_NAME_USHR_ASSIGN, OPERATOR_NAME_X_LEFT_RIGHT_ARROW, OPERATOR_NAME_XOR, OPERATOR_NAME_XOR_ASSIGN, options, parameterManagers, problems, PRODUCER_BEGIN, PRODUCER_CLIQUE_BEGIN, PRODUCER_CLIQUE_END, PRODUCER_END, PRODUCER_GET_ROOT, PRODUCER_POP, PRODUCER_PUSH, PRODUCER_SEPARATE, ROUTINE_MODIFIERS, TYPE_AND_FIELD_DECLARATION, USERPATTERN_TYPE, WARN_ON_IMPLICIT_MODIFIERFields inherited from class antlr.TreeParser
_retTree, astFactory, ASTNULL, inputState, returnAST, tokenNames, traceDepthFields inherited from interface de.grogra.xl.compiler.CompilerTokenTypes
ABSTRACT_, ADD, ADD_ASSIGN, AND, AND_ASSIGN, ANNOTATION, ANY, APPLICATION_CONDITION, ARGLIST, ARRAY_DECLARATOR, ARRAY_INIT, ARRAY_ITERATOR, ARROW, ASSERT, ASSIGN, BOOLEAN_, BOOLEAN_LITERAL, BREAK, BYTE_, CAND, CASE, CATCH, CHAR_, CHAR_LITERAL, CLASS, CLASS_LITERAL, CLASS_PATTERN, CMP, COM, COMPILATION_UNIT, COMPOUND_PATTERN, CONST_, CONSTRUCTOR, CONTEXT, CONTINUE, COR, DEC, DECLARING_TYPE, DEFAULT, DEFERRED_ADD, DEFERRED_AND, DEFERRED_ASSIGN, DEFERRED_DIV, DEFERRED_MUL, DEFERRED_OR, DEFERRED_POW, DEFERRED_RATE_ASSIGN, DEFERRED_REM, DEFERRED_SHL, DEFERRED_SHR, DEFERRED_SUB, DEFERRED_USHR, DEFERRED_XOR, DIMLIST, DIV, DIV_ASSIGN, DO, DOT, DOUBLE_, DOUBLE_ARROW_RULE, DOUBLE_LITERAL, ELIST, EMPTY, ENHANCED_FOR, EOF, EQUALS, EXEC_RULE, EXPR, EXTENDS, EXTENT_VISIBILITY, FINAL_, FINALLY, FLOAT_, FLOAT_LITERAL, FOLDING, FOR, GE, GLOBAL_, GT, GUARD, IDENT, IF, IMPLEMENTS, IMPORT_ON_DEMAND, IN, INC, INDEX_OP, INSTANCE_INIT, INSTANCEOF, INSTANTIATOR, INT_, INT_LITERAL, INTERFACE, INVALID_EXPR, INVOKE_OP, ITERATING_, LABEL, LABELED_STATEMENT, LATE_MATCH, LCLIQUE, LE, LEFT_ARROW, LEFT_NUMBER_SIGN_ARROW, LEFT_RIGHT_ARROW, LINE, LONG_, LONG_ARROW, LONG_LEFT_ARROW, LONG_LEFT_RIGHT_ARROW, LONG_LITERAL, LT, MARKER, METHOD, METHOD_CALL, METHOD_PATTERN, MINIMAL, MODIFIERS, MODULE, MUL, MUL_ASSIGN, NAME_PATTERN, NATIVE_, NEG, NEW, NODE, NODES, NORMAL, NOT, NOT_EQUALS, NULL_LITERAL, NULL_TREE_LOOKAHEAD, NUMBER_SIGN_ARROW, OPTIONAL_MATCH, OR, OR_ASSIGN, PACKAGE, PARAMETER_DEF, PARAMETERIZED_PATTERN, PARAMETERS, PATTERN_WITH_BLOCK, PLUS_ARROW, PLUS_LEFT_ARROW, PLUS_LEFT_RIGHT_ARROW, PLUS_LINE, POS, POST_DEC, POST_INC, POW, POW_ASSIGN, PRIVATE_, PRODUCE, PROTECTED_, PUBLIC_, QUALIFIED_NEW, QUALIFIED_SUPER, QUERY, QUERY_EXPR, QUESTION, QUOTE, RANGE, RANGE_EXACTLY, RANGE_MIN, RCLIQUE, REM, REM_ASSIGN, RETURN, ROOT, RULE, RULE_BLOCK, SCALE, SEMI, SEPARATE, SHELL_BLOCK, SHL, SHL_ASSIGN, SHORT_, SHR, SHR_ASSIGN, SINGLE_ELEMENT, SINGLE_MATCH, SINGLE_OPTIONAL_MATCH, SINGLE_STATIC_IMPORT, SINGLE_TYPE_IMPORT, SLASH_ARROW, SLASH_LEFT_ARROW, SLASH_LEFT_RIGHT_ARROW, SLASH_LINE, SLIST, STATIC_, STATIC_IMPORT_ON_DEMAND, STATIC_INIT, STATIC_MEMBER_CLASSES, STRICT_, STRING_LITERAL, SUB, SUB_ASSIGN, SUPER, SWITCH, SWITCH_GROUP, SYNCHRONIZED_, THIS, THROW, THROWS, TRANSIENT_, TRAVERSAL, TREE, TRY, TYPE_PATTERN, TYPECAST, TYPECHECK, UNARY_PREFIX, USHL, USHR, USHR_ASSIGN, VARARGS_, VARIABLE_DEF, VOID_, VOLATILE_, WHILE, WITH, WRAPPED_TYPE_PATTERN, X_LEFT_RIGHT_ARROW, XOR, XOR_ASSIGN, YIELD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal de.grogra.xl.compiler.AnnotationInfoannotation(antlr.collections.AST _t, Scope scope) final ExpressionanonymousClass(antlr.collections.AST _t, BlockScope scope, Type type, antlr.collections.AST typeAST, Expression qualifier, Expression[] args, antlr.collections.AST root) final voidanonymousClassImpl(antlr.collections.AST _t, TypeScope scope) final Expression[]final ExpressionarrayIndex(antlr.collections.AST _t, BlockScope scope) final ExpressionarrayInitializer(antlr.collections.AST _t, BlockScope scope, Type type) final ExpressionassignOp(antlr.collections.AST _t, BlockScope scope, antlr.collections.AST pos) final ExpressionbinaryOp(antlr.collections.AST _t, Scope scope, Expression op, String opName, antlr.collections.AST root) final Expressionfinal ExpressionbooleanExpr(antlr.collections.AST _t, Scope scope) final TypebuiltInType(antlr.collections.AST _t) final voidclassDecl(antlr.collections.AST _t, Scope scope, long allowedMods, long implMods, antlr.collections.AST root) final Type[]final voidclassMember(antlr.collections.AST _t, TypeScope scope, boolean iface) final Typefinal CompilationUnitScopecompilationUnit(CompilationUnit unit, antlr.collections.AST tree, CClass shell) protected CompilationUnitScopecompile(CompilationUnit unit, CClass shell) final PatternBuildercompositePattern(antlr.collections.AST _t, BlockScope scope, PatternBuilder parent, CompiletimeModel model, boolean allowOpen, boolean context) final ExpressioncompoundAssignOp(antlr.collections.AST _t, BlockScope scope, Expression op, String operatorName, antlr.collections.AST root) final voidconstantExprPattern(antlr.collections.AST _t) final voidconstructorDecl(antlr.collections.AST _t, TypeScope scope) final ExpressiondeferredOp(antlr.collections.AST _t, BlockScope scope, String op, antlr.collections.AST pos) final ExpressionedgeExpr(antlr.collections.AST _t, BlockScope scope) final voidedgeRest(antlr.collections.AST _t, PatternBuilder pb, antlr.collections.AST label, antlr.collections.AST edge) final ObjectelementValue(antlr.collections.AST _t, Type expected, de.grogra.xl.compiler.AnnotationInfo info) final voidelementValuePair(antlr.collections.AST _t, de.grogra.xl.compiler.AnnotationInfo info, antlr.collections.AST element) final Expressionelist(antlr.collections.AST _t, BlockScope scope) final Expressionfinal Expression[]final Type[]extendsClause(antlr.collections.AST _t, Scope scope) final ExpressionfieldInitializer(antlr.collections.AST _t, MethodScope scope, XField field) final Expressiongraph(antlr.collections.AST _t, BlockScope scope) final voidimportDecl(antlr.collections.AST _t, CompilationUnitScope scope) final ExpressionincOp(antlr.collections.AST _t, BlockScope scope, boolean postfix, byte inc, String operatorName, antlr.collections.AST root) final Expressioninitializer(antlr.collections.AST _t, BlockScope scope, Type type) final voidinstanceInit(antlr.collections.AST _t, TypeScope scope) final intlabelRef(antlr.collections.AST _t, BlockScope scope, boolean forContinue, antlr.collections.AST pos) final Expressionliteral(antlr.collections.AST _t) final Expressionfinal Expressionloop(antlr.collections.AST _t, BlockScope scope, String label) final BlockloopBlock(antlr.collections.AST _t, BlockScope scope, String label) final voidmethodDecl(antlr.collections.AST _t, TypeScope scope, boolean iface) final ExpressionmethodInvocation(antlr.collections.AST _t, BlockScope scope, de.grogra.xl.compiler.ArgumentTransformations impl) final longmodifier(antlr.collections.AST _t) final longmodifiers(antlr.collections.AST _t, long allowed, long implicit, long incompatibleWithAbstract, List<Annotation> annots, Scope scope) final voidname(antlr.collections.AST _t) final PatternBuildernestedCompositePattern(antlr.collections.AST _t, PatternBuilder pb) final ExpressionnewExpression(antlr.collections.AST _t, BlockScope scope) final Expressionnode(antlr.collections.AST _t, BlockScope scope, antlr.collections.AST pos, Expression producerIn) final ExpressionnodeExpr(antlr.collections.AST _t, BlockScope scope, ExpressionFactory producer, antlr.collections.AST pos) final voidparameterList(antlr.collections.AST _t, TypeScope ts, MethodScope ms, antlr.collections.AST name) final voidpatternDecl(antlr.collections.AST _t, Scope scope, long allowedMods, long implMods, antlr.collections.AST root) final voidpredicate(antlr.collections.AST _t, PatternBuilder pb, antlr.collections.AST label) final Expressionproduce(antlr.collections.AST _t, BlockScope scope) final Expressionquery(antlr.collections.AST _t, BlockScope scope, ExpressionFactory graph, CompiletimeModel model, boolean forProduction, boolean context) final ExpressionreferenceExpr(antlr.collections.AST _t, Scope scope, Class cls) final Expressionrule(antlr.collections.AST _t, BlockScope scope, ExpressionFactory graph, CompiletimeModel model) final ExpressionruleBlock(antlr.collections.AST _t, BlockScope scope) final Expressionslist(antlr.collections.AST _t, BlockScope scope) final voidslistInScope(antlr.collections.AST _t, BlockScope scope) final Expressionstat(antlr.collections.AST _t, BlockScope scope, String label) final BlockstatBlock(antlr.collections.AST _t, BlockScope scope) final voidstaticInit(antlr.collections.AST _t, TypeScope scope) final ExpressionswitchStatement(antlr.collections.AST _t, BlockScope enclosing, String label) final Expressionterm(antlr.collections.AST _t, PatternBuilder pb) final Expression[]termList(antlr.collections.AST _t, PatternBuilder pb) final voidthrowsList(antlr.collections.AST _t, MethodScope ms) final TraversalDatatraversal(antlr.collections.AST _t, PatternBuilder pb, antlr.collections.AST label) final Typefinal Expressionfinal ExpressionvariableDecl(antlr.collections.AST _t, Scope scope) final ExpressionwithBlock(antlr.collections.AST _t, BlockScope scope, Expression i, antlr.collections.AST block) Methods inherited from class de.grogra.xl.compiler.CompilerBase
activateXL16ULegacyBackendConsumptionRoute, activeXL16UBackendRuntimeAstOwnedBridgeCallSiteReplacementReady, activeXL16UBackendRuntimeAstOwnedBridgeCallSiteReplacementRequiresCompatibilitySourceFallback, activeXL16UCommitTailRuntimeCallSiteReplacementReady, activeXL16UCommitTailRuntimeCallSiteReplacementRequiresCompatibilitySourceFallback, activeXL16ULegacyBackendCodeGenerationConsumedSelectedSemanticAstBytecodeCallSiteReplacement, activeXL16ULegacyBackendCodeGenerationReady, activeXL16ULegacyBackendCodeGenerationRequiresCompatibilitySourceFallback, activeXL16ULegacyBackendEmissionConsumedSelectedSemanticAstBytecodeCallSiteReplacement, activeXL16ULegacyBackendEmissionReady, activeXL16ULegacyBackendEmissionRequiresCompatibilitySourceFallback, activeXL16ULegacyBackendGeneratedActionsConsumedAllRouteNodes, activeXL16ULegacyBackendGeneratedActionsConsumedSelectedSemanticAstBytecodeCallSiteReplacement, activeXL16ULegacyBackendGeneratedActionsReady, activeXL16ULegacyBackendGeneratedActionsRequireCompatibilitySourceFallback, activeXL16ULegacyBackendRouteUsesAstOwnedConsumption, activeXL16ULegacyBackendRouteUsesCompatibilitySourceFallback, activeXL16USemanticAstBytecodeCallSiteReplacementReady, activeXL16USemanticAstBytecodeCallSiteReplacementRequiresCompatibilitySourceFallback, activeXL16USemanticEffectRuntimeCallSiteReplacementReady, activeXL16USemanticEffectRuntimeCallSiteReplacementRequiresCompatibilitySourceFallback, addParameterManager, allowsAmbiguousMembers, annotationToRunBeforeCompilation, assignmentConversion, attachXL16UCallableSignature, attachXL16USymbolMetadata, castingConversion, castingConversion, checkAnnotationType, checkOperatorFunction, compile, compile, compileFieldExpression, compileInstance, compileXL16UDirectAggregateInvocation, consumedAllXL16USourceOwnedLegacyBackendBoundaryNodes, copyInfo, createModel, declareParameterManager, finish, getActiveXL16UBackendRuntimeAstOwnedBridgeCallSiteReplacementResult, getActiveXL16ULegacyBackendActionConsumedNodeCount, getActiveXL16ULegacyBackendActionConsumedNodes, getActiveXL16ULegacyBackendActionConsumptionResult, getActiveXL16ULegacyBackendActionDeclarationConsumedNodeCount, getActiveXL16ULegacyBackendActionDeclarationConsumedNodes, getActiveXL16ULegacyBackendActionStatementConsumedNodeCount, getActiveXL16ULegacyBackendActionStatementConsumedNodes, getActiveXL16ULegacyBackendCodeGenerationAdaptedNodeCount, getActiveXL16ULegacyBackendCodeGenerationAdaptedNodes, getActiveXL16ULegacyBackendCodeGenerationDeclarationAdaptedNodes, getActiveXL16ULegacyBackendCodeGenerationDeclarationEmittedNodes, getActiveXL16ULegacyBackendCodeGenerationEmittedNodeCount, getActiveXL16ULegacyBackendCodeGenerationEmittedNodes, getActiveXL16ULegacyBackendCodeGenerationEmitterResult, getActiveXL16ULegacyBackendCodeGenerationResult, getActiveXL16ULegacyBackendCodeGenerationStatementAdaptedNodes, getActiveXL16ULegacyBackendCodeGenerationStatementEmittedNodes, getActiveXL16ULegacyBackendConsumedNodeCount, getActiveXL16ULegacyBackendConsumedNodes, getActiveXL16ULegacyBackendConsumptionPlan, getActiveXL16ULegacyBackendDeclarationConsumedNodes, getActiveXL16ULegacyBackendGeneratedActionAstCount, getActiveXL16ULegacyBackendGeneratedActionAsts, getActiveXL16ULegacyBackendStatementConsumedNodes, getAnnotation, getArgumentTypes, getAST, getBlockScope, getCompilationUnitScope, getDefaultInitialization, getDefaultPackageName, getPackage, getParameterManagerTypeFromAnnotation, getParameterManagerTypeFromName, getRun, getSelectedActiveXL16UCommitTailRuntimeCallSiteReplacement, getSelectedActiveXL16USemanticAstBytecodeCallSiteReplacement, getSelectedActiveXL16USemanticEffectRuntimeCallSiteReplacement, getSelectedXL16UCommitTailRuntimeCallSiteReplacement, getSelectedXL16USemanticAstBytecodeCallSiteReplacement, getSelectedXL16USemanticEffectRuntimeCallSiteReplacement, getTypeScope, getWrapperTypeFor, getXL16UAggregateQueryFallbackGate, getXL16UBackendRuntimeAstOwnedBridgeCallSiteReplacementResult, getXL16UDirectAggregateEmitterPlan, getXL16UDirectAggregateInvocationPlan, getXL16UFrontendParseCallableCount, getXL16UFrontendParseDeclarationCount, getXL16UFrontendParseSummary, getXL16UFrontendParseTokenCount, getXL16UFrontendRoute, getXL16UFrontendRouteId, getXL16USourceOwnedLegacyBackendConsumedNodes, getXL16USourceOwnedLegacyBackendConsumptionPlan, getXL16USourceOwnedLegacyBackendConsumptionResult, getXL16USourceOwnedLegacyCodeGenerationBoundaryNodes, getXL16USourceOwnedLegacyCodeGenerationBoundaryResult, getXL16USourceOwnedLegacyCodeGenerationDeclarationBoundaryNodes, getXL16USourceOwnedLegacyCodeGenerationStatementBoundaryNodes, hasXL16USourceOwnedLegacyCodeGenerationBoundaryWork, implicitConversion, intersect, isApplicable, isLessThan, matchActiveXL16UDirectAggregateInvocation, methodInvocationConversion, modifiersToString, processAdditionalAnnotation, processBeforeCompilationAnnotation, recordXL16ULegacyBackendGeneratedAction, returnConversion, selectActiveXL16UCommitTailRuntimeCallSitePath, selectActiveXL16USemanticAstBytecodeCallSitePath, selectActiveXL16USemanticEffectRuntimeCallSitePath, selectXL16UCommitTailRuntimeCallSitePath, selectXL16USemanticAstBytecodeCallSitePath, selectXL16USemanticEffectRuntimeCallSitePath, setAST, setBlockScope, setDefaultParameterManager, setLegalSupertype, setVerbose, standardImplicitConversion, supportsVersion, typeForType, usesXL16UExperimentalAntlrFrontendRoute, usesXL16UHandBuiltFrontendRoute, verifyNotDeclared, verifyNotDeclared, wideningConversion, xl16uBackendRuntimeAstOwnedBridgeCallSiteReplacementReady, xl16uBackendRuntimeAstOwnedBridgeCallSiteReplacementRequiresCompatibilitySourceFallback, xl16uCommitTailRuntimeCallSiteReplacementReady, xl16uCommitTailRuntimeCallSiteReplacementRequiresCompatibilitySourceFallback, xl16uParsedBySelectedFrontend, xl16uSemanticAstBytecodeCallSiteReplacementReady, xl16uSemanticAstBytecodeCallSiteReplacementRequiresCompatibilitySourceFallback, xl16uSemanticEffectRuntimeCallSiteReplacementReady, xl16uSemanticEffectRuntimeCallSiteReplacementRequiresCompatibilitySourceFallback, xl16uSourceOwnedLegacyBackendConsumptionReady, xl16uSourceOwnedLegacyCodeGenerationBoundaryReady, xl16uSourceOwnedLegacyCodeGenerationRequiresCompatibilitySourceFallback, xl16uUsesAstOwnedLegacyBackendConsumption, xl16uUsesCompatibilitySourceFallbackForLegacyBackendMethods inherited from class antlr.TreeParser
getAST, getASTFactory, getTokenName, getTokenNames, match, match, matchNot, panic, reportError, reportError, reportWarning, setASTFactory, setASTNodeClass, setASTNodeType, traceIn, traceIndent, traceOut
-
Field Details
-
_tokenNames
-
_tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_0 -
_tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_1 -
_tokenSet_2
public static final antlr.collections.impl.BitSet _tokenSet_2 -
_tokenSet_3
public static final antlr.collections.impl.BitSet _tokenSet_3 -
_tokenSet_4
public static final antlr.collections.impl.BitSet _tokenSet_4 -
_tokenSet_5
public static final antlr.collections.impl.BitSet _tokenSet_5 -
_tokenSet_6
public static final antlr.collections.impl.BitSet _tokenSet_6 -
_tokenSet_7
public static final antlr.collections.impl.BitSet _tokenSet_7 -
_tokenSet_8
public static final antlr.collections.impl.BitSet _tokenSet_8 -
_tokenSet_9
public static final antlr.collections.impl.BitSet _tokenSet_9 -
_tokenSet_10
public static final antlr.collections.impl.BitSet _tokenSet_10 -
_tokenSet_11
public static final antlr.collections.impl.BitSet _tokenSet_11
-
-
Constructor Details
-
Compiler
public Compiler()
-
-
Method Details
-
compile
protected CompilationUnitScope compile(CompilationUnit unit, CClass shell) throws antlr.RecognitionException - Specified by:
compilein classCompilerBase- Throws:
antlr.RecognitionException
-
compilationUnit
public final CompilationUnitScope compilationUnit(CompilationUnit unit, antlr.collections.AST tree, CClass shell) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
name
public final void name(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
importDecl
public final void importDecl(antlr.collections.AST _t, CompilationUnitScope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
classDecl
public final void classDecl(antlr.collections.AST _t, Scope scope, long allowedMods, long implMods, antlr.collections.AST root) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
patternDecl
public final void patternDecl(antlr.collections.AST _t, Scope scope, long allowedMods, long implMods, antlr.collections.AST root) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
modifiers
public final long modifiers(antlr.collections.AST _t, long allowed, long implicit, long incompatibleWithAbstract, List<Annotation> annots, Scope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
typeSpec
- Throws:
antlr.RecognitionException
-
classList
public final Type[] classList(antlr.collections.AST _t, Scope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
arglist
public final Expression[] arglist(antlr.collections.AST _t, Scope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
slist
public final Expression slist(antlr.collections.AST _t, BlockScope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
classMember
public final void classMember(antlr.collections.AST _t, TypeScope scope, boolean iface) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
extendsClause
public final Type[] extendsClause(antlr.collections.AST _t, Scope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
classType
public final Type classType(antlr.collections.AST _t, Scope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
anonymousClass
public final Expression anonymousClass(antlr.collections.AST _t, BlockScope scope, Type type, antlr.collections.AST typeAST, Expression qualifier, Expression[] args, antlr.collections.AST root) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
anonymousClassImpl
public final void anonymousClassImpl(antlr.collections.AST _t, TypeScope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
variableDecl
public final Expression variableDecl(antlr.collections.AST _t, Scope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
methodDecl
public final void methodDecl(antlr.collections.AST _t, TypeScope scope, boolean iface) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
constructorDecl
public final void constructorDecl(antlr.collections.AST _t, TypeScope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
instanceInit
public final void instanceInit(antlr.collections.AST _t, TypeScope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
staticInit
public final void staticInit(antlr.collections.AST _t, TypeScope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
parameterList
public final void parameterList(antlr.collections.AST _t, TypeScope ts, MethodScope ms, antlr.collections.AST name) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
throwsList
public final void throwsList(antlr.collections.AST _t, MethodScope ms) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
initializer
public final Expression initializer(antlr.collections.AST _t, BlockScope scope, Type type) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
fieldInitializer
public final Expression fieldInitializer(antlr.collections.AST _t, MethodScope scope, XField field) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
builtInType
- Throws:
antlr.RecognitionException
-
graph
public final Expression graph(antlr.collections.AST _t, BlockScope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
referenceExpr
public final Expression referenceExpr(antlr.collections.AST _t, Scope scope, Class cls) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
query
public final Expression query(antlr.collections.AST _t, BlockScope scope, ExpressionFactory graph, CompiletimeModel model, boolean forProduction, boolean context) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
longExpr
public final Expression longExpr(antlr.collections.AST _t, Scope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
withBlock
public final Expression withBlock(antlr.collections.AST _t, BlockScope scope, Expression i, antlr.collections.AST block) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
compositePattern
public final PatternBuilder compositePattern(antlr.collections.AST _t, BlockScope scope, PatternBuilder parent, CompiletimeModel model, boolean allowOpen, boolean context) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
nestedCompositePattern
public final PatternBuilder nestedCompositePattern(antlr.collections.AST _t, PatternBuilder pb) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
predicate
public final void predicate(antlr.collections.AST _t, PatternBuilder pb, antlr.collections.AST label) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
traversal
public final TraversalData traversal(antlr.collections.AST _t, PatternBuilder pb, antlr.collections.AST label) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
term
public final Expression term(antlr.collections.AST _t, PatternBuilder pb) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
expr
public final Expression expr(antlr.collections.AST _t, Scope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
termList
public final Expression[] termList(antlr.collections.AST _t, PatternBuilder pb) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
edgeRest
public final void edgeRest(antlr.collections.AST _t, PatternBuilder pb, antlr.collections.AST label, antlr.collections.AST edge) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
rule
public final Expression rule(antlr.collections.AST _t, BlockScope scope, ExpressionFactory graph, CompiletimeModel model) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
stat
public final Expression stat(antlr.collections.AST _t, BlockScope scope, String label) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
produce
public final Expression produce(antlr.collections.AST _t, BlockScope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
slistInScope
public final void slistInScope(antlr.collections.AST _t, BlockScope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
node
public final Expression node(antlr.collections.AST _t, BlockScope scope, antlr.collections.AST pos, Expression producerIn) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
nodeExpr
public final Expression nodeExpr(antlr.collections.AST _t, BlockScope scope, ExpressionFactory producer, antlr.collections.AST pos) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
unaryExpr
public final Expression unaryExpr(antlr.collections.AST _t, Scope scope, boolean includeInstanceScope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
edgeExpr
public final Expression edgeExpr(antlr.collections.AST _t, BlockScope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
constantExprPattern
public final void constantExprPattern(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
literal
- Throws:
antlr.RecognitionException
-
arrayInitializer
public final Expression arrayInitializer(antlr.collections.AST _t, BlockScope scope, Type type) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
ruleBlock
public final Expression ruleBlock(antlr.collections.AST _t, BlockScope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
statBlock
public final Block statBlock(antlr.collections.AST _t, BlockScope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
elist
public final Expression elist(antlr.collections.AST _t, BlockScope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
booleanExpr
public final Expression booleanExpr(antlr.collections.AST _t, Scope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
labelRef
public final int labelRef(antlr.collections.AST _t, BlockScope scope, boolean forContinue, antlr.collections.AST pos) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
loop
public final Expression loop(antlr.collections.AST _t, BlockScope scope, String label) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
switchStatement
public final Expression switchStatement(antlr.collections.AST _t, BlockScope enclosing, String label) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
loopBlock
public final Block loopBlock(antlr.collections.AST _t, BlockScope scope, String label) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
exprlist
public final Expression[] exprlist(antlr.collections.AST _t, Scope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
blockExpr
public final Expression blockExpr(antlr.collections.AST _t, Scope s) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
binaryOp
public final Expression binaryOp(antlr.collections.AST _t, Scope scope, Expression op, String opName, antlr.collections.AST root) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
assignOp
public final Expression assignOp(antlr.collections.AST _t, BlockScope scope, antlr.collections.AST pos) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
compoundAssignOp
public final Expression compoundAssignOp(antlr.collections.AST _t, BlockScope scope, Expression op, String operatorName, antlr.collections.AST root) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
deferredOp
public final Expression deferredOp(antlr.collections.AST _t, BlockScope scope, String op, antlr.collections.AST pos) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
incOp
public final Expression incOp(antlr.collections.AST _t, BlockScope scope, boolean postfix, byte inc, String operatorName, antlr.collections.AST root) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
methodInvocation
public final Expression methodInvocation(antlr.collections.AST _t, BlockScope scope, de.grogra.xl.compiler.ArgumentTransformations impl) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
arrayIndex
public final Expression arrayIndex(antlr.collections.AST _t, BlockScope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
newExpression
public final Expression newExpression(antlr.collections.AST _t, BlockScope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
modifier
public final long modifier(antlr.collections.AST _t) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
annotation
public final de.grogra.xl.compiler.AnnotationInfo annotation(antlr.collections.AST _t, Scope scope) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
elementValuePair
public final void elementValuePair(antlr.collections.AST _t, de.grogra.xl.compiler.AnnotationInfo info, antlr.collections.AST element) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-
elementValue
public final Object elementValue(antlr.collections.AST _t, Type expected, de.grogra.xl.compiler.AnnotationInfo info) throws antlr.RecognitionException - Throws:
antlr.RecognitionException
-