gov.llnl.babel.visitor

Class TypeResolver


public class TypeResolver
extends java.lang.Object

Method Summary

static Symbol
resolveFQN(String name, ASTNode err_node, SymbolTable st, HashMap requires, MsgList msgs)
static Symbol
resolveType(String name, Package context, ASTNode err_node, SymbolTable st, ArrayList imports, 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

Method Details

resolveFQN

public static Symbol resolveFQN(String name,
                                ASTNode err_node,
                                SymbolTable st,
                                HashMap requires,
                                MsgList msgs)

resolveType

public static Symbol resolveType(String name,
                                 Package context,
                                 ASTNode err_node,
                                 SymbolTable st,
                                 ArrayList imports,
                                 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