Files
haiku-beta6/headers/private/debugger/source_language/SourceLanguage.h
T

41 lines
906 B
C++
Raw Normal View History

/*
* Copyright 2009, Ingo Weinhold, [email protected].
* Copyright 2014, Rene Gollent, [email protected].
* Distributed under the terms of the MIT License.
*/
#ifndef SOURCE_LANGUAGE_H
#define SOURCE_LANGUAGE_H
#include <Referenceable.h>
class BString;
2014-11-15 00:31:17 -05:00
class ExpressionResult;
class SyntaxHighlighter;
class TeamTypeInformation;
class Type;
class ValueNode;
class ValueNodeManager;
class SourceLanguage : public BReferenceable {
public:
virtual ~SourceLanguage();
virtual const char* Name() const = 0;
virtual SyntaxHighlighter* GetSyntaxHighlighter() const;
// returns a reference,
// may return NULL, if not available
virtual status_t EvaluateExpression(const BString& expression,
2014-11-15 00:31:17 -05:00
ValueNodeManager* manager,
TeamTypeInformation* info,
2014-11-15 00:31:17 -05:00
ExpressionResult*& _output,
ValueNode*& _neededNode);
};
#endif // SOURCE_LANGUAGE_H