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