Parser
Original wikiparser from NSC
- Authors
Ingo Maier
Manohar Jonnalagedda
Gilles Dubochet
Value members
Concrete methods
Checks if the current line is formed with more than one space and one the listStyles
Checks if the current line is formed with more than one space and one the listStyles
Where n and m stand for the number of spaces. When m > n
, a new list is nested.
nListBlock ::= nLine { mListBlock }
nLine ::= nSpc listStyle para '\n'
Where n and m stand for the number of spaces. When m > n
, a new list is nested.
Eliminates the (common) leading spaces in all lines, based on the first line For indented pieces of code, it reduces the indent to the least whitespace prefix:
Eliminates the (common) leading spaces in all lines, based on the first line For indented pieces of code, it reduces the indent to the least whitespace prefix:
indented example
another indented line
if (condition)
then do something;
^ this is the least whitespace prefix
Inherited methods
Jumps all the characters in chars, consuming them in the process.
Jumps all the characters in chars, consuming them in the process.
- Returns
true only if the correct characters have been jumped
- Inherited from
- CharReader
Jumps a character and consumes it
Jumps a character and consumes it
- Returns
true only if the correct character has been jumped
- Inherited from
- CharReader