org
.
globalnames
.
parser
Parser
Related Docs:
object Parser
|
package parser
class
Parser
extends
parboiled2.Parser
Linear Supertypes
parboiled2.Parser
,
RuleDSL
,
RuleDSLActions
,
RuleDSLCombinators
,
RuleDSLBasics
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
Parser
Parser
RuleDSL
RuleDSLActions
RuleDSLCombinators
RuleDSLBasics
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
Parser
(
preprocessorResult:
Preprocessor.Result
,
collectErrors:
Boolean
)
Type Members
sealed
trait
ActionOperator
[
I <:
HList
,
O <:
HList
,
Ops
]
extends
AnyRef
Definition Classes
RuleDSLActions
sealed
trait
CharRangeSupport
extends
AnyRef
Definition Classes
RuleDSLBasics
sealed
trait
NTimes
extends
AnyRef
Definition Classes
RuleDSLCombinators
type
RuleNodeMeta
[
T <:
AstNode
]
=
Rule
[
HNil
,
::
[
NodeMeta
[
T
],
HNil
]]
class
TracingBubbleException
extends
RuntimeException
with
NoStackTrace
Definition Classes
Parser
trait
WithSeparatedBy
[
I <:
HList
,
O <:
HList
]
extends
AnyRef
Definition Classes
RuleDSLCombinators
class
__SubParserInput
extends
ParserInput
Attributes
protected
Definition Classes
Parser
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
def
&
(
r:
Rule
[_, _]
)
:
Rule0
Definition Classes
RuleDSLCombinators
Annotations
@compileTimeOnly
(
...
)
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
ANY
:
Rule0
Definition Classes
RuleDSLBasics
Annotations
@compileTimeOnly
(
...
)
def
EOI
:
Char
Definition Classes
RuleDSLBasics
def
MATCH
:
Rule0
Definition Classes
RuleDSLBasics
def
MISMATCH
[
I <:
HList
,
O <:
HList
]
:
Rule
[
I
,
O
]
Definition Classes
RuleDSLBasics
def
MISMATCH0
:
Rule0
Definition Classes
RuleDSLBasics
def
__advance
()
:
Boolean
Definition Classes
Parser
def
__bubbleUp
(
prefix:
List
[
NonTerminal
]
,
terminal:
Terminal
)
:
Nothing
Definition Classes
Parser
def
__bubbleUp
(
terminal:
Terminal
)
:
Nothing
Definition Classes
Parser
def
__enterAtomic
(
start:
Int
)
:
Boolean
Definition Classes
Parser
def
__enterNotPredicate
()
:
AnyRef
Definition Classes
Parser
def
__enterQuiet
()
:
Int
Definition Classes
Parser
def
__exitAtomic
(
saved:
Boolean
)
:
Unit
Definition Classes
Parser
def
__exitNotPredicate
(
saved:
AnyRef
)
:
Unit
Definition Classes
Parser
def
__exitQuiet
(
saved:
Int
)
:
Unit
Definition Classes
Parser
def
__hardFail
(
expected:
String
)
:
Nothing
Definition Classes
Parser
def
__inErrorAnalysis
:
Boolean
Definition Classes
Parser
final
def
__matchAnyOf
(
string:
String
,
ix:
Int
)
:
Boolean
Definition Classes
Parser
Annotations
@tailrec
()
final
def
__matchIgnoreCaseString
(
string:
String
,
ix:
Int
)
:
Boolean
Definition Classes
Parser
Annotations
@tailrec
()
final
def
__matchIgnoreCaseStringWrapped
(
string:
String
,
ix:
Int
)
:
Boolean
Definition Classes
Parser
Annotations
@tailrec
()
def
__matchMap
(
m:
Map
[
String
,
Any
]
)
:
Boolean
Definition Classes
Parser
def
__matchMapWrapped
(
m:
Map
[
String
,
Any
]
)
:
Boolean
Definition Classes
Parser
final
def
__matchNoneOf
(
string:
String
,
ix:
Int
)
:
Boolean
Definition Classes
Parser
Annotations
@tailrec
()
final
def
__matchString
(
string:
String
,
ix:
Int
)
:
Boolean
Definition Classes
Parser
Annotations
@tailrec
()
final
def
__matchStringWrapped
(
string:
String
,
ix:
Int
)
:
Boolean
Definition Classes
Parser
Annotations
@tailrec
()
def
__push
(
value:
Any
)
:
Boolean
Definition Classes
Parser
def
__registerMismatch
()
:
Boolean
Definition Classes
Parser
def
__restoreState
(
mark:
Mark
)
:
Unit
Definition Classes
Parser
def
__run
[
L <:
HList
]
(
rule: ⇒
RuleN
[
L
]
)
(
implicit
scheme:
DeliveryScheme
[
L
]
)
:
parboiled2.Parser.DeliveryScheme.Result
Definition Classes
Parser
def
__saveState
:
Mark
Definition Classes
Parser
def
__updateMaxCursor
()
:
Boolean
Definition Classes
Parser
def
abbrGenus
:
RuleNodeMeta
[
UninomialWord
]
def
anyOf
(
chars:
String
)
:
Rule0
Definition Classes
RuleDSLBasics
Annotations
@compileTimeOnly
(
...
)
def
approxName
:
RuleNodeMeta
[
NamesGroup
]
def
approxName1
:
Rule
[
::
[
NodeMeta
[
Uninomial
],
HNil
],
::
[
NodeMeta
[
Name
],
HNil
]]
def
approxName2
:
Rule
[
::
[
NodeMeta
[
Uninomial
],
HNil
],
::
[
NodeMeta
[
Name
],
HNil
]]
def
approxNameIgnored
:
Rule1
[
Option
[
String
]]
def
approximation
:
RuleNodeMeta
[
Approximation
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
atomic
[
I <:
HList
,
O <:
HList
]
(
r:
Rule
[
I
,
O
]
)
:
Rule
[
I
,
O
]
Definition Classes
RuleDSLCombinators
Annotations
@compileTimeOnly
(
...
)
def
author
:
RuleNodeMeta
[
Author
]
def
author1
:
RuleNodeMeta
[
Author
]
def
author2
:
RuleNodeMeta
[
Author
]
def
authorEmend
:
RuleNodeMeta
[
AuthorWord
]
def
authorEx
:
RuleNodeMeta
[
AuthorWord
]
def
authorPrefix
:
RuleNodeMeta
[
AuthorWord
]
def
authorSep
:
RuleNodeMeta
[
AuthorSep
]
def
authorWord
:
RuleNodeMeta
[
AuthorWord
]
def
authorWord1
:
RuleNodeMeta
[
AuthorWord
]
def
authorWord2
:
RuleNodeMeta
[
AuthorWord
]
def
authorWordSep
:
RuleNodeMeta
[
AuthorWord
]
def
authorWordSoft
:
RuleNodeMeta
[
AuthorWord
]
def
authorsGroup
:
RuleNodeMeta
[
AuthorsGroup
]
def
authorsTeam
:
RuleNodeMeta
[
AuthorsTeam
]
def
authorship
:
RuleNodeMeta
[
Authorship
]
def
authorship1
:
RuleNodeMeta
[
Authorship
]
def
basionymAuthorship
:
RuleNodeMeta
[
Authorship
]
def
basionymAuthorship1
:
RuleNodeMeta
[
Authorship
]
def
basionymAuthorship2
:
RuleNodeMeta
[
Authorship
]
def
basionymYearMisformed
:
RuleNodeMeta
[
Authorship
]
def
capWord
:
RuleNodeMeta
[
UninomialWord
]
def
capWord1
:
RuleNodeMeta
[
UninomialWord
]
def
capWord2
:
RuleNodeMeta
[
UninomialWord
]
def
capture
[
I <:
HList
,
O <:
HList
]
(
r:
Rule
[
I
,
O
]
)
(
implicit
p:
Prepend
[
O
,
::
[
String
,
HNil
]]
)
:
Rule
[
I
,
Out
]
Definition Classes
RuleDSLActions
Annotations
@compileTimeOnly
(
...
)
def
capturePos
[
I <:
HList
,
O <:
HList
]
(
r:
Rule
[
I
,
O
]
)
(
implicit
p:
Prepend
[
O
,
::
[
CapturePosition
,
HNil
]]
)
:
Rule
[
I
,
Out
]
Definition Classes
RuleDSLActions
Annotations
@compileTimeOnly
(
...
)
def
capturePosStr
[
I <:
HList
,
O <:
HList
]
(
r:
Rule
[
I
,
O
]
)
(
implicit
p:
Prepend
[
O
,
::
[
CapturePositionString
,
HNil
]]
)
:
Rule
[
I
,
Out
]
Definition Classes
RuleDSLActions
Annotations
@compileTimeOnly
(
...
)
implicit
def
ch
(
c:
Char
)
:
Rule0
Definition Classes
RuleDSLBasics
Annotations
@compileTimeOnly
(
...
)
def
charAt
(
offset:
Int
)
:
Char
Definition Classes
Parser
def
charAtRC
(
offset:
Int
)
:
Char
Definition Classes
Parser
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
combinedAuthorship
:
RuleNodeMeta
[
Authorship
]
def
combinedAuthorship1
:
RuleNodeMeta
[
Authorship
]
def
combinedAuthorship2
:
RuleNodeMeta
[
Authorship
]
def
combinedAuthorship3
:
RuleNodeMeta
[
Authorship
]
def
comparison
:
RuleNodeMeta
[
Comparison
]
def
copyStateFrom
(
other:
parboiled2.Parser
,
offset:
Int
)
:
Unit
Definition Classes
Parser
def
cursor
:
Int
Definition Classes
Parser
def
cursorChar
:
Char
Definition Classes
Parser
def
drop
[
T
]
(
implicit
h:
HListable
[
T
]
)
:
PopRule
[
Out
]
Definition Classes
RuleDSLActions
Annotations
@compileTimeOnly
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
errorTraceCollectionLimit
:
Int
Definition Classes
Parser
→ Parser
def
fail
(
expected:
String
)
:
Rule0
Definition Classes
RuleDSLBasics
def
failX
[
I <:
HList
,
O <:
HList
]
(
expected:
String
)
:
Rule
[
I
,
O
]
Definition Classes
RuleDSLBasics
def
filius
:
RuleNodeMeta
[
AuthorWord
]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
formatError
(
error:
ParseError
,
formatter:
ErrorFormatter
)
:
String
Definition Classes
Parser
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
hybridChar
:
Rule1
[
HybridChar
]
def
hybridFormula
:
RuleNodeMeta
[
NamesGroup
]
def
hybridFormula1
:
Rule1
[
Either
[
HybridFormula1Type
,
HybridFormula2Type
]]
def
hybridFormula2
:
Rule1
[
Either
[
HybridFormula1Type
,
HybridFormula2Type
]]
def
ignoreCase
(
s:
String
)
:
Rule0
Definition Classes
RuleDSLBasics
Annotations
@compileTimeOnly
(
...
)
def
ignoreCase
(
c:
Char
)
:
Rule0
Definition Classes
RuleDSLBasics
Annotations
@compileTimeOnly
(
...
)
def
infraspecies
:
RuleNodeMeta
[
Infraspecies
]
def
infraspeciesGroup
:
RuleNodeMeta
[
InfraspeciesGroup
]
implicit
val
input
:
ParserInput
Definition Classes
Parser
→ Parser
implicit
def
int2NTimes
(
i:
Int
)
:
NTimes
Definition Classes
RuleDSLCombinators
Annotations
@compileTimeOnly
(
...
)
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
lastChar
:
Char
Definition Classes
Parser
def
name
:
RuleNodeMeta
[
Name
]
def
name1
:
RuleNodeMeta
[
Name
]
def
name2
:
RuleNodeMeta
[
Name
]
def
name3
:
RuleNodeMeta
[
Name
]
def
name4
:
RuleNodeMeta
[
Name
]
def
namedHybrid
:
RuleNodeMeta
[
NamesGroup
]
macro
def
namedRule
[
I <:
HList
,
O <:
HList
]
(
name:
String
)
(
r:
Rule
[
I
,
O
]
)
:
Rule
[
I
,
O
]
Definition Classes
Parser
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
noneOf
(
chars:
String
)
:
Rule0
Definition Classes
RuleDSLBasics
Annotations
@compileTimeOnly
(
...
)
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
oneOrMore
[
I <:
HList
,
O <:
HList
]
(
r:
Rule
[
I
,
O
]
)
(
implicit
l:
Lifter
[
Seq
,
I
,
O
]
)
:
Rule
[
In
,
StrictOut
] with
Repeated
Definition Classes
RuleDSLCombinators
Annotations
@compileTimeOnly
(
...
)
def
optional
[
I <:
HList
,
O <:
HList
]
(
r:
Rule
[
I
,
O
]
)
(
implicit
l:
Lifter
[
Option
,
I
,
O
]
)
:
Rule
[
In
,
OptionalOut
]
Definition Classes
RuleDSLCombinators
Annotations
@compileTimeOnly
(
...
)
implicit
def
predicate
(
p:
CharPredicate
)
:
Rule0
Definition Classes
RuleDSLBasics
Annotations
@compileTimeOnly
(
...
)
def
push
[
T
]
(
value:
T
)
(
implicit
h:
HListable
[
T
]
)
:
RuleN
[
Out
]
Definition Classes
RuleDSLActions
Annotations
@compileTimeOnly
(
...
)
def
quiet
[
I <:
HList
,
O <:
HList
]
(
r:
Rule
[
I
,
O
]
)
:
Rule
[
I
,
O
]
Definition Classes
RuleDSLCombinators
Annotations
@compileTimeOnly
(
...
)
implicit
def
range2NTimes
(
range:
Range
)
:
NTimes
Definition Classes
RuleDSLCombinators
Annotations
@compileTimeOnly
(
...
)
def
rank
:
RuleNodeMeta
[
Rank
]
def
rankForma
:
RuleNodeMeta
[
Rank
]
def
rankOther
:
RuleNodeMeta
[
Rank
]
def
rankOtherUncommon
:
RuleNodeMeta
[
Rank
]
def
rankSsp
:
RuleNodeMeta
[
Rank
]
def
rankUninomial
:
RuleNodeMeta
[
Rank
]
def
rankVar
:
RuleNodeMeta
[
Rank
]
macro
def
rule
[
I <:
HList
,
O <:
HList
]
(
r:
Rule
[
I
,
O
]
)
:
Rule
[
I
,
O
]
Definition Classes
Parser
implicit
def
rule2ActionOperator
[
I <:
HList
,
O <:
HList
]
(
r:
Rule
[
I
,
O
]
)
(
implicit
ops:
ActionOps
[
I
,
O
]
)
:
ActionOperator
[
I
,
O
,
Out
]
Definition Classes
RuleDSLActions
Annotations
@compileTimeOnly
(
...
)
implicit
def
rule2WithSeparatedBy
[
I <:
HList
,
O <:
HList
]
(
r:
Rule
[
I
,
O
] with
Repeated
)
:
WithSeparatedBy
[
I
,
O
]
Definition Classes
RuleDSLCombinators
Annotations
@compileTimeOnly
(
...
)
def
run
[
T
]
(
arg:
T
)
(
implicit
rr:
RunResult
[
T
]
)
:
Out
Definition Classes
RuleDSLActions
Annotations
@compileTimeOnly
(
...
)
def
runSubParser
[
I <:
HList
,
O <:
HList
]
(
f: (
ParserInput
) ⇒
Rule
[
I
,
O
]
)
:
Rule
[
I
,
O
]
Definition Classes
RuleDSLCombinators
Annotations
@compileTimeOnly
(
...
)
def
sciName
:
Rule2
[
ScientificName
,
Vector
[
Warning
]]
def
sciName1
:
RuleNodeMeta
[
NamesGroup
]
def
sciName2
:
RuleNodeMeta
[
NamesGroup
]
def
softSpace
:
Rule0
def
space
:
Rule0
def
species
:
RuleNodeMeta
[
Species
]
implicit
def
str
(
s:
String
)
:
Rule0
Definition Classes
RuleDSLBasics
Annotations
@compileTimeOnly
(
...
)
implicit
def
str2CharRangeSupport
(
s:
String
)
:
CharRangeSupport
Definition Classes
RuleDSLBasics
Annotations
@compileTimeOnly
(
...
)
def
subGenus
:
RuleNodeMeta
[
SubGenus
]
def
subGenusOrSuperspecies
:
RuleNodeMeta
[
SpeciesWord
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
test
(
condition:
Boolean
)
:
Rule0
Definition Classes
RuleDSLActions
Annotations
@compileTimeOnly
(
...
)
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
twoLetterGenera
:
RuleNodeMeta
[
UninomialWord
]
def
uninomial
:
RuleNodeMeta
[
Uninomial
]
def
uninomialCombo
:
RuleNodeMeta
[
Uninomial
]
def
uninomialCombo1
:
RuleNodeMeta
[
Uninomial
]
def
uninomialCombo2
:
RuleNodeMeta
[
Uninomial
]
def
uninomialWord
:
RuleNodeMeta
[
UninomialWord
]
def
unknownAuthor
:
RuleNodeMeta
[
Author
]
def
unparsed
:
Rule1
[
Option
[
String
]]
implicit
def
valueMap
[
T
]
(
m:
Map
[
String
,
T
]
)
(
implicit
h:
HListable
[
T
]
)
:
RuleN
[
Out
]
Definition Classes
RuleDSLBasics
Annotations
@compileTimeOnly
(
...
)
def
valueStack
:
ValueStack
Definition Classes
Parser
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
word
:
RuleNodeMeta
[
SpeciesWord
]
def
word1
:
Rule1
[
CapturePosition
]
def
word2
:
Rule1
[
CapturePosition
]
def
word2StartDigit
:
Rule1
[
CapturePosition
]
def
word3
:
Rule1
[
CapturePosition
]
def
word4
:
Rule0
def
year
:
RuleNodeMeta
[
Year
]
def
yearApprox
:
RuleNodeMeta
[
Year
]
def
yearNumber
:
RuleNodeMeta
[
Year
]
def
yearRange
:
RuleNodeMeta
[
Year
]
def
yearWithChar
:
RuleNodeMeta
[
Year
]
def
yearWithDot
:
RuleNodeMeta
[
Year
]
def
yearWithPage
:
RuleNodeMeta
[
Year
]
def
yearWithParens
:
RuleNodeMeta
[
Year
]
def
zeroOrMore
[
I <:
HList
,
O <:
HList
]
(
r:
Rule
[
I
,
O
]
)
(
implicit
l:
Lifter
[
Seq
,
I
,
O
]
)
:
Rule
[
In
,
OptionalOut
] with
Repeated
Definition Classes
RuleDSLCombinators
Annotations
@compileTimeOnly
(
...
)
Inherited from
parboiled2.Parser
Inherited from
RuleDSL
Inherited from
RuleDSLActions
Inherited from
RuleDSLCombinators
Inherited from
RuleDSLBasics
Inherited from
AnyRef
Inherited from
Any
Ungrouped