Using ScriptRuntime.emptyStrings to return emoty var array
git-svn-id: svn://10.0.0.236/trunk@145910 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -47,10 +47,13 @@ public class ScriptOrFnNode extends Node {
|
||||
this.sourceName = sourceName;
|
||||
}
|
||||
|
||||
public final String getEncodedSource() { return encodedSource; }
|
||||
public final int getEncodedSourceStart() { return encodedSourceStart; }
|
||||
|
||||
public final void setEncodedSource(String encodedSource) {
|
||||
this.encodedSource = encodedSource;
|
||||
public final int getEncodedSourceEnd() { return encodedSourceEnd; }
|
||||
|
||||
public final void setEncodedSourceBounds(int start, int end) {
|
||||
this.encodedSourceStart = start;
|
||||
this.encodedSourceEnd = end;
|
||||
}
|
||||
|
||||
public final int getBaseLineno() { return baseLineno; }
|
||||
@@ -175,7 +178,8 @@ public class ScriptOrFnNode extends Node {
|
||||
|
||||
protected void finishParsing(IRFactory irFactory) { }
|
||||
|
||||
private String encodedSource;
|
||||
private int encodedSourceStart;
|
||||
private int encodedSourceEnd;
|
||||
private String sourceName;
|
||||
private int baseLineno = -1;
|
||||
private int endLineno = -1;
|
||||
|
||||
Reference in New Issue
Block a user