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
Fields in de.grogra.xl.compiler declared as ScopeModifier and TypeFieldDescriptionfinal ScopeCompilationUnit.defaultImportsThe automatic imports for the compilation unit.Methods 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 Typefinal CompilationUnitScopeCompiler.compilationUnit(antlr.collections.AST _t, ClassPath cpath, Scope imports, Annotation[] annotations, String source, CClass shell) protected CompilationUnitScopeCompiler.compile(ClassPath classPath, antlr.collections.AST tree, String source, Scope defaultImports, Annotation[] annotations, CClass shell) protected abstract CompilationUnitScopeCompilerBase.compile(ClassPath classPath, antlr.collections.AST tree, String source, Scope defaultImports, Annotation[] annotations, CClass shell) CompilerBase.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) 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 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) Constructors in de.grogra.xl.compiler with parameters of type ScopeModifierConstructorDescriptionCompilationUnit(ClassPath classPath, antlr.collections.AST tree, String source, RecognitionExceptionList problems, Scope defaultImports, CompilerOptions options, Collection<Annotation> annotations) -
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, 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.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.