Package com.google.common.css
Class SourceCodeLocationBuilder
java.lang.Object
com.google.common.css.SourceCodeLocationBuilder
Aids in the creation of source code locations. A builder can be used for
creating a single
SourceCodeLocation.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleansetBeginLocation(int characterIndex, int lineNumber, int indexInLine) setEndLocation(int characterIndex, int lineNumber, int indexInLine) setLocation(int characterIndex, int lineNumber, int indexInLine) setSourceCode(SourceCode newSourceCode)
-
Field Details
-
PASSED_LOCATION_IS_NOT_VALID
- See Also:
-
-
Constructor Details
-
SourceCodeLocationBuilder
public SourceCodeLocationBuilder()
-
-
Method Details
-
setSourceCode
-
hasSourceCode
public boolean hasSourceCode() -
setBeginLocation
public SourceCodeLocationBuilder setBeginLocation(int characterIndex, int lineNumber, int indexInLine) -
setBeginLocation
-
hasBeginLocation
public boolean hasBeginLocation() -
setEndLocation
public SourceCodeLocationBuilder setEndLocation(int characterIndex, int lineNumber, int indexInLine) -
setEndLocation
-
setLocation
-
getSourceCodeLocation
-