Class ArraySourceLines
Simple text source based on array
Inherits from
-
Object
(base class) -
SourceLines
Constructors
Name | Description |
---|---|
this
|
|
this
|
|
this
|
Fields
Name | Type | Description |
---|---|---|
_emptyLine
|
dchar[] |
|
_file
|
SourceFile |
|
_firstLine
|
uint |
|
_line
|
uint |
|
_lines
|
dstring[] |
Properties
Name | Type | Description |
---|---|---|
eof
[get]
|
bool |
end of file reached
|
errorCode
[get]
|
int |
source encoding |
errorLine
[get]
|
int |
error line
|
errorMessage
[get]
|
string |
error message |
errorPos
[get]
|
int |
error position |
file
[get]
|
SourceFile |
source file
|
line
[get]
|
uint |
last read line
|
Methods
Name | Description |
---|---|
close
|
|
initialize
|
|
readLine
|
read line , return null if EOF reached or error occured
|
reset
|