Package io.github.douira.glsl_transformer.core


package io.github.douira.glsl_transformer.core
  • Class
    Description
    This phase finds targets in specified target token types (usually identifiers) and triggers their handlers.
    This class extends the search terminals implementation by adding at method SearchTerminalsDynamic.getTargetsDynamic() that returns the list of targets to search for dynamically but is only called if the targets are every actually needed.
    This implementation of the search terminals transformation phase uses static fields to return the targets and the terminal token type.
    The semantic exception should be thrown by a transformation phase when the parsed code has semantic errors or there is some other content-related reason why the transformation process should be halted.
    The wrap identifier transformation wraps the usage of a certain identifier with new code by replacing its usage with a new expression and inserting code that takes care of handling the conversion from the new to the old value.
    The dynamic wrap identifier transformation has a number of abstract methods that can be implemented in order to dynamically supply the parameters for this identifier wrap operation.
    A wrap identifier transformation that injects an external declaration at a specified location.