Changeset b0d9ff7 for src/Common/PassVisitor.impl.h
- Timestamp:
- Sep 1, 2022, 1:27:52 PM (2 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- 12df6fe
- Parents:
- def751f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/PassVisitor.impl.h
rdef751f rb0d9ff7 1927 1927 1928 1928 //-------------------------------------------------------------------------- 1929 // QualifiedNameExpr 1930 template< typename pass_type > 1931 void PassVisitor< pass_type >::visit( QualifiedNameExpr * node ) { 1932 VISIT_START( node ); 1933 1934 indexerScopedAccept( node->result, *this ); 1935 maybeAccept_impl( node->type_decl, *this ); 1936 maybeAccept_impl( node->var, *this ); 1937 1938 VISIT_END( node ); 1939 } 1940 1941 template< typename pass_type > 1942 void PassVisitor< pass_type >::visit( const QualifiedNameExpr * node ) { 1943 VISIT_START( node ); 1944 1945 indexerScopedAccept( node->result, *this ); 1946 maybeAccept_impl( node->type_decl, *this ); 1947 maybeAccept_impl( node->var, *this ); 1948 1949 VISIT_END( node ); 1950 } 1951 1952 template< typename pass_type > 1953 Expression * PassVisitor< pass_type >::mutate( QualifiedNameExpr * node ) { 1954 MUTATE_START( node ); 1955 1956 indexerScopedMutate( node->env , *this ); 1957 indexerScopedMutate( node->result, *this ); 1958 maybeMutate_impl( node->type_decl, *this ); 1959 maybeAccept_impl( node->var, *this ); 1960 1961 MUTATE_END( Expression, node ); 1962 } 1963 1964 //-------------------------------------------------------------------------- 1929 1965 // CastExpr 1930 1966 template< typename pass_type >
Note: See TracChangeset
for help on using the changeset viewer.