internal FunctionCall CreateIntrinsicFunctionCall(CodeElementsParser.IntrinsicFunctionCallContext context) { var name = CobolWordsBuilder.CreateIntrinsicFunctionName(context.intrinsicFunctionName()); return new IntrinsicFunctionCall(name, CreateArguments(context.argument())); }
// - 3. Intrinsic function calls (allocate a storage area for the result) - internal StorageArea CreateFunctionIdentifier(CodeElementsParser.FunctionIdentifierContext context) { return new IntrinsicFunctionCallResult( CobolWordsBuilder.CreateIntrinsicFunctionName(context.intrinsicFunctionName()), CreateArguments(context.argument())); }
internal FunctionCall CreateUserDefinedFunctionCall(CodeElementsParser.UserDefinedFunctionCallContext context) { var name = CobolWordsBuilder.CreateFunctionNameReference(context.functionNameReference()); return new UserDefinedFunctionCall(name, CreateArguments(context.argument())); }