java.lang.Object
org.htmlunit.corejs.javascript.EagerSourceCodeProvider
- All Implemented Interfaces:
Serializable,SourceCodeProvider
Stores a reference to the original source code and returns it as necessary.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the raw source for this descriptor usually the entire source file if availab le.getSource(JSDescriptor<?> desc, int start, int end) Return the source for this descriptor, betweeen the start and end offsets
-
Constructor Details
-
EagerSourceCodeProvider
-
-
Method Details
-
getSource
Description copied from interface:SourceCodeProviderReturn the source for this descriptor, betweeen the start and end offsets- Specified by:
getSourcein interfaceSourceCodeProvider
-
getRawSource
Description copied from interface:SourceCodeProviderReturn the raw source for this descriptor usually the entire source file if availab le.- Specified by:
getRawSourcein interfaceSourceCodeProvider
-