#include <cppArrayType.h>
Inheritance diagram for CPPArrayType:
Public Member Functions | |
CPPArrayType (CPPType *element_type, CPPExpression *bounds) | |
virtual bool | is_fully_specified () const |
virtual CPPDeclaration * | substitute_decl (SubstDecl &subst, CPPScope *current_scope, CPPScope *global_scope) |
virtual CPPType * | resolve_type (CPPScope *current_scope, CPPScope *global_scope) |
virtual bool | is_tbd () const |
virtual bool | is_equivalent (const CPPType &other) const |
virtual void | output (ostream &out, int indent_level, CPPScope *scope, bool complete) const |
virtual void | output_instance (ostream &out, int indent_level, CPPScope *scope, bool complete, const string &prename, const string &name) const |
virtual SubType | get_subtype () const |
virtual CPPArrayType * | as_array_type () |
Public Attributes | |
CPPType * | _element_type |
CPPExpression * | _bounds |
Protected Member Functions | |
virtual bool | is_equal (const CPPDeclaration *other) const |
virtual bool | is_less (const CPPDeclaration *other) const |
|
Definition at line 29 of file cppArrayType.cxx. Referenced by resolve_type(), and substitute_decl(). |
|
Reimplemented from CPPDeclaration. Definition at line 194 of file cppArrayType.cxx. |
|
Implements CPPDeclaration. Definition at line 184 of file cppArrayType.cxx. References CPPDeclaration::ST_array. |
|
Reimplemented from CPPDeclaration. Definition at line 205 of file cppArrayType.cxx. References _bounds, _element_type, assert, and NULL. |
|
Reimplemented from CPPType. Definition at line 93 of file cppArrayType.cxx. References _element_type, CPPType::is_equivalent(), and NULL. |
|
Reimplemented from CPPDeclaration. Definition at line 45 of file cppArrayType.cxx. References _element_type, and CPPDeclaration::is_fully_specified(). |
|
Reimplemented from CPPDeclaration. Definition at line 229 of file cppArrayType.cxx. References _bounds, _element_type, assert, and NULL. |
|
Reimplemented from CPPType. Definition at line 79 of file cppArrayType.cxx. References _element_type, and CPPType::is_tbd(). |
|
Implements CPPDeclaration. Definition at line 142 of file cppArrayType.cxx. References output_instance(). |
|
Reimplemented from CPPType. Definition at line 163 of file cppArrayType.cxx. References _bounds, _element_type, NULL, CPPType::output_instance(), and ostringstream::str(). Referenced by output(). |
|
Reimplemented from CPPType. Definition at line 59 of file cppArrayType.cxx. References _element_type, CPPArrayType(), current_scope, global_scope, CPPType::new_type(), and CPPType::resolve_type(). |
|
Definition at line 108 of file cppArrayType.cxx. References _bounds, _element_type, CPPDeclaration::as_array_type(), CPPDeclaration::as_expression(), CPPDeclaration::as_type(), CPPArrayType(), current_scope, global_scope, CPPType::new_type(), NULL, CPPExpression::substitute_decl(), and CPPDeclaration::substitute_decl(). |
|
Definition at line 37 of file cppArrayType.h. Referenced by is_equal(), is_less(), output_instance(), and substitute_decl(). |
|
Definition at line 36 of file cppArrayType.h. Referenced by CPPExpression::determine_type(), InterrogateBuilder::in_ignoreinvolved(), is_equal(), is_equivalent(), is_fully_specified(), is_less(), is_tbd(), output_instance(), resolve_type(), and substitute_decl(). |