package util
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
final
case class
Deprecated
(message: String, since: String) extends Product with Serializable
Identical to scala.deprecated except it's a case class.
- sealed abstract class MatchingParens extends AnyRef
- trait Newline extends AnyRef
-
trait
SemanticCtx
extends AnyRef
Context for semantic rewrites, encapsulates a compilation context.
Context for semantic rewrites, encapsulates a compilation context.
A SemanticCtx is a thin wrapper around scala.meta.Database with additional in-memory indices for fast Position => Symbol and Symbol => Denotation lookups.
-
final
class
SymbolMatcher
extends AnyRef
Utility to match against a particular symbol.
Utility to match against a particular symbol.
Can be used both in pattern matching and regular condition testing.
val myMethod = SymbolMatcher(Symbol("_root_.myMethod")) myMethod.matches(Tree) Tree match { case myMethod(_) => // act on tree } myMethod.matches(Tree)
-
class
TokenList
extends AnyRef
Helper to traverse tokens as a doubly linked list.
- trait Trivia extends AnyRef
- trait Whitespace extends AnyRef
Value Members
- object MatchingParens
- object Newline
- object SemanticCtx
- object SymbolMatcher
- object TokenOps
- object TreeExtractors
- object TreeOps
- object Trivia
- object Whitespace