language-glsl-0.3.0: GLSL abstract syntax tree, parser, and pretty-printer

Safe Haskell | Safe-Inferred
Language | Haskell98

Language.GLSL.Parser

# Documentation

data S Source #

Constructors

S |

type P a = GenParser Char S a Source #

keywords :: [String] Source #

reservedWords :: [String] Source #

comment :: P () Source #

blank :: P () Source #

lexeme :: P a -> P a Source #

parse :: [Char] -> Either ParseError TranslationUnit Source #

semicolon :: P () Source #

comma :: P () Source #

colon :: P () Source #

lbrace :: P () Source #

rbrace :: P () Source #

lbracket :: P () Source #

rbracket :: P () Source #

lparen :: P () Source #

rparen :: P () Source #

keyword :: String -> P () Source #

identifier :: P String Source #

intConstant :: P Expr Source #

floatingConstant :: P Expr Source #

operator :: String -> P String Source #

identifierHead :: P Char Source #

identifierTail :: P Char Source #

hexadecimal :: P Expr Source #

octal :: P Expr Source #

badOctal :: P () Source #

decimal :: P Expr Source #

floatExponent :: P Expr Source #

floatPoint :: P Expr Source #

pointFloat :: P Expr Source #

exponent :: P String Source #

infixLeft :: String -> (a -> a -> a) -> Operator Char S a Source #

infixLeft' :: String -> (a -> a -> a) -> Operator Char S a Source #

infixLeft'' :: Char -> (a -> a -> a) -> Operator Char S a Source #

infixRight :: String -> (a -> a -> a) -> Operator Char S a Source #

conditionalTable :: [[Operator Char S Expr]] Source #

assignmentTable :: [[Operator Char S Expr]] Source #

expressionTable :: [[Operator Char S Expr]] Source #

primaryExpression :: P Expr Source #

postfixExpression :: P Expr Source #

dotFunctionCallGeneric :: P (Expr -> Expr) Source #

dotFieldSelection :: P (Expr -> Expr) Source #

integerExpression :: P Expr Source #

functionCallGeneric :: P (FunctionIdentifier, Parameters) Source #

functionCallHeader :: P FunctionIdentifier Source #

functionIdentifier :: P FunctionIdentifier Source #

unaryExpression :: P Expr Source #

conditionalExpression :: P Expr Source #

assignmentExpression :: P Expr Source #

expression :: P Expr Source #

constantExpression :: P Expr Source #

declaration :: P Declaration Source #

functionPrototype :: P FunctionPrototype Source #

functionDeclarator :: P (FullType, String, [ParameterDeclaration]) Source #

functionHeader :: P (FullType, String) Source #

parameterDeclaration :: P ParameterDeclaration Source #

parameterQualifier :: P ParameterQualifier Source #

fullySpecifiedType :: P FullType Source #

invariantQualifier :: P InvariantQualifier Source #

interpolationQualifier :: P InterpolationQualifier Source #

layoutQualifier :: P LayoutQualifier Source #

layoutQualifierId :: P LayoutQualifierId Source #

parameterTypeQualifier :: P ParameterTypeQualifier Source #

typeQualifier :: P TypeQualifier Source #

storageQualifier :: P StorageQualifier Source #

typeSpecifier :: P TypeSpecifier Source #

typeSpecifierNoPrecision :: P TypeSpecifierNoPrecision Source #

typeSpecifierNonArray :: P TypeSpecifierNonArray Source #

precisionQualifier :: P PrecisionQualifier Source #

structSpecifier :: P TypeSpecifierNonArray Source #

structDeclarationList :: P [Field] Source #

structDeclaration :: P Field Source #

structDeclaratorList :: P [StructDeclarator] Source #

structDeclarator :: P StructDeclarator Source #

initializer :: P Expr Source #

declarationStatement :: P Declaration Source #

statement :: P Statement Source #

simpleStatement :: P Statement Source #

compoundStatement :: P Compound Source #

statementNoNewScope :: P Statement Source #

compoundStatementNoNewScope :: P Compound Source #

statementList :: P [Statement] Source #

expressionStatement :: P (Maybe Expr) Source #

selectionStatement :: P Statement Source #

condition :: P Condition Source #

switchStatement :: P Statement Source #

switchStatementList :: P [Statement] Source #

caseLabel :: P CaseLabel Source #

iterationStatement :: P Statement Source #

forInitStatement :: P (Either (Maybe Expr) Declaration) Source #

jumpStatement :: P Statement Source #

translationUnit :: P TranslationUnit Source #

externalDeclaration :: P ExternalDeclaration Source #

functionDefinition :: P ExternalDeclaration Source #