scala
.
tools
.
refactoring
.
sourcegen
LayoutHelper
Related Doc:
package sourcegen
trait
LayoutHelper
extends
AnyRef
Self Type
LayoutHelper
with
Formatting
with
Tracing
with
EnrichedTrees
with
CompilerAccess
Linear Supertypes
AnyRef
,
Any
Known Subclasses
AddField
,
AddImportStatement
,
AddMethod
,
AddValOrDef
,
ChangeParamOrder
,
ClassParameterDrivenSourceGeneration
,
EliminateMatch
,
ExpandCaseClassBinding
,
ExplicitGettersSetters
,
ExtractCode
,
ExtractExtractor
,
ExtractLocal
,
ExtractMethod
,
ExtractMethod
,
ExtractParameter
,
ExtractTrait
,
ExtractValue
,
ExtractionRefactoring
,
GenerateHashcodeAndEquals
,
InlineLocal
,
IntroduceProductNTrait
,
MergeParameterLists
,
MethodSignatureRefactoring
,
MoveClass
,
MoveConstructorToCompanionObject
,
MultiStageRefactoring
,
OrganizeImports
,
Refactoring
,
Rename
,
SourceGenerator
,
SplitParameterLists
,
UnusedImportsFinder
Ordering
Alphabetic
By inheritance
Inherited
LayoutHelper
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
between
(
l:
nsc.Global.Tree
,
r:
nsc.Global.Tree
)
:
LayoutFromFile
def
betweenEndAndPoint
(
t1:
nsc.Global.Tree
,
t2:
nsc.Global.Tree
)
:
LayoutFromFile
def
betweenPointAndEnd
(
t1:
nsc.Global.Tree
)
:
LayoutFromFile
def
betweenStartAndEnd
(
t1:
nsc.Global.Tree
)
:
LayoutFromFile
def
betweenStartAndPoint
(
t1:
nsc.Global.Tree
)
:
LayoutFromFile
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
layout
(
start:
Int
,
end:
Int
)
(
implicit
s:
SourceFile
)
:
LayoutFromFile
def
layoutForCompilationUnitRoot
(
t:
nsc.Global.Tree
)
: (
Layout
,
Layout
)
def
layoutForEnclosedChild
(
t:
nsc.Global.Tree
,
left:
nsc.Global.Tree
,
right:
nsc.Global.Tree
,
parent:
nsc.Global.Tree
)
: (
Layout
,
Layout
)
def
layoutForLeftOuterChild
(
t:
nsc.Global.Tree
,
parent:
nsc.Global.Tree
,
right:
nsc.Global.Tree
)
: (
Layout
,
Layout
)
def
layoutForRightOuterChild
(
t:
nsc.Global.Tree
,
parent:
nsc.Global.Tree
,
left:
nsc.Global.Tree
)
: (
Layout
,
Layout
)
def
layoutForSingleChild
(
t:
nsc.Global.Tree
,
p:
nsc.Global.Tree
)
: (
Layout
,
Layout
)
def
leadingLayoutForTree
(
t:
nsc.Global.Tree
)
:
Layout
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
splitLayoutBetweenLastChildAndParent
(
child:
nsc.Global.Tree
,
parent:
nsc.Global.Tree
)
: (
Layout
,
Layout
)
def
splitLayoutBetweenParentAndFirstChild
(
child:
nsc.Global.Tree
,
parent:
nsc.Global.Tree
)
: (
Layout
,
Layout
)
def
splitLayoutBetweenSiblings
(
parent:
nsc.Global.Tree
,
left:
nsc.Global.Tree
,
right:
nsc.Global.Tree
)
: (
Layout
,
Layout
)
def
surroundingLayoutFromParentsAndSiblings
(
t:
nsc.Global.Tree
)
: (
Layout
,
Layout
)
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
trailingLayoutForTree
(
t:
nsc.Global.Tree
)
:
Layout
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
AnyRef
Inherited from
Any
Ungrouped