Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
9 Shading Language Grammar<br />
function_call_or_method<br />
function_call_or_method:<br />
function_call_generic<br />
postfix_expression DOT function_call_generic<br />
function_call_generic:<br />
function_call_header_with_parameters RIGHT_PAREN<br />
function_call_header_no_parameters RIGHT_PAREN<br />
function_call_header_no_parameters:<br />
function_call_header VOID<br />
function_call_header<br />
function_call_header_with_parameters:<br />
function_call_header assignment_expression<br />
function_call_header_with_parameters COMMA assignment_expression<br />
function_call_header:<br />
function_identifier LEFT_PAREN<br />
// Grammar Note: Constructors look like functions, but lexical analysis recognized most of them as<br />
// keywords. They are now recognized through “type_specifier”.<br />
function_identifier:<br />
type_specifier<br />
IDENTIFIER<br />
FIELD_SELECTION<br />
unary_expression:<br />
postfix_expression<br />
INC_OP unary_expression<br />
DEC_OP unary_expression<br />
unary_operator unary_expression<br />
// Grammar Note: No traditional style type casts.<br />
unary_operator:<br />
PLUS<br />
DASH<br />
140