Uses of Class
dev.amp.validator.css.ParsedCssUrl
-
Packages that use ParsedCssUrl Package Description dev.amp.validator.utils AMP validator.dev.amp.validator.visitor AMP validator exception package. -
-
Uses of ParsedCssUrl in dev.amp.validator.utils
Methods in dev.amp.validator.utils with parameters of type ParsedCssUrl Modifier and Type Method Description static intCssSpecUtils. parseUrlFunction(List<com.steadystate.css.parser.Token> tokens, int tokenIdx, ParsedCssUrl parsed)Parses a CSS function token named 'url', including the string and closing paren.static voidCssSpecUtils. parseUrlToken(List<com.steadystate.css.parser.Token> tokens, int tokenIdx, ParsedCssUrl parsed)Parses a CSS URL token; typically takes the form "url(http://foo)".Method parameters in dev.amp.validator.utils with type arguments of type ParsedCssUrl Modifier and Type Method Description static voidCssSpecUtils. extractUrls(Stylesheet stylesheet, List<ParsedCssUrl> parsedUrls, List<ErrorToken> errors)Extracts the URLs within the provided stylesheet, emitting them into parsedUrls and errors into errors.static voidCssSpecUtils. extractUrlsFromDeclaration(Declaration declaration, List<ParsedCssUrl> parsedUrls, List<ErrorToken> errors)Same as the stylesheet variant above, but operates on a single declaration at a time. -
Uses of ParsedCssUrl in dev.amp.validator.visitor
Constructor parameters in dev.amp.validator.visitor with type arguments of type ParsedCssUrl Constructor Description UrlFunctionVisitor(List<ParsedCssUrl> parsedUrls, List<ErrorToken> errors)
-