Scala Library
|
|
object
NoPosition
extends
PositionMethod Summary | |
def
|
column
: Int
The column number referred to by the position; column numbers start at 1
|
def
|
line
: Int
The line number referred to by the position; line numbers start at 1
|
def
|
lineContents
: java.lang.String
The contents of the line numbered `lnum' (must not contain a new-line character).
|
override def
|
longString
: java.lang.String
Returns a more ``visual'' representation of this position.
More precisely, the resulting string consists of two lines:
List(this, is, a, line, from, the, document) ^ |
override def
|
toString
: java.lang.String
Returns a string representation of the `Position', of the form `line.column'
|
Methods inherited from Position | |
< |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
def
line : Int
def
column : Int
override
def
toString : java.lang.String
override
def
longString : java.lang.String
List(this, is, a, line, from, the, document) ^
def
lineContents : java.lang.String
lnum -
a 1-based integer index into the `document'
Scala Library
|
|