All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kz.greetgo.logging.structure.parser.model.SubInstruction Maven / Gradle / Ivy

There is a newer version: 0.2.0
Show newest version
package kz.greetgo.logging.structure.parser.model;

import lombok.RequiredArgsConstructor;

@RequiredArgsConstructor
public class SubInstruction implements InstructionPartOwner {
  public final int line;
  public final InstructionPartList partList = new InstructionPartList(this);

  public String first() {
    return partList.first().str();
  }

  @Override
  public int lineNo() {
    return line;
  }

  public SubInstruction addPart(String line) {
    partList.parse(0, line);
    return this;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy