trait RuleDSLBasics extends AnyRef
- Alphabetic
- By Inheritance
- RuleDSLBasics
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Type Members
- sealed trait CharRangeSupport extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from RuleDSLBasics to any2stringadd[RuleDSLBasics] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (RuleDSLBasics, B)
- Implicit
- This member is added by an implicit conversion from RuleDSLBasics to ArrowAssoc[RuleDSLBasics] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
ANY: Rule0
Matches any character except EOI.
Matches any character except EOI.
- Annotations
- @compileTimeOnly( ... )
-
def
EOI: Char
Matches the EOI (end-of-input) character.
-
def
MATCH: Rule0
Matches no character (i.e.
Matches no character (i.e. doesn't cause the parser to make any progress) but succeeds always (as a rule).
-
def
MISMATCH[I <: HList, O <: HList]: Rule[I, O]
A generic Rule that always fails.
-
def
MISMATCH0: Rule0
A Rule0 that always fails.
-
def
anyOf(chars: String): Rule0
Matches any single one of the given characters.
Matches any single one of the given characters.
Note: This helper has O(n) runtime with n being the length of the given string. If your string consists only of 7-bit ASCII chars using a pre-allocated CharPredicate will be more efficient.
- Annotations
- @compileTimeOnly( ... )
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
implicit
def
ch(c: Char): Rule0
Matches the given single character.
Matches the given single character.
- Annotations
- @compileTimeOnly( ... )
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
ensuring(cond: (RuleDSLBasics) ⇒ Boolean, msg: ⇒ Any): RuleDSLBasics
- Implicit
- This member is added by an implicit conversion from RuleDSLBasics to Ensuring[RuleDSLBasics] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (RuleDSLBasics) ⇒ Boolean): RuleDSLBasics
- Implicit
- This member is added by an implicit conversion from RuleDSLBasics to Ensuring[RuleDSLBasics] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): RuleDSLBasics
- Implicit
- This member is added by an implicit conversion from RuleDSLBasics to Ensuring[RuleDSLBasics] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): RuleDSLBasics
- Implicit
- This member is added by an implicit conversion from RuleDSLBasics to Ensuring[RuleDSLBasics] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fail(expected: String): Rule0
A rule that always fails and causes the parser to immediately terminate the parsing run.
A rule that always fails and causes the parser to immediately terminate the parsing run. The resulting parse error only has a single trace with a single frame which holds the given error message.
-
def
failX[I <: HList, O <: HList](expected: String): Rule[I, O]
Fully generic variant of fail.
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from RuleDSLBasics to StringFormat[RuleDSLBasics] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
ignoreCase(s: String): Rule0
Matches the given string of characters case insensitively.
Matches the given string of characters case insensitively. Note: the given string must be specified in all lower-case! This requirement is currently NOT enforced!
- Annotations
- @compileTimeOnly( ... )
-
def
ignoreCase(c: Char): Rule0
Matches the given single character case insensitively.
Matches the given single character case insensitively. Note: the given character must be specified in lower-case! This requirement is currently NOT enforced!
- Annotations
- @compileTimeOnly( ... )
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
noneOf(chars: String): Rule0
Matches any single character except the ones in the given string and except EOI.
Matches any single character except the ones in the given string and except EOI.
Note: This helper has O(n) runtime with n being the length of the given string. If your string consists only of 7-bit ASCII chars using a pre-allocated CharPredicate will be more efficient.
- Annotations
- @compileTimeOnly( ... )
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
implicit
def
predicate(p: CharPredicate): Rule0
Matches any (single) character matched by the given
CharPredicate
.Matches any (single) character matched by the given
CharPredicate
.- Annotations
- @compileTimeOnly( ... )
-
implicit
def
str(s: String): Rule0
Matches the given string of characters.
Matches the given string of characters.
- Annotations
- @compileTimeOnly( ... )
-
implicit
def
str2CharRangeSupport(s: String): CharRangeSupport
- Annotations
- @compileTimeOnly( ... )
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
implicit
def
valueMap[T](m: Map[String, T])(implicit h: HListable[T]): RuleN[Out]
Matches any of the given maps keys and pushes the respective value upon a successful match.
Matches any of the given maps keys and pushes the respective value upon a successful match.
- Annotations
- @compileTimeOnly( ... )
-
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( ... ) @native()
-
def
→[B](y: B): (RuleDSLBasics, B)
- Implicit
- This member is added by an implicit conversion from RuleDSLBasics to ArrowAssoc[RuleDSLBasics] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc