public final class JPRAResolver extends Object implements JPRAResolverType
JPRAResolverType interface.public static JPRAResolverType newResolver(GlobalContextType c, Optional<PackageNameQualified> in_expected_package)
in_expected_package.c - A global contextin_expected_package - The expected package, if anypublic Optional<PackageNameQualified> resolveGetCurrentPackage()
resolveGetCurrentPackage in interface JPRAResolverTypepublic Map<TypeName,TypeDeclType<IdentifierType,Untyped>> resolveGetCurrentTypes()
resolveGetCurrentTypes in interface JPRAResolverTypepublic StatementPackageBegin<IdentifierType,Untyped> resolvePackageBegin(StatementPackageBegin<Unresolved,Untyped> s) throws JPRACompilerResolverException
JPRAResolverTyperesolvePackageBegin in interface JPRAResolverTypes - The statementJPRACompilerResolverException - On resolution errorspublic StatementPackageImport<IdentifierType,Untyped> resolvePackageImport(StatementPackageImport<Unresolved,Untyped> s) throws JPRACompilerResolverException
JPRAResolverTyperesolvePackageImport in interface JPRAResolverTypes - The statementJPRACompilerResolverException - On resolution errorspublic StatementPackageEnd<IdentifierType,Untyped> resolvePackageEnd(StatementPackageEnd<Unresolved,Untyped> s) throws JPRACompilerResolverException
JPRAResolverTyperesolvePackageEnd in interface JPRAResolverTypes - The statementJPRACompilerResolverException - On resolution errorspublic TypeDeclType<IdentifierType,Untyped> resolveTypeDeclaration(TypeDeclType<Unresolved,Untyped> expr) throws JPRACompilerResolverException
JPRAResolverTyperesolveTypeDeclaration in interface JPRAResolverTypeexpr - The input expressionJPRACompilerResolverException - On resolution errorspublic TypeExprType<IdentifierType,Untyped> resolveTypeExpression(TypeExprType<Unresolved,Untyped> expr) throws JPRACompilerResolverException
JPRAResolverTyperesolveTypeExpression in interface JPRAResolverTypeexpr - The input expressionJPRACompilerResolverException - On resolution errorspublic SizeExprType<IdentifierType,Untyped> resolveSizeExpression(SizeExprType<Unresolved,Untyped> expr) throws JPRACompilerResolverException
JPRAResolverTyperesolveSizeExpression in interface JPRAResolverTypeexpr - The input expressionJPRACompilerResolverException - On resolution errorspublic StatementCommandType<IdentifierType,Untyped> resolveCommandType(StatementCommandType<Unresolved,Untyped> s) throws JPRACompilerResolverException
JPRAResolverType:type command.resolveCommandType in interface JPRAResolverTypes - A commandJPRACompilerResolverException - On resolution errorspublic void resolveEOF(Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> lex) throws JPRACompilerResolverException
JPRAResolverTyperesolveEOF in interface JPRAResolverTypelex - Lexical information, if anyJPRACompilerResolverException - On resolution errorsCopyright © 2015 <code@io7m.com> http://io7m.com