Lines Matching refs:str
93 void Shader::tokenize (GeneratorState& state, TokenStream& str) const
97 str << Token::PRECISION << Token::MEDIUM_PRECISION << Token::FLOAT << Token::SEMICOLON << Token::NEWLINE;
101 m_globalStatements[ndx]->tokenize(state, str);
106 str << Token::NEWLINE;
107 m_functions[ndx]->tokenize(state, str);
111 str << Token::NEWLINE;
112 m_mainFunction.tokenize(state, str);
125 void Function::tokenize (GeneratorState& state, TokenStream& str) const
128 m_returnType.tokenizeShortType(str);
132 str << Token(m_name.c_str());
135 str << Token::LEFT_PAREN;
140 str << Token::COMMA;
141 (*i)->tokenizeDeclaration(state, str);
144 str << Token::RIGHT_PAREN << Token::NEWLINE;
147 m_functionBlock.tokenize(state, str);