Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
concept我希望将包含带有以下签名的 java 谓词作为我的 DSL文件的一部分(string -> boolean)。我应该从 baseLanguage 导入哪种类型来执行此操作?
concept
(string -> boolean)
看起来您需要导入闭包语言。FunctionType 和 ClosureLiteral 是您最有可能寻找的概念。