Package com.google.javascript.jscomp
Class SimpleRegion
java.lang.Object
com.google.javascript.jscomp.SimpleRegion
- All Implemented Interfaces:
Region
Simple region.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the beginning line number.int
Get the ending line number.Get the source region.
-
Constructor Details
-
SimpleRegion
-
-
Method Details
-
getBeginningLineNumber
public int getBeginningLineNumber()Description copied from interface:Region
Get the beginning line number.- Specified by:
getBeginningLineNumber
in interfaceRegion
-
getEndingLineNumber
public int getEndingLineNumber()Description copied from interface:Region
Get the ending line number.- Specified by:
getEndingLineNumber
in interfaceRegion
-
getSourceExcerpt
Description copied from interface:Region
Get the source region.- Specified by:
getSourceExcerpt
in interfaceRegion
-