MLIR 22.0.0git
CodeComplete.cpp
Go to the documentation of this file.
1//===- CodeComplete.cpp ---------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
11
12using namespace mlir;
13using namespace mlir::pdll;
14
15//===----------------------------------------------------------------------===//
16// CodeCompleteContext
17//===----------------------------------------------------------------------===//
18
20
25
27 ast::Type currentType, bool allowInlineTypeConstraints,
28 const ast::DeclScope *scope) {}
virtual void codeCompleteConstraintName(ast::Type currentType, bool allowInlineTypeConstraints, const ast::DeclScope *scope)
Signal code completion for a constraint name with an optional decl scope.
virtual void codeCompleteOperationMemberAccess(ast::OperationType opType)
Signal code completion for a member access into the given operation type.
virtual void codeCompleteTupleMemberAccess(ast::TupleType tupleType)
Signal code completion for a member access into the given tuple type.
This class represents a scope for named AST decls.
Definition Nodes.h:64
This class represents a PDLL type that corresponds to an mlir::Operation.
Definition Types.h:134
This class represents a PDLL tuple type, i.e.
Definition Types.h:222
Include the generated interface declarations.