object plugin extends (analyzer)#AnalyzerPlugin
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- plugin
- AnalyzerPlugin
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
def
adaptAnnotations(tree: nsc.Global.Tree, typer: (analyzer)#Typer, mode: Mode, pt: nsc.Global.Type): nsc.Global.Tree
- Definition Classes
- plugin → AnalyzerPlugin
-
def
canAdaptAnnotations(tree: nsc.Global.Tree, typer: (analyzer)#Typer, mode: Mode, pt: nsc.Global.Type): Boolean
- Definition Classes
- plugin → AnalyzerPlugin
- def emptyOrSingleList(xs: List[nsc.Global.AnnotationInfo]): collection.immutable.List[nsc.Global.AnnotationInfo]
-
def
isActive(): Boolean
- Definition Classes
- AnalyzerPlugin
-
def
pluginsPt(pt: nsc.Global.Type, typer: (analyzer)#Typer, tree: nsc.Global.Tree, mode: Mode): nsc.Global.Type
- Definition Classes
- AnalyzerPlugin
-
def
pluginsTypeSig(tpe: nsc.Global.Type, typer: (analyzer)#Typer, defTree: nsc.Global.Tree, pt: nsc.Global.Type): nsc.Global.Type
- Definition Classes
- AnalyzerPlugin
-
def
pluginsTypeSigAccessor(tpe: nsc.Global.Type, typer: (analyzer)#Typer, tree: nsc.Global.ValDef, sym: nsc.Global.Symbol): nsc.Global.Type
- Definition Classes
- AnalyzerPlugin
-
def
pluginsTyped(tpe: nsc.Global.Type, typer: (analyzer)#Typer, tree: nsc.Global.Tree, mode: Mode, pt: nsc.Global.Type): nsc.Global.Type
Modify the type that has thus far been inferred for a tree.
Modify the type that has thus far been inferred for a tree. All this should do is add annotations.
- Definition Classes
- plugin → AnalyzerPlugin
-
def
pluginsTypedReturn(default: nsc.Global.Type, typer: (analyzer)#Typer, tree: nsc.Global.Return, pt: nsc.Global.Type): nsc.Global.Type
Returns an adapted type for a return expression if the method's result type (pt) is a CPS type.
Returns an adapted type for a return expression if the method's result type (pt) is a CPS type. Otherwise, it returns the
default
type (typedReturn
passesNothingTpe
).A return expression in a method that has a CPS result type is an error unless the return is in tail position. Therefore, we are making sure that only the types of return expressions are adapted which will either be removed, or lead to an error.
- Definition Classes
- plugin → AnalyzerPlugin
- def single(xs: List[nsc.Global.AnnotationInfo]): nsc.Global.AnnotationInfo
- def transArgList(fun: nsc.Global.Tree, args: List[nsc.Global.Tree]): List[List[nsc.Global.Tree]]
- def transChildrenInOrder(tree: nsc.Global.Tree, tpe: nsc.Global.Type, childTrees: List[nsc.Global.Tree], byName: List[nsc.Global.Tree]): nsc.Global.Type
- def transStms(stms: List[nsc.Global.Tree]): List[nsc.Global.Tree]
- def updateAttributesFromChildren(tpe: nsc.Global.Type, childAnnots: List[nsc.Global.AnnotationInfo], byName: List[nsc.Global.Tree]): nsc.Global.Type