object Action extends CompRegexParsers
parsing of Actions relative to the parser provided by companion objects (of type ActionCompanion of the subclasses of Action
- Source
- Action.scala
- Alphabetic
- By Inheritance
- Action
- CompRegexParsers
- CompParser
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
Elem = Char
- Definition Classes
- CompRegexParsers → CompParser
-
type
Input = Reader[Elem]
- Definition Classes
- CompParser
-
case class
CompletionResult(results: List[List[Elem]]) extends Product with Serializable
- Definition Classes
- CompParser
-
case class
Error(msg: String, next: Input) extends NoSuccess with Product with Serializable
- Definition Classes
- CompParser
-
case class
Failure(msg: String, next: Input) extends NoSuccess with Product with Serializable
- Definition Classes
- CompParser
-
sealed abstract
class
NoSuccess extends ParseResult[Nothing]
- Definition Classes
- CompParser
-
sealed abstract
class
ParseResult[+T] extends AnyRef
- Definition Classes
- CompParser
-
case class
Success[+T](result: T, next: Input) extends ParseResult[T] with Product with Serializable
- Definition Classes
- CompParser
-
case class
~[+a, +b](_1: a, _2: b) extends Product with Serializable
- Definition Classes
- CompParser
-
abstract
class
Parser[+T] extends CompRegexParsers.Parser[T]
- Definition Classes
- CompRegexParsers
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
def
CompletionResultFromStringList(lst: List[String]): CompletionResult
- Definition Classes
- CompRegexParsers
-
def
Parser[T](f: (Input) ⇒ ParseResult[T], g: (Input, Boolean) ⇒ CompletionResult): Action.Parser[T]
- Definition Classes
- CompParser
-
implicit
def
SuperToMe[T](p: Action.Parser[T]): Parser[T]
- Definition Classes
- CompRegexParsers
-
def
accept[U](expected: String, f: PartialFunction[Elem, U]): Action.Parser[U]
- Definition Classes
- CompParser
-
implicit
def
accept(e: Elem): Action.Parser[Elem]
- Definition Classes
- CompParser
-
def
acceptIf(p: (Elem) ⇒ Boolean)(err: (Elem) ⇒ String): Action.Parser[Elem]
- Definition Classes
- CompParser
-
def
acceptMatch[U](expected: String, f: PartialFunction[Elem, U]): Action.Parser[U]
- Definition Classes
- CompParser
-
def
action(implicit state: ActionState): Parser[Action]
production for any known action (the overall list is accessible via state)
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
chainl1[T, U](first: ⇒ Action.Parser[T], p: ⇒ Action.Parser[U], q: ⇒ Action.Parser[(T, U) ⇒ T]): Action.Parser[T]
- Definition Classes
- CompParser
-
def
chainl1[T](p: ⇒ Action.Parser[T], q: ⇒ Action.Parser[(T, T) ⇒ T]): Action.Parser[T]
- Definition Classes
- CompParser
-
def
chainr1[T, U](p: ⇒ Action.Parser[T], q: ⇒ Action.Parser[(T, U) ⇒ U], combine: (T, U) ⇒ U, first: U): Action.Parser[U]
- Definition Classes
- CompParser
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
complete[T](p: Parser[T], in: CharSequence): CompletionResult
- Definition Classes
- CompRegexParsers
-
def
complete[T](p: Parser[T], in: Reader[Char]): CompletionResult
- Definition Classes
- CompRegexParsers
-
def
completeAct(c: Controller, s: String): List[String]
completes a partially typed action
-
def
elem(e: Elem): Action.Parser[Elem]
- Definition Classes
- CompParser
-
def
elem(kind: String, p: (Elem) ⇒ Boolean): Action.Parser[Elem]
- Definition Classes
- CompParser
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
err[T](msg: String): Action.Parser[T]
- Definition Classes
- CompParser
-
def
failure[T](msg: String): Action.Parser[T]
- Definition Classes
- CompParser
- def file(implicit state: ActionState): Action.Parser[File]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
handleSeparators(source: CharSequence, offset: Int): Int
- Attributes
- protected
- Definition Classes
- CompRegexParsers → CompParser
-
def
handleWhiteSpaceCompletion(source: CharSequence, offset: Int, needsSeparation: Boolean): (Int, String)
- Attributes
- protected
- Definition Classes
- CompRegexParsers
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def int(implicit state: ActionState): Action.Parser[Int]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
keyMod(implicit state: ActionState): Action.Parser[(String, Product with Serializable with BuildTargetModifier)]
build modifiers
-
implicit
def
literal(s: String): Parser[String]
- Definition Classes
- CompRegexParsers
- def mpath(implicit state: ActionState): Action.Parser[MPath]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
opt[T](p: ⇒ Action.Parser[T]): Action.Parser[Option[T]]
- Definition Classes
- CompParser
-
def
parse[T](p: Parser[T], in: CharSequence): ParseResult[T]
- Definition Classes
- CompRegexParsers
-
def
parse[T](p: Parser[T], in: Reader[Char]): ParseResult[T]
- Definition Classes
- CompRegexParsers
-
def
parseAct(controller: Controller, s: String): Action
parses an action from a string, relative to a base path
- def path(implicit state: ActionState): Action.Parser[Path]
-
def
phrase[T](p: Action.Parser[T]): Action.Parser[T]
- Definition Classes
- CompParser
-
def
quotedStr(implicit state: ActionState): Action.Parser[String]
regular expression for quoted string (that may contain whitespace)
-
implicit
def
regex(r: Regex): Parser[String]
- Definition Classes
- CompRegexParsers
-
def
rep[T](p: ⇒ Action.Parser[T]): Action.Parser[List[T]]
- Definition Classes
- CompParser
-
def
rep1[T](first: ⇒ Action.Parser[T], p0: ⇒ Action.Parser[T]): Action.Parser[List[T]]
- Definition Classes
- CompParser
-
def
rep1[T](p: ⇒ Action.Parser[T]): Action.Parser[List[T]]
- Definition Classes
- CompParser
-
def
rep1sep[T](p: ⇒ Action.Parser[T], q: ⇒ Action.Parser[Any]): Action.Parser[List[T]]
- Definition Classes
- CompParser
-
def
repsep[T](p: ⇒ Action.Parser[T], q: ⇒ Action.Parser[Any]): Action.Parser[List[T]]
- Definition Classes
- CompParser
-
val
separator: Elem
- Attributes
- protected
- Definition Classes
- CompRegexParsers → CompParser
-
def
skipWhitespace: Boolean
- Definition Classes
- CompRegexParsers
-
def
str(implicit state: ActionState): Regex
regular expression for non-empty word without whitespace
- def strMaybeQuoted(implicit state: ActionState): Action.Parser[String]
- def stringList(implicit state: ActionState): Action.Parser[List[String]]
-
def
strs(prefix: String)(implicit state: ActionState): Action.Parser[List[String]]
repeating strings with a prefix precondition: prefix should be a regex with a single
-
def
success[T](v: T): Action.Parser[T]
- Definition Classes
- CompParser
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def uri(implicit state: ActionState): Action.Parser[URI]
-
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()
-
val
whiteSpace: Regex
- Attributes
- protected
- Definition Classes
- CompRegexParsers
-
object
CompletionResult extends Serializable
- Definition Classes
- CompParser
-
object
NoSuccess
- Definition Classes
- CompParser