Or failing that, some variety of alignment preservation, because I can't use it if it stomps on the existing formatting. Example diffs of what I'm talking about, from what was there to what scalariform left in its stead:
- var tree: Tree = _ // Tree associated with this context
- var owner: Symbol = NoSymbol // The current owner
- var scope: Scope = _ // The current scope
- var outer: Context = _ // The next outer context
- var enclClass: Context = _ // The next outer context whose tree is a
- // template or package definition
- var enclMethod: Context = _ // The next outer context whose tree is a method
- var variance: Int = _ // Variance relative to enclosing class
+ var tree: Tree = _ // Tree associated with this context
+ var owner: Symbol = NoSymbol // The current owner
+ var scope: Scope = _ // The current scope
+ var outer: Context = _ // The next outer context
+ var enclClass: Context = _ // The next outer context whose tree is a
+ // template or package definition
+ var enclMethod: Context = _ // The next outer context whose tree is a method
+ var variance: Int = _ // Variance relative to enclosing class
- "sym.ownerChain" -> sym.ownerChain,
- "underlyingSymbol(sym)" -> underlyingSymbol(sym),
- "pre" -> pre,
- "site" -> site,
- "tree" -> tree,
+ "sym.ownerChain" -> sym.ownerChain,
+ "underlyingSymbol(sym)" -> underlyingSymbol(sym),
+ "pre" -> pre,
+ "site" -> site,
+ "tree" -> tree,