]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/markdown/inlines/Delimiter.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / markdown / inlines / Delimiter.java
1 package org.simantics.scl.compiler.markdown.inlines;
2
3 import org.simantics.scl.compiler.markdown.nodes.Node;
4
5 public class Delimiter {
6     Delimiter previous;
7     Delimiter next;
8     Node inlText;
9     int position;
10     char delimChar;
11     boolean canOpen;
12     boolean canClose;
13     boolean active = true;
14     
15     public Delimiter(Delimiter previous, Node inlText, int position,
16             char delimChar, boolean canOpen, boolean canClose) {
17         this.previous = previous;
18         this.inlText = inlText;
19         this.position = position;
20         this.delimChar = delimChar;
21         this.canOpen = canOpen;
22         this.canClose = canClose;
23         
24         if(previous != null)
25             previous.next = this;
26     }
27 }