Class SimpleCssParser.Parser

java.lang.Object
com.github.weisj.jsvg.parser.css.impl.SimpleCssParser.Parser
Enclosing class:
SimpleCssParser

private static final class SimpleCssParser.Parser extends Object
  • Field Details

    • lexer

      @NotNull private final @NotNull Lexer lexer
    • sheet

      @NotNull private final @NotNull SimpleStyleSheet sheet
    • current

      @NotNull private @NotNull Token current
  • Constructor Details

    • Parser

      private Parser(@NotNull @NotNull List<char[]> input)
  • Method Details

    • next

      private void next()
    • expected

      private void expected(@NotNull @NotNull String type)
    • consumeOrSkipAllowedToken

      private void consumeOrSkipAllowedToken(TokenType type, TokenType allowedTokeToSkip)
    • consume

      private void consume(TokenType type)
    • consumeValue

      @NotNull private @NotNull String consumeValue(TokenType type)
    • readIdentifierList

      @NotNull private @NotNull List<Token> readIdentifierList()
    • readProperties

      @NotNull private @NotNull List<StyleProperty> readProperties()
    • skipToNextDefinition

      private void skipToNextDefinition()
    • parse

      @NotNull @NotNull SimpleStyleSheet parse()