MLIR  19.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 
12 using namespace mlir;
13 using namespace mlir::pdll;
14 
15 //===----------------------------------------------------------------------===//
16 // CodeCompleteContext
17 //===----------------------------------------------------------------------===//
18 
20 
22  ast::TupleType tupleType) {}
24  ast::OperationType opType) {}
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:158
This class represents a PDLL tuple type, i.e.
Definition: Types.h:244
Include the generated interface declarations.