Class SquareMap
- Namespace
- SunamoString._public.SunamoData.Data
- Assembly
- SunamoString.dll
Stores positions of brackets (curly, square, normal) found in a text, including both opening and closing positions.
public class SquareMap
- Inheritance
-
SquareMap
- Inherited Members
- Extension Methods
Properties
Brackets
Positions of opening parentheses.
public List<int> Brackets { get; set; }
Property Value
CurlyBrackets
Positions of opening curly braces.
public List<int> CurlyBrackets { get; set; }
Property Value
EndingBrackets
Positions of closing parentheses.
public List<int> EndingBrackets { get; set; }
Property Value
EndingCurlyBrackets
Positions of closing curly braces.
public List<int> EndingCurlyBrackets { get; set; }
Property Value
EndingSquareBrackets
Positions of closing square brackets.
public List<int> EndingSquareBrackets { get; set; }
Property Value
SquareBrackets
Positions of opening square brackets.
public List<int> SquareBrackets { get; set; }
Property Value
Methods
Add(Brackets, bool, int)
Adds a bracket position to the appropriate list based on bracket type and direction.
public void Add(Brackets bracketType, bool isEnding, int index)