Home | History | Annotate | Download | only in Script
      1 //===- InputToken.cpp -----------------------------------------------------===//
      2 //
      3 //                     The MCLinker Project
      4 //
      5 // This file is distributed under the University of Illinois Open Source
      6 // License. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 #include "mcld/Script/InputToken.h"
     10 
     11 namespace mcld {
     12 
     13 //===----------------------------------------------------------------------===//
     14 // InputToken
     15 //===----------------------------------------------------------------------===//
     16 InputToken::InputToken() : m_Type(Unknown), m_bAsNeeded(false) {
     17 }
     18 
     19 InputToken::InputToken(Type pType, const std::string& pName, bool pAsNeeded)
     20     : StrToken(StrToken::Input, pName), m_Type(pType), m_bAsNeeded(pAsNeeded) {
     21 }
     22 
     23 InputToken::~InputToken() {
     24 }
     25 
     26 }  // namespace mcld
     27