Uses of Class
dev.amp.validator.css.TokenStream
-
Packages that use TokenStream Package Description dev.amp.validator.css AMP validator.dev.amp.validator.utils AMP validator.dev.amp.validator.visitor AMP validator exception package. -
-
Uses of TokenStream in dev.amp.validator.css
Methods in dev.amp.validator.css with parameters of type TokenStream Modifier and Type Method Description static booleanCanonicalizer. consumeAComponentValue(TokenStream tokenStream, List<com.steadystate.css.parser.Token> tokenList, int depth)Consumes one or more tokens from a tokenStream, appending them to a tokenList.static booleanCanonicalizer. consumeAFunction(TokenStream tokenStream, List<com.steadystate.css.parser.Token> tokenList, int depth)Appends a function's contents to a tokenList, consuming from the stream all those tokens that it adds to the tokenList, including the function token and end grouping token.voidCanonicalizer. parseADeclaration(TokenStream tokenStream, List<Declaration> declarations, List<ErrorToken> errors)Adds one element to either declarations or errors. -
Uses of TokenStream in dev.amp.validator.utils
Methods in dev.amp.validator.utils with parameters of type TokenStream Modifier and Type Method Description static List<com.steadystate.css.parser.Token>SelectorUtils. extractAFunction(TokenStream tokenStream, List<ErrorToken> errors)Returns a function's contents in tokenList, including the leading FunctionToken, but excluding the trailing CloseParen token and appended with an EOFToken instead.static AttrSelectorSelectorUtils. parseAnAttrSelector(TokenStream tokenStream)tokenStream.current() must be the open square token.static SelectorSelectorUtils. parseASelector(TokenStream tokenStream)The selector production from http://www.w3.org/TR/css3-selectors/#grammar Returns an ErrorToken if no selector is found.static SimpleSelectorSequenceSelectorUtils. parseASimpleSelectorSequence(TokenStream tokenStream)tokenStream.current must be the first token of the sequence.static TypeSelectorSelectorUtils. parseATypeSelector(TokenStream tokenStream)tokenStream.current() is the first token of the type selector. -
Uses of TokenStream in dev.amp.validator.visitor
Methods in dev.amp.validator.visitor with parameters of type TokenStream Modifier and Type Method Description static SelectorsGroupSelectorVisitor. parseASelectorsGroup(TokenStream tokenStream)The selectors_group production from http://www.w3.org/TR/css3-selectors/#grammar.
-