Logo

Examples

  • Example
    • Classes
    • Properties
    • Signals
    • Functions
    • Enums
    • Usage
      • CMake Integration
      • SConstruct Integration
      • Command Line Usage
  • Generated Code Example

Macros

  • Macros
    • GODOT_CLASS
      • Usage
      • Available Parameter Types
        • GOC_GodotClassType
        • GOC_ModuleInitializationLevel
    • GODOT_ENUM
      • Usage
      • Available Parameter Types
        • GOC_EnumGeneratorOptions
    • GODOT_PROPERTY
      • Usage
      • Available Parameter Types
        • GOC_CustomPropertyGetSet
        • GOC_PropertyGetAccessSpecifier
        • GOC_PropertySetAccessSpecifier
        • GOC_PropertyGeneratorOptions
        • GOC_VariantType
        • GOC_PropertyHint
        • GOC_PropertyUsageFlags
    • GODOT_FUNCTION
      • Usage
      • Available Parameter Types
        • GOC_Virtual
        • GOC_RpcMode
        • GOC_RpcSync
        • GOC_TransferMode
        • GOC_RpcChannel
    • GODOT_SIGNAL
      • Usage
    • GODOT_CATEGORY
      • Usage
    • GODOT_GROUP
      • Usage
    • GODOT_SUBGROUP
      • Usage
    • GODOT_GENERATED_BODY
      • Usage
    • GODOT_GENERATED_GLOBAL
      • Usage
    • Exclude Code
    • Example

Integrations

  • Integrations
    • CMake
      • Get the tools
      • Setup
    • SConstruct
      • Get the tools
      • Setup

Using the CLI

  • Using the CLI
    • build_num
    • clear
      • clear generated
      • clear type_db
    • generate
      • generate bindings
      • generate type_db
    • help
    • init
      • init tools
    • print parsed
    • print transformed
    • print type
    • version
godot-object-compiler
  • Using the CLI
  • print transformed
  • View page source

print transformed

Print the godot-object-compiler internal AST for the provided file to the terminal after it has been transformed from the source parsers AST.

Hint

This program requires a project to work with. Please provide the project information by supplying the following arguments:

–root_path=, -R=

The projects root path, including the generator target files

–goc_path=, -P=

The folder the godot-object-compiler can place files in

–generated_path=, -G=

The folder the godot-object-compiler should place generated files in

–cache_path=, -C=

The godot-object-compiler cache folder, including the type database

–include_paths=, -I=

The generators include paths, comma seperated. Must include the godot-cpp include and gen/include paths.

–sources=, -S=

The generators target source file paths, comma seperated.

–godot_cpp=, -GPP=

The path to the godot-cpp repositories root used with your extension.

–extension_api=, -E=

The path to the extension api json file to be used with your extension.

–source_parser=, -SP=

The name of the source parser to be used by godot-object-compiler.

You can also use a godot-object-compiler project file alternatively.

Help Text:

Show the parsers transformed syntax tree output for the provided file. [args]

<file path> required - path to the file to parse

Previous Next

© Copyright 2026, Luca Ian Tuerk.

Built with Sphinx using a theme provided by Read the Docs.