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 using namespace mcld; 12 13 //===----------------------------------------------------------------------===// 14 // InputToken 15 //===----------------------------------------------------------------------===// InputToken()16InputToken::InputToken() 17 : m_Type(Unknown), m_bAsNeeded(false) 18 { 19 } 20 InputToken(Type pType,const std::string & pName,bool pAsNeeded)21InputToken::InputToken(Type pType, const std::string& pName, bool pAsNeeded) 22 : StrToken(StrToken::Input, pName), m_Type(pType), m_bAsNeeded(pAsNeeded) 23 { 24 } 25 ~InputToken()26InputToken::~InputToken() 27 { 28 } 29