mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-11 14:57:05 +00:00
35 lines
728 B
C
35 lines
728 B
C
|
//===- AsmParser.h - Parser for Assembly Files ------------------*- C++ -*-===//
|
||
|
//
|
||
|
// The LLVM Compiler Infrastructure
|
||
|
//
|
||
|
// This file is distributed under the University of Illinois Open Source
|
||
|
// License. See LICENSE.TXT for details.
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
//
|
||
|
// This class declares the parser for assembly files.
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
|
||
|
#ifndef ASMPARSER_H
|
||
|
#define ASMPARSER_H
|
||
|
|
||
|
#include "AsmLexer.h"
|
||
|
|
||
|
namespace llvm {
|
||
|
|
||
|
class AsmParser {
|
||
|
AsmLexer Lexer;
|
||
|
|
||
|
public:
|
||
|
AsmParser(SourceMgr &SM) : Lexer(SM) {}
|
||
|
~AsmParser() {}
|
||
|
|
||
|
bool Run();
|
||
|
|
||
|
};
|
||
|
|
||
|
} // end namespace llvm
|
||
|
|
||
|
#endif
|