Ignore:
Timestamp:
Jun 11, 2008, 10:10:26 PM (16 years ago)
Author:
dai_9181
Message:

リンカの依存関係解決モジュールを製作中

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/ab_common/src/Lexical/TypeDef.cpp

    r632 r637  
    11#include "stdafx.h"
    22
    3 TypeDef::TypeDef( const NamespaceScopes &namespaceScopes, const std::string &name, const std::string &baseName, const Type &baseType )
    4     : Symbol( namespaceScopes, name )
     3TypeDef::TypeDef( const Symbol &symbol, const std::string &baseName, const Type &baseType )
     4    : RelationalObjectModuleItem( symbol )
    55    , baseName( baseName )
    66    , baseType( baseType )
    77{
     8}
     9
     10bool TypeDef::Resolve()
     11{
     12    // TODO: Resolve
     13    return true;
    814}
    915
     
    1218TypeDefCollection::~TypeDefCollection(){
    1319}
    14 void TypeDefCollection::Add( const NamespaceScopes &namespaceScopes, const std::string &name, const std::string &baseName, int nowLine ){
    15     TypeDef typeDef( namespaceScopes, name, baseName, nowLine );
     20void TypeDefCollection::Add( const Symbol &symbol, const std::string &baseName, int nowLine ){
     21    TypeDef typeDef( symbol, baseName, nowLine );
    1622    this->push_back( typeDef );
    1723}
Note: See TracChangeset for help on using the changeset viewer.