abstract class Block extends Statement
Block of statements, nesting uses a Block as a Statement.
There are two types of Block, an Outer which can use lazy loading and an Inner which does not. The OuterBlock helps significantly reduce memory needs at the cost of needing to re-parse the block contents. As re-parsing will parse all nested blocks we use an InnerBlock for these just to reduce the number of WeakReferences we need to use.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Block
- Statement
- ControlFlow
- CST
- Positionable
- UnsafeLocatable
- Locatable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Block()
Abstract Value Members
- abstract def statements(context: Option[BlockVerifyContext] = None): Seq[Statement]
- abstract def verify(context: BlockVerifyContext): Unit
- Definition Classes
- Statement
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def location: PathLocation
- Definition Classes
- Positionable → UnsafeLocatable → Locatable
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def safeLocation: Option[PathLocation]
- Definition Classes
- UnsafeLocatable
- def setLocation(path: PathLike, startLine: Int, startOffset: Int, endLine: Int, endOffset: Int): Unit
- Definition Classes
- Positionable
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def verifyControlPath(context: BlockVerifyContext, controlPattern: ControlPattern = NoControlPattern): Unit
- Definition Classes
- ControlFlow
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withContext(context: ParserRuleContext): Block.this.type
- Definition Classes
- CST
- def withLocation(location: PathLocation): Block.this.type
- Definition Classes
- Positionable