Class ParseShape<C extends ParserRuleContext,N extends ASTNode>

java.lang.Object
io.github.douira.glsl_transformer.parser.ParseShape<C,N>

public class ParseShape<C extends ParserRuleContext,N extends ASTNode> extends Object
A static data class that contains the information needed to parse and build a specific type of node. Contains the class of the rule context, a method of GLSLParser to parse this kind of rule context from a string, and a method of ASTBuilder to build an AST node from a rule context. Usually the static pre-made instances of this class are sufficient but additional specific instances can be created and should then be stored as a static final field for reuse.
  • Field Details

  • Constructor Details

  • Method Details

    • _parseNodeSeparateInternal

      public N _parseNodeSeparateInternal(String input)