Parsers
dotty.tools.dotc.parsing.Parsers
object Parsers
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
class OutlineParser(source: SourceFile)(using x$2: Context) extends Parser, OutlineParserCommon
OutlineParser parses top-level declarations in source
to find declared classes, ignoring their bodies (which must only have balanced braces). This is used to map class names to defining sources.
OutlineParser parses top-level declarations in source
to find declared classes, ignoring their bodies (which must only have balanced braces). This is used to map class names to defining sources.
Attributes
- Supertypes
-
trait OutlineParserCommonclass Parserclass ParserCommonclass Objecttrait Matchableclass AnyShow all
trait OutlineParserCommon extends ParserCommon
Attributes
- Supertypes
- Known subtypes
-
class OutlineJavaParserclass OutlineParser
enum ParamOwner
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
enum ParseKind
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
class Parser(source: SourceFile)(using x$2: Context) extends ParserCommon
Attributes
- Supertypes
- Known subtypes
-
class OutlineParserclass ScriptParser
Attributes
- Supertypes
- Known subtypes
-
class JavaParserclass OutlineJavaParsertrait OutlineParserCommonclass OutlineParserclass Parserclass ScriptParserShow all
Value members
Concrete methods
The parse starting point depends on whether the source file is self-contained: if not, the AST will be supplemented.
The parse starting point depends on whether the source file is self-contained: if not, the AST will be supplemented.
Attributes
Extensions
Extensions
extension (buf: ListBuffer[Tree])
In this article