Class AbstractSyntaxTree

java.lang.Object
org.jhotdraw8.css.ast.AbstractSyntaxTree
Direct Known Subclasses:
ComponentValue, Declaration, Rule, Selector, Stylesheet

public abstract class AbstractSyntaxTree extends Object
Abstract syntax tree for cascading style sheets.
Author:
Werner Randelshofer
  • Constructor Details

  • Method Details

    • produceTokens

      public void produceTokens(Consumer<CssToken> consumer)
      Produces tokens for the subtree starting at this tree node.
      Parameters:
      consumer - a consumer for the tokens
    • getSourceLocator

      public @Nullable SourceLocator getSourceLocator()