JavaParsers

dotty.tools.dotc.parsing.JavaParsers
object JavaParsers

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

class JavaParser(source: SourceFile)(using x$2: Context) extends ParserCommon

Attributes

Supertypes
class ParserCommon
class Object
trait Matchable
class Any
Known subtypes
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
class JavaParser
class ParserCommon
class Object
trait Matchable
class Any
Show all

Value members

Concrete fields