Skip to content
Snippets Groups Projects
Commit 119d0ec6 authored by hansen's avatar hansen
Browse files

fixed javadoc

parent 055c85e7
No related branches found
No related tags found
No related merge requests found
......@@ -29,8 +29,8 @@ public class SourcePositions {
* Returns the {@link SourcecodeRange} of this {@link PositionedNode} or
* <code>null</code> if no {@link SourcecodeRange} is available.
*
* @param node
* @return
* @param node the node with source code information
* @return the source code range of <code>node</code>
*/
public SourcecodeRange getSourcecodeRange(final PositionedNode node) {
return positions.get(node);
......@@ -41,8 +41,8 @@ public class SourcePositions {
* <code>0</code> is returned if no sourcecode range is available for this
* {@link PositionedNode}.
*
* @param node
* @return
* @param node the node with source code information
* @return the line where the <code>node</code> starts
*/
public int getBeginLine(final PositionedNode node) {
if (node instanceof IToken) {
......@@ -65,8 +65,8 @@ public class SourcePositions {
* i.e. the begin column. The value <code>0</code> is returned if no
* sourcecode range is available for this {@link PositionedNode}.
*
* @param node
* @return
* @param node the node with source code information
* @return the begin column of <code>node</code>
*/
public int getBeginColumn(final PositionedNode node) {
if (node instanceof IToken) {
......@@ -89,8 +89,8 @@ public class SourcePositions {
* <code>0</code> is returned if no sourcecode range is available for this
* {@link PositionedNode}.
*
* @param node
* @return
* @param node the node with source code information
* @return the end line of <code>node</code>
*/
public int getEndLine(final PositionedNode node) {
// TODO handle multi line comments
......@@ -133,8 +133,8 @@ public class SourcePositions {
* <code>0</code> is returned if no sourcecode range is available for this
* {@link PositionedNode}.
*
* @param node
* @return
* @param node the node with source code information
* @return the end column of <code>node</code>
*/
public int getEndColumn(final PositionedNode node) {
// TODO handle multi line comments
......@@ -179,8 +179,8 @@ public class SourcePositions {
* {@link PositionedNode}. The array may be empty, if no sourcecode range
* can be determined for this {@link PositionedNode}.
*
* @param node
* @return
* @param node the node with source code information
* @return all tokens of <code>node</code>
*/
public IToken[] getTokens(final PositionedNode node) {
if (node instanceof IToken) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment