o

org.json4s.scalap.scalasig

ScalaSigAttributeParsers

object ScalaSigAttributeParsers extends ByteCodeReader

Source
ScalaSig.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaSigAttributeParsers
  2. ByteCodeReader
  3. RulesWithState
  4. StateRules
  5. Rules
  6. AnyRef
  7. 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]
    Definition Classes
    Rules
  2. trait FromRule[In] extends AnyRef
    Definition Classes
    Rules
  3. type Parser[A] = scalap.Rule[S, S, A, String]
    Definition Classes
    ByteCodeReader
  4. type Rule[+A, +X] = scalap.Rule[S, S, A, X]
    Definition Classes
    StateRules
  5. type S = ByteCode
    Definition Classes
    ByteCodeReader → StateRules

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def allOf[A, X](rules: Seq[Rule[A, X]]): (S) ⇒ Result[S, List[A], X]

    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]

    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]
    Definition Classes
    StateRules
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val byte: scalap.Rule[S, S, Byte, Nothing]
    Definition Classes
    ByteCodeReader
  9. def bytes(n: Int): scalap.Rule[S, S, ByteCode, Nothing]
    Definition Classes
    ByteCodeReader
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  11. def cond(f: (S) ⇒ Boolean): scalap.Rule[S, S, S, Nothing]

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

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

    Definition Classes
    StateRules
  12. val entry: scalap.Rule[S, S, ~[Int, ByteCode], Nothing]
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def error[X](err: X): scalap.Rule[Any, Nothing, Nothing, X]
    Definition Classes
    Rules
  16. def error[In]: scalap.Rule[In, Nothing, Nothing, In]
    Definition Classes
    Rules
  17. def expect[In, Out, A, Any](rule: scalap.Rule[In, Out, A, Any]): (In) ⇒ A

    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
  18. val factory: RulesWithState
    Definition Classes
    RulesWithState → StateRules
  19. def failure: scalap.Rule[Any, Nothing, Nothing, Nothing]
    Definition Classes
    Rules
  20. def from[In]: FromRule[In]
    Definition Classes
    Rules
  21. def get: scalap.Rule[S, S, S, Nothing]
    Definition Classes
    StateRules
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. implicit def inRule[In, Out, A, X](rule: scalap.Rule[In, Out, A, X]): InRule[In, Out, A, X]
    Definition Classes
    Rules
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. val longValue: scalap.Rule[S, S, Long, Nothing]
  27. val nat: scalap.Rule[S, S, Int, Nothing]
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. def nil: scalap.Rule[S, S, Nil.type, Nothing]
    Definition Classes
    StateRules
  30. def none: scalap.Rule[S, S, None.type, Nothing]
    Definition Classes
    StateRules
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. def oneOf[In, Out, A, X](rules: scalap.Rule[In, Out, A, X]*): scalap.Rule[In, Out, A, X]
    Definition Classes
    Rules
  34. def parse(byteCode: ByteCode): ScalaSig
  35. val rawBytes: scalap.Rule[S, S, ByteCode, Nothing]
  36. def read[A](f: (S) ⇒ A): scalap.Rule[S, S, A, Nothing]
    Definition Classes
    StateRules
  37. def repeatUntil[T, X](rule: Rule[(T) ⇒ T, X])(finished: (T) ⇒ Boolean)(initial: T): scalap.Rule[S, S, T, X]

    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
  38. implicit def rule[In, Out, A, X](f: (In) ⇒ Result[Out, A, X]): scalap.Rule[In, Out, A, X]
    Definition Classes
    Rules
  39. def ruleWithName[In, Out, A, X](_name: String, f: (In) ⇒ Result[Out, A, X]): scalap.Rule[In, Out, A, X] with Name
    Definition Classes
    Rules
  40. val scalaSig: scalap.Rule[S, S, ScalaSig, Nothing]
  41. implicit def seqRule[In, A, X](rule: scalap.Rule[In, In, A, X]): SeqRule[In, A, X]
    Definition Classes
    Rules
  42. def set(s: ⇒ S): scalap.Rule[S, S, S, Nothing]
    Definition Classes
    StateRules
  43. def state[s]: StateRules { type S = s }
    Definition Classes
    Rules
  44. def success[Out, A](out: Out, a: A): scalap.Rule[Any, Out, A, Nothing]
    Definition Classes
    Rules
  45. val symtab: scalap.Rule[S, S, Seq[~[Int, ByteCode]], Nothing]
  46. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  47. def toString(): String
    Definition Classes
    AnyRef → Any
  48. val u1: scalap.Rule[S, S, Int, Nothing]
    Definition Classes
    ByteCodeReader
  49. val u2: scalap.Rule[S, S, Int, Nothing]
    Definition Classes
    ByteCodeReader
  50. val u4: scalap.Rule[S, S, Int, Nothing]
    Definition Classes
    ByteCodeReader
  51. def unit[A](a: ⇒ A): scalap.Rule[S, S, A, Nothing]
    Definition Classes
    StateRules
  52. def update(f: (S) ⇒ S): scalap.Rule[S, S, S, Nothing]
    Definition Classes
    StateRules
  53. val utf8: scalap.Rule[S, S, String, Nothing]
  54. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  56. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from ByteCodeReader

Inherited from RulesWithState

Inherited from StateRules

Inherited from Rules

Inherited from AnyRef

Inherited from Any

Ungrouped