34 std::string_view
name()
const {
42 std::string_view
name,
43 std::string_view behaviorText);
46 static std::unique_ptr<Extension>
Make(
const Context& context,
48 std::string_view
name);
51 return "#extension " + std::string(this->
name()) +
" : enable";
55 std::string_view fName;
static constexpr Kind kIRNodeKind
std::string description() const override
static std::unique_ptr< Extension > Convert(const Context &context, Position pos, std::string_view name, std::string_view behaviorText)
std::string_view name() const
static std::unique_ptr< Extension > Make(const Context &context, Position pos, std::string_view name)
Extension(Position pos, std::string_view name)
ProgramElement(Position pos, Kind kind)