Trait glsl::visitor::Visitor [−][src]
pub trait Visitor {}Show methods
fn visit_translation_unit(&mut self, _: &mut TranslationUnit) -> Visit { ... } fn visit_external_declaration(
&mut self,
_: &mut ExternalDeclaration
) -> Visit { ... } fn visit_identifier(&mut self, _: &mut Identifier) -> Visit { ... } fn visit_arrayed_identifier(&mut self, _: &mut ArrayedIdentifier) -> Visit { ... } fn visit_type_name(&mut self, _: &mut TypeName) -> Visit { ... } fn visit_block(&mut self, _: &mut Block) -> Visit { ... } fn visit_for_init_statement(&mut self, _: &mut ForInitStatement) -> Visit { ... } fn visit_for_rest_statement(&mut self, _: &mut ForRestStatement) -> Visit { ... } fn visit_function_definition(&mut self, _: &mut FunctionDefinition) -> Visit { ... } fn visit_function_parameter_declarator(
&mut self,
_: &mut FunctionParameterDeclarator
) -> Visit { ... } fn visit_function_prototype(&mut self, _: &mut FunctionPrototype) -> Visit { ... } fn visit_init_declarator_list(
&mut self,
_: &mut InitDeclaratorList
) -> Visit { ... } fn visit_layout_qualifier(&mut self, _: &mut LayoutQualifier) -> Visit { ... } fn visit_preprocessor(&mut self, _: &mut Preprocessor) -> Visit { ... } fn visit_preprocessor_define(&mut self, _: &mut PreprocessorDefine) -> Visit { ... } fn visit_preprocessor_elseif(&mut self, _: &mut PreprocessorElseIf) -> Visit { ... } fn visit_preprocessor_error(&mut self, _: &mut PreprocessorError) -> Visit { ... } fn visit_preprocessor_extension(
&mut self,
_: &mut PreprocessorExtension
) -> Visit { ... } fn visit_preprocessor_extension_behavior(
&mut self,
_: &mut PreprocessorExtensionBehavior
) -> Visit { ... } fn visit_preprocessor_extension_name(
&mut self,
_: &mut PreprocessorExtensionName
) -> Visit { ... } fn visit_preprocessor_if(&mut self, _: &mut PreprocessorIf) -> Visit { ... } fn visit_preprocessor_ifdef(&mut self, _: &mut PreprocessorIfDef) -> Visit { ... } fn visit_preprocessor_ifndef(&mut self, _: &mut PreprocessorIfNDef) -> Visit { ... } fn visit_preprocessor_include(
&mut self,
_: &mut PreprocessorInclude
) -> Visit { ... } fn visit_preprocessor_line(&mut self, _: &mut PreprocessorLine) -> Visit { ... } fn visit_preprocessor_pragma(&mut self, _: &mut PreprocessorPragma) -> Visit { ... } fn visit_preprocessor_undef(&mut self, _: &mut PreprocessorUndef) -> Visit { ... } fn visit_preprocessor_version(
&mut self,
_: &mut PreprocessorVersion
) -> Visit { ... } fn visit_preprocessor_version_profile(
&mut self,
_: &mut PreprocessorVersionProfile
) -> Visit { ... } fn visit_selection_statement(&mut self, _: &mut SelectionStatement) -> Visit { ... } fn visit_selection_rest_statement(
&mut self,
_: &mut SelectionRestStatement
) -> Visit { ... } fn visit_single_declaration(&mut self, _: &mut SingleDeclaration) -> Visit { ... } fn visit_single_declaration_no_type(
&mut self,
_: &mut SingleDeclarationNoType
) -> Visit { ... } fn visit_struct_field_specifier(
&mut self,
_: &mut StructFieldSpecifier
) -> Visit { ... } fn visit_struct_specifier(&mut self, _: &mut StructSpecifier) -> Visit { ... } fn visit_switch_statement(&mut self, _: &mut SwitchStatement) -> Visit { ... } fn visit_type_qualifier(&mut self, _: &mut TypeQualifier) -> Visit { ... } fn visit_type_specifier(&mut self, _: &mut TypeSpecifier) -> Visit { ... } fn visit_full_specified_type(&mut self, _: &mut FullySpecifiedType) -> Visit { ... } fn visit_array_specifier(&mut self, _: &mut ArraySpecifier) -> Visit { ... } fn visit_assignment_op(&mut self, _: &mut AssignmentOp) -> Visit { ... } fn visit_binary_op(&mut self, _: &mut BinaryOp) -> Visit { ... } fn visit_case_label(&mut self, _: &mut CaseLabel) -> Visit { ... } fn visit_condition(&mut self, _: &mut Condition) -> Visit { ... } fn visit_declaration(&mut self, _: &mut Declaration) -> Visit { ... } fn visit_expr(&mut self, _: &mut Expr) -> Visit { ... } fn visit_fun_identifier(&mut self, _: &mut FunIdentifier) -> Visit { ... } fn visit_function_parameter_declaration(
&mut self,
_: &mut FunctionParameterDeclaration
) -> Visit { ... } fn visit_initializer(&mut self, _: &mut Initializer) -> Visit { ... } fn visit_interpolation_qualifier(
&mut self,
_: &mut InterpolationQualifier
) -> Visit { ... } fn visit_iteration_statement(&mut self, _: &mut IterationStatement) -> Visit { ... } fn visit_jump_statement(&mut self, _: &mut JumpStatement) -> Visit { ... } fn visit_layout_qualifier_spec(
&mut self,
_: &mut LayoutQualifierSpec
) -> Visit { ... } fn visit_precision_qualifier(&mut self, _: &mut PrecisionQualifier) -> Visit { ... } fn visit_statement(&mut self, _: &mut Statement) -> Visit { ... } fn visit_compound_statement(&mut self, _: &mut CompoundStatement) -> Visit { ... } fn visit_simple_statement(&mut self, _: &mut SimpleStatement) -> Visit { ... } fn visit_storage_qualifier(&mut self, _: &mut StorageQualifier) -> Visit { ... } fn visit_type_qualifier_spec(&mut self, _: &mut TypeQualifierSpec) -> Visit { ... } fn visit_type_specifier_non_array(
&mut self,
_: &mut TypeSpecifierNonArray
) -> Visit { ... } fn visit_unary_op(&mut self, _: &mut UnaryOp) -> Visit { ... } fn visit_expr_statement(&mut self, _: &mut ExprStatement) -> Visit { ... }
Visitor object, visiting AST nodes.
Provided methods
fn visit_translation_unit(&mut self, _: &mut TranslationUnit) -> Visit
[src]
fn visit_external_declaration(&mut self, _: &mut ExternalDeclaration) -> Visit
[src]
fn visit_identifier(&mut self, _: &mut Identifier) -> Visit
[src]
fn visit_arrayed_identifier(&mut self, _: &mut ArrayedIdentifier) -> Visit
[src]
fn visit_type_name(&mut self, _: &mut TypeName) -> Visit
[src]
fn visit_block(&mut self, _: &mut Block) -> Visit
[src]
fn visit_for_init_statement(&mut self, _: &mut ForInitStatement) -> Visit
[src]
fn visit_for_rest_statement(&mut self, _: &mut ForRestStatement) -> Visit
[src]
fn visit_function_definition(&mut self, _: &mut FunctionDefinition) -> Visit
[src]
fn visit_function_parameter_declarator(
&mut self,
_: &mut FunctionParameterDeclarator
) -> Visit
[src]
&mut self,
_: &mut FunctionParameterDeclarator
) -> Visit
fn visit_function_prototype(&mut self, _: &mut FunctionPrototype) -> Visit
[src]
fn visit_init_declarator_list(&mut self, _: &mut InitDeclaratorList) -> Visit
[src]
fn visit_layout_qualifier(&mut self, _: &mut LayoutQualifier) -> Visit
[src]
fn visit_preprocessor(&mut self, _: &mut Preprocessor) -> Visit
[src]
fn visit_preprocessor_define(&mut self, _: &mut PreprocessorDefine) -> Visit
[src]
fn visit_preprocessor_elseif(&mut self, _: &mut PreprocessorElseIf) -> Visit
[src]
fn visit_preprocessor_error(&mut self, _: &mut PreprocessorError) -> Visit
[src]
fn visit_preprocessor_extension(
&mut self,
_: &mut PreprocessorExtension
) -> Visit
[src]
&mut self,
_: &mut PreprocessorExtension
) -> Visit
fn visit_preprocessor_extension_behavior(
&mut self,
_: &mut PreprocessorExtensionBehavior
) -> Visit
[src]
&mut self,
_: &mut PreprocessorExtensionBehavior
) -> Visit
fn visit_preprocessor_extension_name(
&mut self,
_: &mut PreprocessorExtensionName
) -> Visit
[src]
&mut self,
_: &mut PreprocessorExtensionName
) -> Visit
fn visit_preprocessor_if(&mut self, _: &mut PreprocessorIf) -> Visit
[src]
fn visit_preprocessor_ifdef(&mut self, _: &mut PreprocessorIfDef) -> Visit
[src]
fn visit_preprocessor_ifndef(&mut self, _: &mut PreprocessorIfNDef) -> Visit
[src]
fn visit_preprocessor_include(&mut self, _: &mut PreprocessorInclude) -> Visit
[src]
fn visit_preprocessor_line(&mut self, _: &mut PreprocessorLine) -> Visit
[src]
fn visit_preprocessor_pragma(&mut self, _: &mut PreprocessorPragma) -> Visit
[src]
fn visit_preprocessor_undef(&mut self, _: &mut PreprocessorUndef) -> Visit
[src]
fn visit_preprocessor_version(&mut self, _: &mut PreprocessorVersion) -> Visit
[src]
fn visit_preprocessor_version_profile(
&mut self,
_: &mut PreprocessorVersionProfile
) -> Visit
[src]
&mut self,
_: &mut PreprocessorVersionProfile
) -> Visit
fn visit_selection_statement(&mut self, _: &mut SelectionStatement) -> Visit
[src]
fn visit_selection_rest_statement(
&mut self,
_: &mut SelectionRestStatement
) -> Visit
[src]
&mut self,
_: &mut SelectionRestStatement
) -> Visit
fn visit_single_declaration(&mut self, _: &mut SingleDeclaration) -> Visit
[src]
fn visit_single_declaration_no_type(
&mut self,
_: &mut SingleDeclarationNoType
) -> Visit
[src]
&mut self,
_: &mut SingleDeclarationNoType
) -> Visit
fn visit_struct_field_specifier(
&mut self,
_: &mut StructFieldSpecifier
) -> Visit
[src]
&mut self,
_: &mut StructFieldSpecifier
) -> Visit
fn visit_struct_specifier(&mut self, _: &mut StructSpecifier) -> Visit
[src]
fn visit_switch_statement(&mut self, _: &mut SwitchStatement) -> Visit
[src]
fn visit_type_qualifier(&mut self, _: &mut TypeQualifier) -> Visit
[src]
fn visit_type_specifier(&mut self, _: &mut TypeSpecifier) -> Visit
[src]
fn visit_full_specified_type(&mut self, _: &mut FullySpecifiedType) -> Visit
[src]
fn visit_array_specifier(&mut self, _: &mut ArraySpecifier) -> Visit
[src]
fn visit_assignment_op(&mut self, _: &mut AssignmentOp) -> Visit
[src]
fn visit_binary_op(&mut self, _: &mut BinaryOp) -> Visit
[src]
fn visit_case_label(&mut self, _: &mut CaseLabel) -> Visit
[src]
fn visit_condition(&mut self, _: &mut Condition) -> Visit
[src]
fn visit_declaration(&mut self, _: &mut Declaration) -> Visit
[src]
fn visit_expr(&mut self, _: &mut Expr) -> Visit
[src]
fn visit_fun_identifier(&mut self, _: &mut FunIdentifier) -> Visit
[src]
fn visit_function_parameter_declaration(
&mut self,
_: &mut FunctionParameterDeclaration
) -> Visit
[src]
&mut self,
_: &mut FunctionParameterDeclaration
) -> Visit
fn visit_initializer(&mut self, _: &mut Initializer) -> Visit
[src]
fn visit_interpolation_qualifier(
&mut self,
_: &mut InterpolationQualifier
) -> Visit
[src]
&mut self,
_: &mut InterpolationQualifier
) -> Visit
fn visit_iteration_statement(&mut self, _: &mut IterationStatement) -> Visit
[src]
fn visit_jump_statement(&mut self, _: &mut JumpStatement) -> Visit
[src]
fn visit_layout_qualifier_spec(&mut self, _: &mut LayoutQualifierSpec) -> Visit
[src]
fn visit_precision_qualifier(&mut self, _: &mut PrecisionQualifier) -> Visit
[src]
fn visit_statement(&mut self, _: &mut Statement) -> Visit
[src]
fn visit_compound_statement(&mut self, _: &mut CompoundStatement) -> Visit
[src]
fn visit_simple_statement(&mut self, _: &mut SimpleStatement) -> Visit
[src]
fn visit_storage_qualifier(&mut self, _: &mut StorageQualifier) -> Visit
[src]
fn visit_type_qualifier_spec(&mut self, _: &mut TypeQualifierSpec) -> Visit
[src]
fn visit_type_specifier_non_array(
&mut self,
_: &mut TypeSpecifierNonArray
) -> Visit
[src]
&mut self,
_: &mut TypeSpecifierNonArray
) -> Visit