summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/ast/parser/BracePair.scala
blob: 44cf5e7f2c09ac92fffe1f605e47c9aa3d0a4f2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
/* NSC -- new Scala compiler
 * Copyright 2005-2009 LAMP/EPFL
 * @author  Martin Odersky
 */
package scala.tools.nsc.ast.parser

/** A descriptor for a matching pair of braces.
 *  @param loff  The offset of the opening brace (-1 means missing)
 *  @param roff  The offset of the closing brace (-1 means missing)
 *  @param nested The brace pairs nested in this one
 */
case class BracePair(loff: Int, off: Int, nested: List[BracePair])