Package io.github.douira.glsl_transformer.core


package io.github.douira.glsl_transformer.core
  • Class Summary
    Class
    Description
    Wraps a supplier and caches its result according to a given cache policy.
    Extends a transformation with methods for making it easily configurable.
    This phase finds targets in specified target token types (usually identifiers) and triggers their handlers.
    A value supplier is a supplier that just returns a predetermined value.
    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.
  • Enum Class Summary
    Enum Class
    Description
    Used to specify how often a CachingSupplier should be evaluated.
  • Exception Summary
    Exception
    Description
    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.