Package io.github.douira.glsl_transformer.generic
package io.github.douira.glsl_transformer.generic
-
ClassDescriptionThe caching interval set is a regular interval set
IntervalSetbut the @link org.antlr.v4.runtime.misc.IntervalSet#contains(int)} method also does caching of the queries if the set has been set to readonly.The edit context keeps track of all changes made to a parse tree.A local root data record contains the omission set and token stream of a registered local root.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.This class was taken from here and was added to the public domain by the author DaveJarvis Instances of this class allows multiple listeners to receive events while walking the parse tree.