Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.jscomp.deps |
Analyzes information about dependencies between files.
|
com.google.javascript.jscomp.newtypes | |
com.google.javascript.refactoring | |
java.util.regex |
Modifier and Type | Field and Description |
---|---|
private static Pattern |
JsMessageVisitor.CAMELCASE_PATTERN |
private static Pattern |
GoogleCodingConvention.ENUM_KEY_PATTERN |
private static Pattern |
CommandLineRunner.extraModuleNameChars |
private static Pattern |
GoogleCodingConvention.GENFILES_DIR |
private static Pattern |
DefaultPassConfig.GLOBAL_SYMBOL_NAMESPACE_PATTERN |
private static Pattern |
WhitelistWarningsGuard.LINE_NUMBER
Pattern to match line number in error descriptions.
|
private Pattern |
J2clPropertyInlinerPass.StaticFieldGetterSetterInliner.matchJ2CLStaticFieldName |
private static Pattern |
JsMessage.Builder.MSG_EXTERNAL_PATTERN |
private static Pattern |
JsMessageVisitor.MSG_UNNAMED_PATTERN
Pattern for unnamed messages.
|
private static Pattern |
DisambiguateProperties.NONWORD_PATTERN |
(package private) Pattern |
ConformanceRules.AbstractRule.onlyApplyToRegexp |
private static Pattern |
GoogleCodingConvention.PACKAGE_WITH_TEST_DIR |
private static Pattern |
PeepholeSubstituteAlternateSyntax.REGEXP_FLAGS_RE |
private static Pattern |
ExportTestFunctions.TEST_FUNCTIONS_NAME_PATTERN |
(package private) Pattern |
ConformanceRules.AbstractRule.whitelistRegexp |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Pattern,DiagnosticType> |
RhinoErrorReporter.typeMap |
Modifier and Type | Method and Description |
---|---|
private static Pattern |
ConformanceRules.AbstractRule.buildPattern(java.util.List<java.lang.String> reqPatterns) |
private static Pattern |
RhinoErrorReporter.replacePlaceHolders(java.lang.String s)
For each message such as "Not a good use of {0}", replace the place
holder {0} with a wild card that matches all possible strings.
|
Modifier and Type | Method and Description |
---|---|
private static boolean |
ConformanceRules.AbstractRule.pathIsInListOrRegexp(java.lang.String srcfile,
com.google.common.collect.ImmutableList<java.lang.String> list,
Pattern regexp) |
Modifier and Type | Field and Description |
---|---|
private Pattern |
JsFunctionParser.pattern
Pattern for matching functions.
|
private static Pattern |
JsFileLineParser.STRING_LITERAL_PATTERN
Pattern for matching JavaScript string literals.
|
Modifier and Type | Method and Description |
---|---|
private static Pattern |
JsFunctionParser.getPattern(java.util.Collection<java.lang.String> functions)
Constructs a pattern to extract the arguments of the given functions.
|
Modifier and Type | Field and Description |
---|---|
private static Pattern |
NominalType.NUMERIC_PATTERN |
Modifier and Type | Field and Description |
---|---|
private static Pattern |
RefasterJsScanner.RefasterJsTemplate.ADD_GOOG_REQUIRE_PATTERN |
private static Pattern |
ErrorToFixMapper.DID_YOU_MEAN |
private static Pattern |
ErrorToFixMapper.EXTRA_REQUIRE |
private Pattern |
JsFlumeCallback.includeFilePattern |
private static Pattern |
ErrorToFixMapper.MISSING_REQUIRE |
private static Pattern |
RefasterJsScanner.RefasterJsTemplate.REMOVE_GOOG_REQUIRE_PATTERN |
Modifier and Type | Method and Description |
---|---|
private java.util.List<java.lang.String> |
RefasterJsScanner.RefasterJsTemplate.getGoogRequiresFromPattern(Pattern pattern) |
Constructor and Description |
---|
JsFlumeCallback(Scanner scanner,
Pattern includeFilePattern) |
Modifier and Type | Method and Description |
---|---|
static Pattern |
Pattern.compile(java.lang.String string) |