gov.llnl.babel.visitor
Class TypeResolver
java.lang.Object
   gov.llnl.babel.visitor.TypeResolver
gov.llnl.babel.visitor.TypeResolver
- public class TypeResolver 
- extends java.lang.Object
 
| Method Summary | 
| static Symbol | resolveFQN(java.lang.String name,
           ASTNode err_node,
           SymbolTable st,
           java.util.HashMap requires,
           MsgList msgs)
 | 
| static Symbol | resolveType(java.lang.String name,
            Package context,
            ASTNode err_node,
            SymbolTable st,
            java.util.ArrayList imports,
            java.util.HashMap requires,
            MsgList msgs)A new implementation of type resolution that obeys the leading dot feature
 even though it is not integrated into the logic of the underlying symbol
 table
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
TypeResolver
public TypeResolver()
resolveType
public static Symbol resolveType(java.lang.String name,
                                 Package context,
                                 ASTNode err_node,
                                 SymbolTable st,
                                 java.util.ArrayList imports,
                                 java.util.HashMap requires,
                                 MsgList msgs)
- A new implementation of type resolution that obeys the leading dot feature
 even though it is not integrated into the logic of the underlying symbol
 table
 
- 
- Parameters:
- name- An identifier as found in a SIDL file (version to be inferred)
- context- The package in which reference to the symbol is made
- err_node- A back-up node to report the error on. (If contex is null)
- Returns:
- appropriate symbol
 
resolveFQN
public static Symbol resolveFQN(java.lang.String name,
                                ASTNode err_node,
                                SymbolTable st,
                                java.util.HashMap requires,
                                MsgList msgs)
-