Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SableCC STUPS
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
SableCC STUPS
Commits
119d0ec6
Commit
119d0ec6
authored
8 years ago
by
hansen
Browse files
Options
Downloads
Patches
Plain Diff
fixed javadoc
parent
055c85e7
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/resources/patchfiles/SourcePositions.txt
+31
-31
31 additions, 31 deletions
src/main/resources/patchfiles/SourcePositions.txt
with
31 additions
and
31 deletions
src/main/resources/patchfiles/SourcePositions.txt
+
31
−
31
View file @
119d0ec6
...
...
@@ -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) {
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment