Uses of Class
de.grogra.xl.compiler.scope.Scope
Packages that use Scope
Package
Description
-
Uses of Scope in de.grogra.rgg.model
Methods in de.grogra.rgg.model that return ScopeModifier and TypeMethodDescriptionprotected ScopeShellFilter.getImports(ClassPath path) protected ScopeXLFilter.getImports(ClassPath path) Constructs the scope which includes all automatic imports. -
Uses of Scope in de.grogra.xl.compiler
Methods in de.grogra.xl.compiler that return ScopeMethods in de.grogra.xl.compiler with parameters of type ScopeModifier and TypeMethodDescriptionfinal de.grogra.xl.compiler.AnnotationInfoCompiler.annotation(antlr.collections.AST _t, Scope scope) final Expression[]CompilerBase.assignmentConversion(Expression expr, Type type, Scope scope, antlr.collections.AST pos) final ExpressionCompiler.binaryOp(antlr.collections.AST _t, Scope scope, Expression op, String opName, antlr.collections.AST root) final Expressionfinal ExpressionCompiler.booleanExpr(antlr.collections.AST _t, Scope scope) CompilerBase.castingConversion(Expression expr, Type type, Scope scope, antlr.collections.AST pos) CompilerBase.castingConversion(Expression expr, Type type, Scope scope, antlr.collections.AST pos, String msg, boolean test) final voidCompiler.classDecl(antlr.collections.AST _t, Scope scope, long allowedMods, long implMods, antlr.collections.AST root) final Type[]final TypeCompilerBase.compileFieldExpression(Field field, Expression expr, Scope scope, antlr.collections.AST pos) CompilerBase.compileInstance(Member m, Scope declaring, Scope s, antlr.collections.AST pos) final Expressionfinal Expression[]final Type[]Compiler.extendsClause(antlr.collections.AST _t, Scope scope) static CompilationUnitCompilationUnit.forParsedSource(ClassPath classPath, antlr.collections.AST tree, String source, RecognitionExceptionList problems, Scope defaultImports, CompilerOptions options, Collection<Annotation> annotations) static CompilationUnitCompilationUnit.forXL16UBackendMigrationHandoff(ClassPath classPath, Scope defaultImports, CompilerOptions options, Collection<Annotation> annotations, XL16UBackendMigrationHandoff handoff) static CompilationUnitCompilationUnit.forXL16UDirectBackendHandoff(ClassPath classPath, Scope defaultImports, CompilerOptions options, Collection<Annotation> annotations, XL16UBackendMigrationHandoff handoff) CompilerBase.implicitConversion(Expression expr, Type type, boolean allowD2F, Scope scope, antlr.collections.AST pos, String msg, boolean test) Perform autoconversion of the expression to target type.booleanCompilerBase.isApplicable(Member m, Members.Applicability appl, Scope scope) booleanCompilerBase.isLessThan(Member m1, Members.Applicability a1, Member m2, Members.Applicability a2, Scope scope) final ExpressionCompilerBase.methodInvocationConversion(Expression expr, Type type, Scope scope, antlr.collections.AST pos) final longCompiler.modifiers(antlr.collections.AST _t, long allowed, long implicit, long incompatibleWithAbstract, List<Annotation> annots, Scope scope) final voidCompiler.patternDecl(antlr.collections.AST _t, Scope scope, long allowedMods, long implMods, antlr.collections.AST root) final ExpressionCompiler.referenceExpr(antlr.collections.AST _t, Scope scope, Class cls) CompilerBase.returnConversion(Expression expr, Type type, Scope scope, antlr.collections.AST pos) CompilerBase.standardImplicitConversion(Expression expr, Type type, boolean allowD2F, Scope scope, antlr.collections.AST pos, String msg, boolean test) Perform autoconversion of the expression to target type.final Typefinal Expressionfinal ExpressionCompiler.variableDecl(antlr.collections.AST _t, Scope scope) CompilerBase.wideningConversion(Expression expr, Type type, Scope scope, antlr.collections.AST pos) -
Uses of Scope in de.grogra.xl.compiler.scope
Subclasses of Scope in de.grogra.xl.compiler.scopeModifier and TypeClassDescriptionclassABlockScoperepresents a scope for local variables.final classfinal classclassclassclassclassfinal classclassfinal classfinal classfinal classfinal classfinal classFields in de.grogra.xl.compiler.scope declared as ScopeMethods in de.grogra.xl.compiler.scope that return ScopeModifier and TypeMethodDescriptionClassPath.createImports(String[] packageImports, Class[] memberTypeImports, Class[] singleTypeImports, Class[] staticImports) Members.getContextScope()Scope.getEnclosingScope()Returns the enclosing scope of this scope.final ScopeScope.getRoot()Returns the outmost enclosing scope.Members.getScopeForResult()Methods in de.grogra.xl.compiler.scope with parameters of type ScopeModifier and TypeMethodDescriptionvoidvoidMembers.addMatches(Scope scope, int flags) voidMembers.addMatches(Scope scope, Type qualifier, int flags) InstanceScope.createExpression(Scope scope, antlr.collections.AST pos) final ExpressionLocal.createExpression(Scope scope, antlr.collections.AST ast) final ExpressionbooleanChecks if this scope enclosessdirectly or indirectly.static ClassPathstatic CompilationUnitScopestatic MethodScopestatic ProduceScopestatic TypeScopestatic TypeScopeTypeScope.getNonlocal(Scope scope) voidInsertsencsuch that it becomes the new enclosing scope of this ecope.booleanMembers.Resolution.isApplicable(Member m, Members.Applicability applOut, Scope scope) Checks whether a membermis applicable.booleanMembers.Resolution.isLessThan(Member m1, Members.Applicability a1, Member m2, Members.Applicability a2, Scope scope) Checks whether an applicable memberm1is less specific than another applicable memberm2.final booleanScope.isShadowedBy(Scope s) Checks if declarations of this scope are shadowed by declarations ofs.Constructors in de.grogra.xl.compiler.scope with parameters of type ScopeModifierConstructorDescriptionBlockScope(Scope enclosing) BlockScope(Scope enclosing, boolean seq) BlockScope(Scope enclosing, Expression block) CompilationUnitScope(Scope enclosing, String source, Annotation[] annotations, XL16UCompilerScopeHandoff xl16uHandoff, Compiler compiler) CompilationUnitScope(Scope enclosing, String source, Annotation[] annotations, XL16UCompilerScopeHandoff xl16uHandoff, XL16UFrontendRouteGate.Route xl16uFrontendRoute, Compiler compiler) CompilationUnitScope(Scope enclosing, String source, Annotation[] annotations, XL16UCompilerScopeHandoff xl16uHandoff, XL16UFrontendRouteGate.Route xl16uFrontendRoute, XL16UFrontendParseSummary xl16uFrontendParseSummary, Compiler compiler) ImportOnDemandScope(Scope enclosing) PackageImportOnDemand(Scope enclosing, Package imported) SingleStaticImport(Scope enclosing, Type importedType, String member) SingleTypeImport(Scope enclosing, Type importedType) StaticImportOnDemand(Scope enclosing, Type imported) TypeImportOnDemand(Scope enclosing, Type imported) TypeScope(Scope enclosing, CClass type, long modifiersHi, Compiler compiler, antlr.collections.AST node) -
Uses of Scope in de.grogra.xl.compiler.xl16u
Methods in de.grogra.xl.compiler.xl16u with parameters of type ScopeModifier and TypeMethodDescriptionstatic CompilationUnitXL16UDedicatedParsePath.processPreparedProgram(XL16UPreparedProgram prepared, ClassPath classPath, Scope defaultImports, CompilerOptions options, Collection<Annotation> annotations) XL16UDedicatedParsePath.processPreparedProgramWithProductPath(XL16UPreparedProgram prepared, ClassPath classPath, Scope defaultImports, CompilerOptions options, Collection<Annotation> annotations) static CompilationUnitXL16UDedicatedParsePath.processProgramUnit(XL16UProgram program, antlr.collections.AST legacyTree, ClassPath classPath, Scope defaultImports, CompilerOptions options, Collection<Annotation> annotations) Direct handoff overload for already-processed programs plus caller-supplied legacy tree.static CompilationUnitXL16UDedicatedParsePath.processProgramUnit(XL16UProgram program, ClassPath classPath, Scope defaultImports, CompilerOptions options, Collection<Annotation> annotations) XL16UDedicatedParsePath.processProgramUnitWithProductPath(XL16UProgram program, antlr.collections.AST legacyTree, ClassPath classPath, Scope defaultImports, CompilerOptions options, Collection<Annotation> annotations) XL16UDedicatedParsePath.processProgramUnitWithProductPath(XL16UProgram program, ClassPath classPath, Scope defaultImports, CompilerOptions options, Collection<Annotation> annotations) static CompilationUnitXL16UDedicatedParsePath.processUnit(String source, String systemId, CompilerOptions options, ClassPath classPath, Scope defaultImports, Collection<Annotation> annotations) XL16UDedicatedParsePath.processUnitWithProductPath(String source, String systemId, CompilerOptions options, ClassPath classPath, Scope defaultImports, Collection<Annotation> annotations) -
Uses of Scope in de.grogra.xl.expr
Methods in de.grogra.xl.expr with parameters of type ScopeModifier and TypeMethodDescriptionAdd.compile(Scope scope, Expression expr1, Expression expr2) BinaryExpression.compile(Scope scope, Expression e1, Expression e2) Comparison.compile(Scope scope, Expression e1, Expression e2) Conditional.compile(Scope scope, Expression c, Expression e1, Expression e2) Expression.compile(Scope scope, Expression e) Expression.compile(Scope scope, Expression e1, Expression e2) Guard.compile(Scope scope, Expression e1, Expression e2) Id.compile(Scope scope, Expression e1) Shift.compile(Scope scope, Expression e1, Expression e2) UnaryExpression.compile(Scope scope, Expression e1) Expression.createExpression(Scope scope, antlr.collections.AST ast) ExpressionFactory.createExpression(Scope scope, antlr.collections.AST pos) Expression.implicitConversion(Scope scope, Type type) Converts this expression by unary promotion to one of the types whose mask (seeTypeId) is present insupportedTypes.