public class NodeLocation extends Object
NodeLocation
represents the location of a particular language construct in the source file.Modifier and Type | Field and Description |
---|---|
int |
startColumn |
int |
startLineNumber |
int |
stopColumn |
int |
stopLineNumber |
Constructor and Description |
---|
NodeLocation(String fileName,
int lineNumber) |
NodeLocation(String pkgDirPath,
String fileName,
int lineNumber) |
NodeLocation(String pkgDirPath,
String fileName,
int lineNumber,
int startLineNumber,
int startColumn,
int stopLineNumber,
int stopColumn) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getFileName() |
int |
getLineNumber() |
String |
getPackageDirPath() |
int |
hashCode() |
String |
toString() |
public int startLineNumber
public int startColumn
public int stopLineNumber
public int stopColumn
public NodeLocation(String fileName, int lineNumber)
Copyright © 2018 WSO2. All rights reserved.