v2.0.2
Instance Methods | Class Methods | List of all members
CC3ShaderSourceCodeVisitor Class Reference

#import <CC3Shaders.h>

Inheritance diagram for CC3ShaderSourceCodeVisitor:
Inheritance graph
[legend]

Instance Methods

(BOOL) - hasAlreadyVisited:
 

Class Methods

(id) + visitor
 

Detailed Description

This is an abstract parent of a class hierarchy that is used to visit a source code tree, in order to retrieve information about the source code tree.

A new instance should be created for each visitation run, in order to ensure the visitor state is initialized correctly at the beginning of each visitation run.

Method Documentation

- (BOOL) hasAlreadyVisited: (CC3ShaderSourceCode *)  srcCode

Tests whether the specified CC3ShaderSourceCode class-cluster instance has already been traversed by this visitor, and remembers and returns the result.

+ (id) visitor

Allocates and initializes an instance.


The documentation for this class was generated from the following file: