Trait

org.json4s.scalap.scalasig

ByteCodeReader

Related Doc: package scalasig

Permalink

trait ByteCodeReader extends RulesWithState

Provides rules for parsing byte-code.

Source
ClassFileParser.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ByteCodeReader
  2. RulesWithState
  3. StateRules
  4. Rules
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class DefaultRule[In, Out, A, X] extends Rule[In, Out, A, X]

    Permalink
    Definition Classes
    Rules
  2. trait FromRule[In] extends AnyRef

    Permalink
    Definition Classes
    Rules
  3. type Parser[A] = scalap.Rule[S, S, A, String]

    Permalink
  4. type Rule[+A, +X] = scalap.Rule[S, S, A, X]

    Permalink
    Definition Classes
    StateRules
  5. type S = ByteCode

    Permalink
    Definition Classes
    ByteCodeReaderStateRules

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def allOf[A, X](rules: Seq[Rule[A, X]]): (S) ⇒ Result[S, List[A], X]

    Permalink

    Create a rule that succeeds if all of the given rules succeed.

    Create a rule that succeeds if all of the given rules succeed.

    rules

    the rules to apply in sequence.

    Definition Classes
    StateRules
  5. def anyOf[A, X](rules: Seq[Rule[A, X]]): scalap.Rule[S, S, List[A], X]

    Permalink

    Create a rule that succeeds with a list of all the provided rules that succeed.

    Create a rule that succeeds with a list of all the provided rules that succeed.

    rules

    the rules to apply in sequence.

    Definition Classes
    StateRules
  6. def apply[A, X](f: (S) ⇒ Result[S, A, X]): scalap.Rule[S, S, A, X]

    Permalink
    Definition Classes
    StateRules
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. val byte: scalap.Rule[S, S, Byte, Nothing]

    Permalink
  9. def bytes(n: Int): scalap.Rule[S, S, ByteCode, Nothing]

    Permalink
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def cond(f: (S) ⇒ Boolean): scalap.Rule[S, S, S, Nothing]

    Permalink

    Create a rule that identities if f(in) is true.

    Create a rule that identities if f(in) is true.

    Definition Classes
    StateRules
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def error[X](err: X): scalap.Rule[Any, Nothing, Nothing, X]

    Permalink
    Definition Classes
    Rules
  15. def error[In]: scalap.Rule[In, Nothing, Nothing, In]

    Permalink
    Definition Classes
    Rules
  16. def expect[In, Out, A, Any](rule: scalap.Rule[In, Out, A, Any]): (In) ⇒ A

    Permalink

    Converts a rule into a function that throws an Exception on failure.

    Converts a rule into a function that throws an Exception on failure.

    Definition Classes
    Rules
  17. val factory: RulesWithState

    Permalink
    Definition Classes
    RulesWithStateStateRules
  18. def failure: scalap.Rule[Any, Nothing, Nothing, Nothing]

    Permalink
    Definition Classes
    Rules
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def from[In]: FromRule[In]

    Permalink
    Definition Classes
    Rules
  21. def get: scalap.Rule[S, S, S, Nothing]

    Permalink
    Definition Classes
    StateRules
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. implicit def inRule[In, Out, A, X](rule: scalap.Rule[In, Out, A, X]): InRule[In, Out, A, X]

    Permalink
    Definition Classes
    Rules
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. def nil: scalap.Rule[S, S, Nil.type, Nothing]

    Permalink
    Definition Classes
    StateRules
  28. def none: scalap.Rule[S, S, None.type, Nothing]

    Permalink
    Definition Classes
    StateRules
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. def oneOf[In, Out, A, X](rules: scalap.Rule[In, Out, A, X]*): scalap.Rule[In, Out, A, X]

    Permalink
    Definition Classes
    Rules
  32. def read[A](f: (S) ⇒ A): scalap.Rule[S, S, A, Nothing]

    Permalink
    Definition Classes
    StateRules
  33. def repeatUntil[T, X](rule: Rule[(T) ⇒ T, X])(finished: (T) ⇒ Boolean)(initial: T): scalap.Rule[S, S, T, X]

    Permalink

    Repeatedly apply a rule from initial value until finished condition is met.

    Repeatedly apply a rule from initial value until finished condition is met.

    Definition Classes
    StateRules
  34. implicit def rule[In, Out, A, X](f: (In) ⇒ Result[Out, A, X]): scalap.Rule[In, Out, A, X]

    Permalink
    Definition Classes
    Rules
  35. def ruleWithName[In, Out, A, X](_name: String, f: (In) ⇒ Result[Out, A, X]): scalap.Rule[In, Out, A, X] with Name

    Permalink
    Definition Classes
    Rules
  36. implicit def seqRule[In, A, X](rule: scalap.Rule[In, In, A, X]): SeqRule[In, A, X]

    Permalink
    Definition Classes
    Rules
  37. def set(s: ⇒ S): scalap.Rule[S, S, S, Nothing]

    Permalink
    Definition Classes
    StateRules
  38. def state[s]: StateRules { type S = s }

    Permalink
    Definition Classes
    Rules
  39. def success[Out, A](out: Out, a: A): scalap.Rule[Any, Out, A, Nothing]

    Permalink
    Definition Classes
    Rules
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  41. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  42. val u1: scalap.Rule[S, S, Int, Nothing]

    Permalink
  43. val u2: scalap.Rule[S, S, Int, Nothing]

    Permalink
  44. val u4: scalap.Rule[S, S, Int, Nothing]

    Permalink
  45. def unit[A](a: ⇒ A): scalap.Rule[S, S, A, Nothing]

    Permalink
    Definition Classes
    StateRules
  46. def update(f: (S) ⇒ S): scalap.Rule[S, S, S, Nothing]

    Permalink
    Definition Classes
    StateRules
  47. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from RulesWithState

Inherited from StateRules

Inherited from Rules

Inherited from AnyRef

Inherited from Any

Ungrouped