mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-07 12:07:17 +00:00
dbd692a66e
- This provides the AsmLexer interface to the target specific assembly parsers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76460 91177308-0d34-0410-b5e6-96231b3b80d8
33 lines
850 B
C++
33 lines
850 B
C++
//===-- llvm/MC/MCAsmParser.h - Abstract Asm Parser Interface ---*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_MC_MCASMPARSER_H
|
|
#define LLVM_MC_MCASMPARSER_H
|
|
|
|
namespace llvm {
|
|
class MCAsmLexer;
|
|
|
|
/// MCAsmParser - Generic assembler parser interface, for use by target specific
|
|
/// assembly parsers.
|
|
class MCAsmParser {
|
|
MCAsmParser(const MCAsmParser &); // DO NOT IMPLEMENT
|
|
void operator=(const MCAsmParser &); // DO NOT IMPLEMENT
|
|
protected: // Can only create subclasses.
|
|
MCAsmParser();
|
|
|
|
public:
|
|
virtual ~MCAsmParser();
|
|
|
|
virtual MCAsmLexer &getLexer() = 0;
|
|
};
|
|
|
|
} // End llvm namespace
|
|
|
|
#endif
|