(loff: Int, lindent: Int, roff: Int, rindent: Int, nested: List[BracePair]) extends Product with Serializable
A descriptor for a matching pair of braces.
The offset of the opening brace (-1 means missing)
The indentation depth of the line of the opening brace (-1 means missing)
The offset of the closing brace (-1 means missing)
The indentation depth of the line of the closing brace (-1 means missing)
The brace pairs nested in this one
(off: Int, inserted: Boolean) extends Patch with Product with Serializable
A patch that postulates that a brace needs to be inserted or deleted at a given position.
The offset where the brace needs to be inserted or deleted
If true, brace needs to be inserted, otherwise brace needs to be deleted.
- abstract class Change extends AnyRef
Common code between Scala's Tokens and JavaTokens.
- case class Deletion (nchars: Int) extends Change with Product with Serializable
- case class Insertion (text: String) extends Change with Product with Serializable
- trait MarkupParsers extends AnyRef
extends Scanners with MarkupParsers with ParsersCommon
Performs the following context-free rewritings:
Historical note: JavaParsers started life as a direct copy of Parsers but at a time when that Parsers had been replaced by a different one.
- class Patch extends AnyRef
- trait Scanners extends ScannersCommon
See Parsers.scala / ParsersCommon for some explanation of ScannersCommon.
This class builds instance of
Treethat represent XML.
extends SubComponent with Parsers with MarkupParsers with Scanners with JavaParsers with JavaScanners
An nsc sub-component.
Methods for building trees, used in the parser.