scala.tools.nsc.ast.parser.BracePair.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scala-compiler Show documentation
Show all versions of scala-compiler Show documentation
Compiler for the Scala Programming Language
/* NSC -- new Scala compiler
* Copyright 2005-2013 LAMP/EPFL
* @author Martin Odersky
*/
package scala.tools.nsc
package ast.parser
/** A descriptor for a matching pair of braces.
* @param loff The offset of the opening brace (-1 means missing)
* @param lindent The indentation depth of the line of the opening brace (-1 means missing)
* @param roff The offset of the closing brace (-1 means missing)
* @param rindent The indentation depth of the line of the closing brace (-1 means missing)
* @param nested The brace pairs nested in this one
*/
case class BracePair(loff: Int, lindent: Int, roff: Int, rindent: Int, nested: List[BracePair])