TastyParser

dotty.tools.scaladoc.tasty.TastyParser
case class TastyParser(qctx: Quotes, inspector: ScaladocTastyInspector)(isSkipped: qctx.reflect.Symbol => Boolean)(using ctx: DocContext) extends BasicSupport, TypesSupport, ClassLikeSupport, PackageSupport, InkuireSupport

Parses a single Tasty compilation unit.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait InkuireSupport
trait Resources
trait Writer
trait Locations
trait PackageSupport
trait ClassLikeSupport
trait TypesSupport
trait BasicSupport
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

case class MemberInfo(paramLists: List[ParameterList], res: qctx.reflect.TypeRepr, contextBounds: Map[String, Signature])

Attributes

Inherited from:
ClassLikeSupport
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object MemberInfo

Attributes

Inherited from:
ClassLikeSupport
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any

Attributes

Inherited from:
BasicSupport
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
InkuireSupport
Supertypes
class Object
trait Matchable
class Any
object TreeSyntax

Attributes

Inherited from:
TypesSupport
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
InkuireSupport
Supertypes
class Object
trait Matchable
class Any
object TypeSyntax

Attributes

Inherited from:
TypesSupport
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
InkuireSupport
Supertypes
class Object
trait Matchable
class Any

Inherited types

Attributes

Inherited from:
TypesSupport

Value members

Concrete methods

def parseRootTree(root: qctx.reflect.Tree): Seq[(String, Member)]
def processTree[T](tree: qctx.reflect.Tree)(op: => T): Option[T]
def processTreeOpt[T](tree: qctx.reflect.Tree)(op: => Option[T]): Option[T]

Inherited methods

def absolutePath(dri: DRI, extension: String): String

Attributes

Inherited from:
Locations
def allResources(pages: Seq[Page]): Seq[Resource]

Attributes

Inherited from:
Resources
def copy(from: InputStream, to: String): String

Attributes

Inherited from:
Writer
def copy(from: Path, to: String): String

Attributes

Inherited from:
Writer
def doInkuireStuff(classDef: qctx.reflect.ClassDef): Unit

Attributes

Inherited from:
InkuireSupport
def driExists(dri: DRI): Boolean

Attributes

Inherited from:
Locations
override def effectiveMembers: Map[DRI, Member]

Attributes

Definition Classes
InkuireSupport -> Locations
Inherited from:
InkuireSupport

Attributes

Inherited from:
Locations

Attributes

Inherited from:
ClassLikeSupport
def linkResources(dri: DRI, resources: Iterable[String], deferJs: Boolean): Iterable[AppliedTag]

Attributes

Inherited from:
Resources
def mkClass(classDef: qctx.reflect.ClassDef)(dri: DRI, name: String, signatureOnly: Boolean, modifiers: Seq[Modifier]): Member

Attributes

Inherited from:
ClassLikeSupport
def mkMember(symbol: qctx.reflect.Symbol, kind: Kind, signature: Signature)(modifiers: Seq[Modifier], origin: Origin, inheritedFrom: Option[InheritedFrom], graph: HierarchyGraph, deprecated: Option[Annotation], experimental: Option[Annotation]): Member

Attributes

Inherited from:
ClassLikeSupport
def mkParameter(argument: qctx.reflect.ValDef, classDef: qctx.reflect.ClassDef, prefix: qctx.reflect.Symbol => String, isExtendedSymbol: Boolean, isGrouped: Boolean, memberInfo: Map[String, qctx.reflect.TypeRepr]): TermParameter

Attributes

Inherited from:
ClassLikeSupport
def mkTypeArgument(argument: qctx.reflect.TypeDef, classDef: qctx.reflect.ClassDef, memberInfo: Map[String, qctx.reflect.TypeBounds], contextBounds: Map[String, Signature]): TypeParameter

Attributes

Inherited from:
ClassLikeSupport
def parseAnnotation(using Quotes)(annotTerm: x$1.reflect.Term): Annotation

Attributes

Inherited from:
BasicSupport
def parseClasslike(classDef: qctx.reflect.ClassDef, signatureOnly: Boolean): Member

Attributes

Inherited from:
ClassLikeSupport
def parseEnum(classDef: qctx.reflect.ClassDef, signatureOnly: Boolean): Member

Attributes

Inherited from:
ClassLikeSupport
def parseMethod(c: qctx.reflect.ClassDef, methodSymbol: qctx.reflect.Symbol, paramPrefix: qctx.reflect.Symbol => String, specificKind: Def => Kind): Member

Attributes

Inherited from:
ClassLikeSupport
def parseObject(classDef: qctx.reflect.ClassDef, signatureOnly: Boolean): Member

Attributes

Inherited from:
ClassLikeSupport
def parsePackage(pck: qctx.reflect.PackageClause): (String, Member)

Attributes

Inherited from:
PackageSupport
def parsePackageObject(pckObj: qctx.reflect.ClassDef): (String, Member)

Attributes

Inherited from:
PackageSupport
def parseTypeDef(typeDef: qctx.reflect.TypeDef, classDef: qctx.reflect.ClassDef): Member

Attributes

Inherited from:
ClassLikeSupport
def parseValDef(c: qctx.reflect.ClassDef, valDef: qctx.reflect.ValDef): Member

Attributes

Inherited from:
ClassLikeSupport
def pathToPage(from: DRI, to: DRI): String

Attributes

Inherited from:
Locations
def pathToRaw(from: Seq[String], to: Seq[String]): String

Attributes

Inherited from:
Locations
def pathToRoot(dri: DRI): String

Attributes

Inherited from:
Locations

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def rawLocation(dri: DRI): Seq[String]

Attributes

Inherited from:
Locations

Attributes

Inherited from:
Locations
def renderResource(resource: Resource): Seq[String]

Attributes

Inherited from:
Resources
def resolveRoot(dri: DRI, path: String): String

Attributes

Inherited from:
Locations
def resolveRoot(from: Seq[String], to: String): String

Attributes

Inherited from:
Locations

Attributes

Inherited from:
Resources
def searchData(pages: Seq[Page]): Resource

Attributes

Inherited from:
Resources
def unwrapMemberInfo(c: qctx.reflect.ClassDef, symbol: qctx.reflect.Symbol): MemberInfo

Attributes

Inherited from:
ClassLikeSupport
def write(path: String, content: String): String

Attributes

Inherited from:
Writer
def write(dri: DRI, content: AppliedTag, extension: String): String

Attributes

Inherited from:
Writer

Concrete fields

val intrinsicClassDefs: Set[qctx.reflect.Symbol]
val intrinsicTypeDefs: Set[qctx.reflect.Symbol]
val noPosClassDefs: Set[qctx.reflect.Symbol]

Inherited fields

Attributes

Inherited from:
Resources

Attributes

Inherited from:
Resources
lazy val apiPaths: Set[String]

Attributes

Inherited from:
Locations

Attributes

Inherited from:
Locations

Attributes

Inherited from:
Resources

Attributes

Inherited from:
Resources

Attributes

Inherited from:
Resources

Attributes

Inherited from:
Resources

Attributes

Inherited from:
Resources

Attributes

Inherited from:
Resources

Attributes

Inherited from:
Resources

Attributes

Inherited from:
Resources

Attributes

Inherited from:
Resources

Attributes

Inherited from:
Resources

Attributes

Inherited from:
Resources

Givens

Givens

given ctx: DocContext

Inherited givens

Attributes

Inherited from:
InkuireSupport

Attributes

Inherited from:
TypesSupport

Attributes

Inherited from:
InkuireSupport

Attributes

Inherited from:
TypesSupport

Attributes

Inherited from:
InkuireSupport

Extensions

Inherited extensions

extension (using Quotes)(c: x$1.reflect.ClassDef)

Attributes

Inherited from:
ClassLikeSupport
def membersToDocument: List[x$1.reflect.Statement]

Attributes

Inherited from:
ClassLikeSupport
extension (c: qctx.reflect.ClassDef)

Attributes

Inherited from:
ClassLikeSupport

Extracts members while taking Dotty logic for patching the stdlib into account.

Extracts members while taking Dotty logic for patching the stdlib into account.

Attributes

Inherited from:
ClassLikeSupport

Attributes

Inherited from:
ClassLikeSupport
def getConstructors: List[this.qctx.reflect.Symbol]

Attributes

Inherited from:
ClassLikeSupport
def getParameterModifier(parameter: qctx.reflect.Symbol): String

Attributes

Inherited from:
ClassLikeSupport

Attributes

Inherited from:
ClassLikeSupport
def getParentsAsTreeSymbolTuples: List[(this.qctx.reflect.Tree, this.qctx.reflect.Symbol)]

Attributes

Inherited from:
ClassLikeSupport
def getTreeOfFirstParent: Option[this.qctx.reflect.Tree]

Attributes

Inherited from:
ClassLikeSupport
def getTypeParams: List[this.qctx.reflect.TypeDef]

Attributes

Inherited from:
ClassLikeSupport
extension (on: SignaturePart)

Attributes

Inherited from:
TypesSupport
extension (using Quotes)(sym: x$1.reflect.Symbol)

Attributes

Inherited from:
BasicSupport

Attributes

Inherited from:
BasicSupport

Attributes

Inherited from:
BasicSupport

Attributes

Inherited from:
BasicSupport

Attributes

Inherited from:
BasicSupport