Package io.github.douira.glsl_transformer.cst.print


package io.github.douira.glsl_transformer.cst.print
  • Classes
    Class
    Description
    The caching interval set is a regular interval set IntervalSet but the @link org.antlr.v4.runtime.misc.IntervalSet#contains(int)} method does caching of queries.
    The empty terminal node is a placeholder in parse tree children lists in order to prevent exceptions from being thrown because the parse tree walker expects child lists not to change length during iteration.
    The print visitor visits the parse tree and reprints it while preserving the position and content of hidden tokens.