コード例 #1
0
String findScriptSourceMapURL(const String& content)
{
    return findMagicComment(content, scriptCommentPattern("sourceMappingURL"));
}
コード例 #2
0
String findStylesheetSourceMapURL(const String& content)
{
    return findMagicComment(content, stylesheetCommentPattern("sourceMappingURL"));
}
コード例 #3
0
String findSourceMapURL(const String& content, MagicCommentType commentType, bool* deprecated)
{
    return findMagicComment(content, "sourceMappingURL", commentType, deprecated);
}
コード例 #4
0
String findSourceMapURL(const String& content)
{
    return findMagicComment(content, "sourceMappingURL");
}
コード例 #5
0
String16 findSourceMapURL(const String16& content, bool multiline, bool* deprecated)
{
    return findMagicComment(content, "sourceMappingURL", multiline, deprecated);
}
コード例 #6
0
String findSourceMapURL(const String& content, MagicCommentType commentType)
{
    return findMagicComment(content, "sourceMappingURL", commentType);
}
コード例 #7
0
String findStylesheetSourceMapURL(const String& content)
{
    // "/*# <name>=<value> */" and deprecated "/*@"
    return findMagicComment(content, "/\\*[#@][\040\t]sourceMappingURL=[\040\t]*([^\\s\'\"]*)[\040\t]*\\*/"_s);
}