Remove unused class.
git-svn-id: http://root.cern.ch/svn/root/trunk@46199 27541ba8-7e3a-0410-8455-c3a389f83636
This commit is contained in:
parent
d057925245
commit
fac0637329
@ -619,81 +619,6 @@ namespace cling {
|
||||
return declare(code) == Interpreter::kSuccess;
|
||||
}
|
||||
|
||||
class ParserExt : public Parser {
|
||||
public:
|
||||
static TypeResult ParseTypeNameFwd(Parser* P, SourceRange *Range = 0,
|
||||
Declarator::TheContext Context
|
||||
= Declarator::TypeNameContext,
|
||||
AccessSpecifier AS = AS_none,
|
||||
Decl **OwnedType = 0) {
|
||||
return ((ParserExt*)P)->ParseTypeName(Range, Context, AS, OwnedType);
|
||||
}
|
||||
|
||||
static const Token& NextTokenFwd(Parser* P) {
|
||||
return ((ParserExt*)P)->NextToken();
|
||||
}
|
||||
|
||||
static bool SkipUntilFwd(Parser* P, tok::TokenKind T, bool StopAtSemi = true,
|
||||
bool DontConsume = false,
|
||||
bool StopAtCodeCompletion = false) {
|
||||
|
||||
return ((ParserExt*)P)->SkipUntil(T, StopAtSemi, DontConsume,
|
||||
StopAtCodeCompletion);
|
||||
}
|
||||
|
||||
static bool TryAnnotateCXXScopeTokenFwd(Parser* P,
|
||||
bool EnteringContext = false) {
|
||||
|
||||
return ((ParserExt*)P)->TryAnnotateCXXScopeToken(EnteringContext);
|
||||
}
|
||||
static bool TryAnnotateTypeOrScopeTokenFwd(Parser* P,
|
||||
bool EnteringContext = false,
|
||||
bool NeedType = false) {
|
||||
|
||||
return ((ParserExt*)P)->TryAnnotateTypeOrScopeToken(EnteringContext);
|
||||
}
|
||||
|
||||
static ParsedType getTypeAnnotationFwd(Token &Tok) {
|
||||
return ParserExt::getTypeAnnotation(Tok);
|
||||
}
|
||||
|
||||
static SourceLocation ConsumeTokenFwd(Parser* P) {
|
||||
return ((ParserExt*)P)->ConsumeToken();
|
||||
}
|
||||
|
||||
static bool ParseUnqualifiedIdFwd(Parser* P,
|
||||
CXXScopeSpec &SS, bool EnteringContext,
|
||||
bool AllowDestructorName,
|
||||
bool AllowConstructorName,
|
||||
ParsedType ObjectType,
|
||||
SourceLocation& TemplateKWLoc,
|
||||
UnqualifiedId &Result) {
|
||||
|
||||
return ((ParserExt*)P)->ParseUnqualifiedId(SS, EnteringContext,
|
||||
AllowDestructorName,
|
||||
AllowConstructorName,
|
||||
ObjectType,
|
||||
TemplateKWLoc,
|
||||
Result);
|
||||
}
|
||||
|
||||
static ExprResult ParseAssignmentExpressionFwd(Parser* P,
|
||||
TypeCastState isTypeCast
|
||||
= NotTypeCast) {
|
||||
return ((ParserExt*)P)->ParseAssignmentExpression(isTypeCast);
|
||||
|
||||
}
|
||||
|
||||
|
||||
static void EnterScopeFwd(Parser* P, unsigned ScopeFlags) {
|
||||
((ParserExt*)P)->EnterScope(ScopeFlags);
|
||||
}
|
||||
|
||||
static void ExitScopeFwd(Parser* P) {
|
||||
((ParserExt*)P)->ExitScope();
|
||||
}
|
||||
};
|
||||
|
||||
void Interpreter::installLazyFunctionCreator(void* (*fp)(const std::string&)) {
|
||||
m_ExecutionContext->installLazyFunctionCreator(fp);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user