Uses of Interface
dev.zemco.codegame.execution.instructions.IInstruction
Packages that use IInstruction
Package
Description
Components related to parsing of raw instructions.
Provides instructions for executions.
Components related to programs executable by the application.
-
Uses of IInstruction in dev.zemco.codegame.compilation.parsing
Methods in dev.zemco.codegame.compilation.parsing that return IInstructionModifier and TypeMethodDescriptionFactorySingleIntegerParameterInstructionParser.IIntegerInstructionFactory.createInstruction(int parameter) Creates aninstructionready for use.FactorySingleParameterInstructionParser.IStringInstructionFactory.createInstruction(String parameter) Creates aninstructionready for use.Methods in dev.zemco.codegame.compilation.parsing that return types with arguments of type IInstructionModifier and TypeMethodDescriptionAbstractNamedParametrizedInstructionParser.parseInstruction(String rawInstruction) DelegatingInstructionParser.parseInstruction(String rawInstruction) Delegates parsing of a singleinstructionencoded in a givenstringto given parsers.IInstructionParser.parseInstruction(String rawInstruction) Parses a singleinstructionencoded in a givenstring.protected abstract Optional<IInstruction>AbstractNamedParametrizedInstructionParser.parseInstructionFromParameters(String[] parameters) Parses the namedinstructionfrom its given parameters.protected Optional<IInstruction>FactorySingleParameterInstructionParser.parseInstructionFromParameters(String[] parameters) Parses the namedinstructionby requesting it from the backingfactory.protected Optional<IInstruction>SupplierInstructionParser.parseInstructionFromParameters(String[] parameters) Parses the namedinstructionby retrieving it from thesupplier.Constructor parameters in dev.zemco.codegame.compilation.parsing with type arguments of type IInstructionModifierConstructorDescriptionSupplierInstructionParser(String instructionName, Supplier<IInstruction> instructionSupplier) Creates an instance ofSupplierInstructionParserthat parsesinstructionswith the given name by requesting them from the givensupplier. -
Uses of IInstruction in dev.zemco.codegame.execution.instructions
Classes in dev.zemco.codegame.execution.instructions that implement IInstructionModifier and TypeClassDescriptionclassAbstract base for instruction copying values from onememory cellto some other.classInstruction that adds constant to value held in workingmemory cell.classInstruction that copies value from targetmemory cellto workingmemory cell.classInstruction that copies value from workingmemory cellto targetmemory cell.classInstruction that takes next value frominput sourceand copies it to the workingmemory cell.classInstruction that performs a jump of theengineto the specified label if the value of the workingmemory cellis equal to zero.classInstruction that performs a jump of theengineto the specified label.classInstruction that emits current value in workingmemory celltooutput sink. -
Uses of IInstruction in dev.zemco.codegame.programs
Methods in dev.zemco.codegame.programs that return IInstructionModifier and TypeMethodDescriptionInstructionDescriptor.getInstruction()Returns theinstructionthis descriptor provides the additional context for.Methods in dev.zemco.codegame.programs with parameters of type IInstructionModifier and TypeMethodDescriptionvoidIProgramBuilder.addInstruction(IInstruction instruction, int linePosition) Appendsinstructionto all instructions of theprogram.voidProgramBuilder.addInstruction(IInstruction instruction, int linePosition) Constructors in dev.zemco.codegame.programs with parameters of type IInstructionModifierConstructorDescriptionInstructionDescriptor(IInstruction instruction, int linePosition) Creates an instance ofInstructionDescriptorfor a specificinstruction.