Return a fixed linenumber/column until we figure out a reliable way

to determine the position of the node in the source code
This commit is contained in:
Andreas Dangel
2016-03-27 17:37:48 +02:00
parent acacf1906e
commit 26c9d95cfa

View File

@ -49,7 +49,9 @@ public abstract class AbstractApexNode<T extends AstNode> extends AbstractNode i
// some nodes are artificially generated by the compiler and are not
// really existing in source code
}
return super.getBeginLine();
// TODO: figure out the correct line
return 1;
}
@Override
@ -70,7 +72,8 @@ public abstract class AbstractApexNode<T extends AstNode> extends AbstractNode i
// really existing in source code
}
return super.getBeginColumn();
// TODO: figure out the correct column
return 1;
}
@Override