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:
@ -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
|
||||
|
Reference in New Issue
Block a user