- void parse_expression(ProgramSyntax::Expression &);
- ProgramSyntax::StructDeclaration *parse_struct_declaration();
- ProgramSyntax::VariableDeclaration *parse_variable_declaration();
- ProgramSyntax::FunctionDeclaration *parse_function_declaration();
- void parse_function_parameter_list(ProgramSyntax::FunctionDeclaration &);
- ProgramSyntax::InterfaceBlock *parse_interface_block();
- ProgramSyntax::Conditional *parse_conditional();
- ProgramSyntax::Iteration *parse_iteration();
- ProgramSyntax::Return *parse_return();
+ RefPtr<ProgramSyntax::Expression> parse_expression(unsigned = 0);
+ RefPtr<ProgramSyntax::BinaryExpression> parse_binary(const RefPtr<ProgramSyntax::Expression> &, const Operator *);
+ RefPtr<ProgramSyntax::FunctionCall> parse_function_call(const ProgramSyntax::VariableReference &);
+ RefPtr<ProgramSyntax::StructDeclaration> parse_struct_declaration();
+ RefPtr<ProgramSyntax::VariableDeclaration> parse_variable_declaration();
+ RefPtr<ProgramSyntax::FunctionDeclaration> parse_function_declaration();
+ RefPtr<ProgramSyntax::InterfaceBlock> parse_interface_block();
+ RefPtr<ProgramSyntax::Conditional> parse_conditional();
+ RefPtr<ProgramSyntax::Iteration> parse_iteration();
+ RefPtr<ProgramSyntax::Passthrough> parse_passthrough();
+ RefPtr<ProgramSyntax::Return> parse_return();