Package foundry.veil.impl.glsl
Class GlslParser
java.lang.Object
foundry.veil.impl.glsl.GlslParser
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic GlslTree
static GlslNode
parseExpression
(GlslLexer.Token[] tokens) static GlslNode
parseExpression
(String input) parseExpressionList
(GlslLexer.Token[] tokens) parseExpressionList
(String input) static GlslTree
preprocessParse
(String input, Map<String, String> macros)
-
Constructor Details
-
GlslParser
public GlslParser()
-
-
Method Details
-
preprocessParse
public static GlslTree preprocessParse(String input, Map<String, String> macros) throws GlslSyntaxException, org.anarres.cpp.LexerException- Throws:
GlslSyntaxException
org.anarres.cpp.LexerException
-
parse
- Throws:
GlslSyntaxException
-
parseExpression
- Throws:
GlslSyntaxException
-
parseExpression
- Throws:
GlslSyntaxException
-
parseExpressionList
- Throws:
GlslSyntaxException
-
parseExpressionList
public static List<GlslNode> parseExpressionList(GlslLexer.Token[] tokens) throws GlslSyntaxException - Throws:
GlslSyntaxException
-