import { BudgieUtilities } from "../../../BudgieUtilities" ; import { NativeCallSyntax } from "../../Languages/Properties/Syntax/NativeCallSyntax" ; import { LineResults } from "../../LineResults" ; /**
 * Renders a type of native call.
 */ export abstract class NativeCallRenderer { /**
     * Syntax for the native call.
     */ protected nativeCallSyntax : NativeCallSyntax ; param nativeCallSyntax public constructor ( nativeCallSyntax ) { this . nativeCallSyntax = nativeCallSyntax ; } param parameters returns public abstract render ( parameters ) ; param argument param firstParameter returns protected formatArgument ( argument , firstParameter ) { return BudgieUtilities . stringReplaceAll ( argument , "{0}" , firstParameter ) ; } }