mirror of
https://github.com/textmate/textmate.git
synced 2026-01-23 13:47:54 -05:00
19 lines
499 B
C++
19 lines
499 B
C++
#ifndef GRAMMAR_TYPES_H_4M8CRK03
|
|
#define GRAMMAR_TYPES_H_4M8CRK03
|
|
|
|
#include <scope/scope.h>
|
|
#include <oak/misc.h>
|
|
#include <oak/debug.h>
|
|
|
|
namespace parse
|
|
{
|
|
struct stack_t;
|
|
typedef std::shared_ptr<stack_t> stack_ptr;
|
|
|
|
PUBLIC stack_ptr parse (char const* first, char const* last, stack_ptr stack, std::map<size_t, scope::scope_t>& scopes, bool firstLine, size_t i = 0);
|
|
PUBLIC bool equal (stack_ptr lhs, stack_ptr rhs);
|
|
|
|
} /* parse */
|
|
|
|
#endif /* end of include guard: GRAMMAR_TYPES_H_4M8CRK03 */
|