Parsers

object Parsers
class Object
trait Matchable
class Any

Type members

Classlikes

enum Location(val inParens: Boolean, val inPattern: Boolean, val inArgs: Boolean)
case class OpInfo(operand: Tree, operator: Ident, offset: Offset)
class OutlineParser(source: SourceFile)(using `x$2`: Context) extends Parser with 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.

object ParamOwner extends Enumeration
class Parser(source: SourceFile)(using `x$2`: Context) extends ParserCommon
abstract class ParserCommon(val source: SourceFile)(using `x$2`: Context)
object StageKind

Types

type StageKind = Int

Value members

Concrete methods

def parser(source: SourceFile)(using Context): Parser

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.

Extensions

Extensions

extension (buf: ListBuffer[Tree])