class ScriptSourceFile extends BatchSourceFile
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ScriptSourceFile
- BatchSourceFile
- SourceFile
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ScriptSourceFile(underlying: BatchSourceFile, content: Array[Char], start: Int)
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( ... ) @native()
-
val
content: Array[Char]
- Definition Classes
- BatchSourceFile → SourceFile
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- BatchSourceFile → AnyRef → Any
-
val
file: AbstractFile
- Definition Classes
- BatchSourceFile → SourceFile
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- BatchSourceFile → AnyRef → Any
-
def
identifier(pos: Position): Option[String]
- Definition Classes
- BatchSourceFile → SourceFile
-
def
isAtEndOfLine(idx: Int): Boolean
True if the index is end of an EOL sequence.
True if the index is end of an EOL sequence.
- Definition Classes
- BatchSourceFile
-
def
isEndOfLine(idx: Int): Boolean
True if the index is included by an EOL sequence.
True if the index is included by an EOL sequence.
- Definition Classes
- BatchSourceFile → SourceFile
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isLineBreak(idx: Int): Boolean
- Definition Classes
- BatchSourceFile → SourceFile
-
def
isSelfContained: Boolean
- Definition Classes
- ScriptSourceFile → BatchSourceFile → SourceFile
-
def
length: Int
- Definition Classes
- BatchSourceFile → SourceFile
-
def
lineCount: Int
- Definition Classes
- BatchSourceFile → SourceFile
-
def
lineToOffset(index: Int): Int
- Definition Classes
- BatchSourceFile → SourceFile
-
def
lineToString(index: Int): String
- Definition Classes
- SourceFile
-
def
lines(start: Int, end: Int): Iterator[String]
An iterator over the lines between
start
andend
.An iterator over the lines between
start
andend
.Bounds are checked and clipped as necessary.
- Definition Classes
- BatchSourceFile → SourceFile
-
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
offsetToLine(offset: Int): Int
Convert offset to line in this source file.
Convert offset to line in this source file. Lines are numbered from 0.
- Definition Classes
- BatchSourceFile → SourceFile
-
def
path: String
- Definition Classes
- SourceFile
-
def
position(offset: Int): Position
- Definition Classes
- SourceFile
-
def
positionInUltimateSource(pos: Position): Position
Map a position to a position in the underlying source file.
Map a position to a position in the underlying source file. For regular source files, simply return the argument.
- Definition Classes
- ScriptSourceFile → SourceFile
-
final
def
skipWhitespace(offset: Int): Int
- Definition Classes
- SourceFile
- Annotations
- @tailrec()
-
val
start: Int
- Definition Classes
- ScriptSourceFile → BatchSourceFile
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- SourceFile → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()