AssociatedComments

scala.meta.contrib.AssociatedComments
See theAssociatedComments companion object
sealed abstract class AssociatedComments(leadingMap: Map[Token, List[Comment]], trailingMap: Map[Token, List[Comment]])

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def hasComment(tree: Tree): Boolean
def leading(tree: Tree): Set[Comment]
def syntax: String
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
def trailing(tree: Tree): Set[Comment]