Styling Completion State
The abstract class for the styling state machine. A statement can be in the process of being styled while the next statement is being parsed, but before that next statement is allowed to executed, the previous styling action must complete. Otherwise, the execution of the next statement might change the stylers that are in effect while the styling of the previous statement is in progress, which is a race.
Inheritors
Types
Link copied to clipboard
Styling is not currently happening. Also, nobody is waiting for styling to complete.
Link copied to clipboard
class StylingAndWaiting(val notStylingAction: () -> Unit) : CompilationContext.StylingCompletionState
Styling is happening, and the other party is waiting for it to complete, having provided an action indicating what to do when styling completes.
Link copied to clipboard
Styling is happening, but nobody is waiting for it to complete yet.