package org.simantics.scl.compiler.markdown.inlines; import org.simantics.scl.compiler.markdown.nodes.Node; public class Delimiter { Delimiter previous; Delimiter next; Node inlText; int position; char delimChar; boolean canOpen; boolean canClose; boolean active = true; public Delimiter(Delimiter previous, Node inlText, int position, char delimChar, boolean canOpen, boolean canClose) { this.previous = previous; this.inlText = inlText; this.position = position; this.delimChar = delimChar; this.canOpen = canOpen; this.canClose = canClose; if(previous != null) previous.next = this; } }