What is the internal representation of the automations?

When HA parses the yaml of an automation, in which form is the automation converted to be used for running? Is there some kind of internal meta code?