Uses of Class
de.grogra.xl.compiler.scope.Scope
Package
Description
-
Uses of Scope in de.grogra.rgg.model
Modifier and TypeMethodDescriptionprotected Scope
ShellFilter.getImports
(ClassPath path) protected Scope
XLFilter.getImports
(ClassPath path) Constructs the scope which includes all automatic imports. -
Uses of Scope in de.grogra.xl.compiler
Modifier and TypeFieldDescriptionfinal Scope
CompilationUnit.defaultImports
The automatic imports for the compilation unit.Modifier and TypeMethodDescriptionfinal de.grogra.xl.compiler.AnnotationInfo
Compiler.annotation
(antlr.collections.AST _t, Scope scope) final Expression[]
CompilerBase.assignmentConversion
(Expression expr, Type type, Scope scope, antlr.collections.AST pos) final Expression
Compiler.binaryOp
(antlr.collections.AST _t, Scope scope, Expression op, String opName, antlr.collections.AST root) final Expression
final Expression
Compiler.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 void
Compiler.classDecl
(antlr.collections.AST _t, Scope scope, long allowedMods, long implMods, antlr.collections.AST root) final Type[]
final Type
final CompilationUnitScope
Compiler.compilationUnit
(antlr.collections.AST _t, ClassPath cpath, Scope imports, Annotation[] annotations, String source, CClass shell) protected CompilationUnitScope
Compiler.compile
(ClassPath classPath, antlr.collections.AST tree, String source, Scope defaultImports, Annotation[] annotations, CClass shell) protected abstract CompilationUnitScope
CompilerBase.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 Expression
final 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.boolean
CompilerBase.isApplicable
(Member m, Members.Applicability appl, Scope scope) boolean
CompilerBase.isLessThan
(Member m1, Members.Applicability a1, Member m2, Members.Applicability a2, Scope scope) final Expression
CompilerBase.methodInvocationConversion
(Expression expr, Type type, Scope scope, antlr.collections.AST pos) final long
Compiler.modifiers
(antlr.collections.AST _t, long allowed, long implicit, long incompatibleWithAbstract, List<Annotation> annots, Scope scope) final Expression
Compiler.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 Type
final Expression
final Expression
Compiler.variableDecl
(antlr.collections.AST _t, Scope scope) CompilerBase.wideningConversion
(Expression expr, Type type, Scope scope, antlr.collections.AST pos) ModifierConstructorDescriptionCompilationUnit
(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
Modifier and TypeClassDescriptionclass
ABlockScope
represents a scope for local variables.final class
final class
class
class
class
class
final class
class
final class
final class
final class
final class
final class
Modifier and TypeMethodDescriptionClassPath.createImports
(String[] packageImports, Class[] memberTypeImports, Class[] singleTypeImports, Class[] staticImports) Members.getContextScope()
Scope.getEnclosingScope()
Returns the enclosing scope of this scope.final Scope
Scope.getRoot()
Returns the outmost enclosing scope.Members.getScopeForResult()
Modifier and TypeMethodDescriptionvoid
void
Members.addMatches
(Scope scope, int flags) void
Members.addMatches
(Scope scope, Type qualifier, int flags) InstanceScope.createExpression
(Scope scope, antlr.collections.AST pos) final Expression
Local.createExpression
(Scope scope, antlr.collections.AST ast) final Expression
boolean
Checks if this scope enclosess
directly or indirectly.static ClassPath
static CompilationUnitScope
static MethodScope
static ProduceScope
static TypeScope
static TypeScope
TypeScope.getNonlocal
(Scope scope) void
Insertsenc
such that it becomes the new enclosing scope of this ecope.boolean
Members.Resolution.isApplicable
(Member m, Members.Applicability applOut, Scope scope) Checks whether a memberm
is applicable.boolean
Members.Resolution.isLessThan
(Member m1, Members.Applicability a1, Member m2, Members.Applicability a2, Scope scope) Checks whether an applicable memberm1
is less specific than another applicable memberm2
.final boolean
Scope.isShadowedBy
(Scope s) Checks if declarations of this scope are shadowed by declarations ofs
.ModifierConstructorDescriptionBlockScope
(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
Modifier 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
.