stevedlawrence commented on a change in pull request #273: WIP: Add User Defined Functions Capability URL: https://github.com/apache/incubator-daffodil/pull/273#discussion_r331479978
########## File path: daffodil-core/src/main/scala/org/apache/daffodil/dpath/Expression.scala ########## @@ -2452,3 +2494,24 @@ case class DAFErrorExpr(nameAsParsed: String, fnQName: RefQName, args: List[Expr new CompiledDPath(DAFError) } } + +case class UDFunctionCallExpr(nameAsParsed: String, fnQName: RefQName, args: List[Expression], argTypes: List[NodeInfo.Kind], resultType: NodeInfo.Kind, constructor: List[CompiledDPath] => RecipeOp) + extends FunctionCallBase(nameAsParsed, fnQName, args) { + + override lazy val inherentType = resultType + + lazy val arg_to_argType = (args zip argTypes).toMap Review comment: Change name to camelCase. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services