JavaParsers
dotty.tools.dotc.parsing.JavaParsers
object JavaParsers
Attributes
- Graph
-
- Supertypes
- Self type
-
JavaParsers.type
Members list
Type members
Classlikes
class JavaParser(source: SourceFile)(using x$2: Context) extends ParserCommon
Attributes
- Supertypes
- Known subtypes
-
class OutlineJavaParser
class OutlineJavaParser(source: SourceFile)(using x$2: Context) extends JavaParser, OutlineParserCommon
OutlineJavaParser 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. This is necessary even for Java, because the filename defining a non-public classes cannot be determined from the classname alone.
OutlineJavaParser 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. This is necessary even for Java, because the filename defining a non-public classes cannot be determined from the classname alone.
Attributes
- Supertypes
-
trait OutlineParserCommonclass JavaParserclass ParserCommonclass Objecttrait Matchableclass AnyShow all
In this article