|
|
@@ -76,7 +76,7 @@ public class JavaParser extends Parser { |
|
|
|
int sl = this.root.getLineNumber(node.getStartPosition()); |
|
|
|
int sc = this.root.getColumnNumber(node.getStartPosition()); |
|
|
|
|
|
|
|
data.put("coord", Symbols.createCoord(sl, sc, null, null)); |
|
|
|
data.put("coord", Symbols.createCoord(sl, sc, -1, -1)); |
|
|
|
this._cache.push(data); |
|
|
|
return true; |
|
|
|
} |
|
|
@@ -97,8 +97,8 @@ public class JavaParser extends Parser { |
|
|
|
|
|
|
|
int sl = this.root.getLineNumber(node.getStartPosition()); |
|
|
|
int sc = this.root.getColumnNumber(node.getStartPosition()); |
|
|
|
Integer el = null; |
|
|
|
Integer ec = null; |
|
|
|
Integer el = -1; |
|
|
|
Integer ec = -1; |
|
|
|
|
|
|
|
if (statements.size() > 0) { |
|
|
|
Statement last = statements.get(statements.size() - 1); |
|
|
@@ -127,7 +127,7 @@ public class JavaParser extends Parser { |
|
|
|
int sl = this.root.getLineNumber(node.getStartPosition()); |
|
|
|
int sc = this.root.getColumnNumber(node.getStartPosition()); |
|
|
|
|
|
|
|
data.put("coord", Symbols.createCoord(sl, sc, null, null)); |
|
|
|
data.put("coord", Symbols.createCoord(sl, sc, -1, -1)); |
|
|
|
data.put("name", name); |
|
|
|
this._cache.push(data); |
|
|
|
return true; |
|
|
@@ -157,7 +157,7 @@ public class JavaParser extends Parser { |
|
|
|
int sl = this.root.getLineNumber(node.getStartPosition()); |
|
|
|
int sc = this.root.getColumnNumber(node.getStartPosition()); |
|
|
|
|
|
|
|
data.put("coord", Symbols.createCoord(sl, sc, null, null)); |
|
|
|
data.put("coord", Symbols.createCoord(sl, sc, -1, -1)); |
|
|
|
this._cache.push(data); |
|
|
|
return true; |
|
|
|
} |
|
|
@@ -178,7 +178,7 @@ public class JavaParser extends Parser { |
|
|
|
int sl = this.root.getLineNumber(node.getStartPosition()); |
|
|
|
int sc = this.root.getColumnNumber(node.getStartPosition()); |
|
|
|
|
|
|
|
data.put("coord", Symbols.createCoord(sl, sc, null, null)); |
|
|
|
data.put("coord", Symbols.createCoord(sl, sc, -1, -1)); |
|
|
|
this._cache.push(data); |
|
|
|
return true; |
|
|
|
} |
|
|
|