
org.xmlet.regexapi.AtStringBeginning Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of regexApi Show documentation
Show all versions of regexApi Show documentation
Uses XsdAsmFaster to generate a fluent API that allows the manipulation of the regex language.
The newest version!
package org.xmlet.regexapi;
import java.util.function.Consumer;
public final class AtStringBeginning implements CustomAttributeGroup, Z>, MatchingOperationsAll1, Z> {
protected final Z parent;
protected final ElementVisitor visitor;
public AtStringBeginning(ElementVisitor visitor) {
this.visitor = visitor;
this.parent = null;
visitor.visitElementAtStringBeginning(this);
}
public AtStringBeginning(Z parent) {
this.parent = parent;
this.visitor = parent.getVisitor();
this.visitor.visitElementAtStringBeginning(this);
}
protected AtStringBeginning(Z parent, ElementVisitor visitor, boolean shouldVisit) {
this.parent = parent;
this.visitor = visitor;
if (shouldVisit) {
visitor.visitElementAtStringBeginning(this);
}
}
public Z __() {
this.visitor.visitParentAtStringBeginning(this);
return this.parent;
}
public final AtStringBeginning dynamic(Consumer> consumer) {
this.visitor.visitOpenDynamic();
consumer.accept(this);
this.visitor.visitCloseDynamic();
return this;
}
public final AtStringBeginning of(Consumer> consumer) {
consumer.accept(this);
return this;
}
public Z getParent() {
return this.parent;
}
public final ElementVisitor getVisitor() {
return this.visitor;
}
public String getName() {
return "atStringBeginning";
}
public final AtStringBeginning self() {
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy