StyleRuleInstructionOpcode

A StyleRuleInstructionOpcode uses its ordinal to represent the opcode for a StyleRuleInstruction. The variants must not be reordered.

Author

Todd L Smith

Entries

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun execute(classifier: String, context: StyleRuleContext, rule: StyleRule, reader: NybbleInputStream, injector: (StyleRuleContext) -> Unit): StyleRuleContext

Execute the instruction associated with the receiver.

Link copied to clipboard
open fun literal(rule: StyleRule, reader: NybbleInputStream): String?

Answer the literal associated with the instruction associated with the receiver.

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.