Stay organized with collections
Save and categorize content based on your preferences.
blockly > CodeGenerator > FUNCTION_NAME_PLACEHOLDER_
CodeGenerator.FUNCTION_NAME_PLACEHOLDER_ property
This is used as a placeholder in functions defined using CodeGenerator.provideFunction_. It must not be legal code that could legitimately appear in a function definition (or comment), and it must not confuse the regular expression parser.
Signature:
FUNCTION_NAME_PLACEHOLDER_: string;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["The `topLeft` property represents the SVG path for the top-left outside corner of a block."],["This property is a string containing the SVG path data and is part of the `blockRendering.OutsideCorners` interface."],["It defines how the top-left corner of the block is rendered visually."]]],["The `CodeGenerator.FUNCTION_NAME_PLACEHOLDER_` property serves as a placeholder within functions created by `CodeGenerator.provideFunction_`. It is a string and must not represent valid code or a comment to avoid parsing errors. Its sole purpose is to be replaced later and cannot legitimately appear in a function definition.\n"]]