scala.tools.scalap.scalax.rules.scalasig

ByteCodeReader

trait ByteCodeReader extends RulesWithState

Provides rules for parsing byte-code.

Source
ClassFileParser.scala
Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ByteCodeReader
  2. RulesWithState
  3. StateRules
  4. Rules
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

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

    Definition Classes
    Rules
  2. type Parser[A] = rules.Rule[S, S, A, String]

  3. type Rule[+A, +X] = rules.Rule[S, S, A, X]

    Definition Classes
    StateRules
  4. type S = ByteCode

    Definition Classes
    ByteCodeReaderStateRules

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from ByteCodeReader to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (ByteCodeReader, B)

    Implicit information
    This member is added by an implicit conversion from ByteCodeReader to ArrowAssoc[ByteCodeReader] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. 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
  9. def anyOf[A, X](rules: Seq[Rule[A, X]]): rules.Rule[S, S, collection.immutable.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
  10. def apply[A, X](f: (S) ⇒ Result[S, A, X]): rules.Rule[S, S, A, X]

    Definition Classes
    StateRules
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. val byte: rules.Rule[S, S, Byte, Nothing]

  13. def bytes(n: Int): rules.Rule[S, S, ByteCode, Nothing]

  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def cond(f: (S) ⇒ Boolean): rules.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
  16. def ensuring(cond: (ByteCodeReader) ⇒ Boolean, msg: ⇒ Any): ByteCodeReader

    Implicit information
    This member is added by an implicit conversion from ByteCodeReader to Ensuring[ByteCodeReader] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: (ByteCodeReader) ⇒ Boolean): ByteCodeReader

    Implicit information
    This member is added by an implicit conversion from ByteCodeReader to Ensuring[ByteCodeReader] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean, msg: ⇒ Any): ByteCodeReader

    Implicit information
    This member is added by an implicit conversion from ByteCodeReader to Ensuring[ByteCodeReader] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean): ByteCodeReader

    Implicit information
    This member is added by an implicit conversion from ByteCodeReader to Ensuring[ByteCodeReader] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  22. def error[X](err: X): rules.Rule[Any, Nothing, Nothing, X]

    Definition Classes
    Rules
  23. def error[In]: rules.Rule[In, Nothing, Nothing, In]

    Definition Classes
    Rules
  24. def expect[In, Out, A, Any](rule: rules.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
  25. val factory: RulesWithState

    Definition Classes
    RulesWithStateStateRules
  26. def failure: rules.Rule[Any, Nothing, Nothing, Nothing]

    Definition Classes
    Rules
  27. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  28. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from ByteCodeReader to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  29. def from[In]: AnyRef { def apply[Out, A, X](f: In => scala.tools.scalap.scalax.rules.Result[Out,A,X]): scala.tools.scalap.scalax.rules.Rule[In,Out,A,X] }

    Definition Classes
    Rules
  30. def get: rules.Rule[S, S, S, Nothing]

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

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

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

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

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

    Definition Classes
    AnyRef
  36. def nil: rules.Rule[S, S, collection.immutable.Nil.type, Nothing]

    Definition Classes
    StateRules
  37. def none: rules.Rule[S, S, None.type, Nothing]

    Definition Classes
    StateRules
  38. final def notify(): Unit

    Definition Classes
    AnyRef
  39. final def notifyAll(): Unit

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

    Definition Classes
    Rules
  41. def read[A](f: (S) ⇒ A): rules.Rule[S, S, A, Nothing]

    Definition Classes
    StateRules
  42. def repeatUntil[T, X](rule: Rule[(T) ⇒ T, X])(finished: (T) ⇒ Boolean)(initial: T): rules.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
  43. implicit def rule[In, Out, A, X](f: (In) ⇒ Result[Out, A, X]): rules.Rule[In, Out, A, X]

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

    Definition Classes
    Rules
  45. implicit def seqRule[In, A, X](rule: rules.Rule[In, In, A, X]): SeqRule[In, A, X]

    Definition Classes
    Rules
  46. def set(s: ⇒ S): rules.Rule[S, S, S, Nothing]

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

    Definition Classes
    Rules
  48. def success[Out, A](out: Out, a: A): rules.Rule[Any, Out, A, Nothing]

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

    Definition Classes
    AnyRef
  50. def toString(): String

    Definition Classes
    AnyRef → Any
  51. val u1: rules.Rule[S, S, Int, Nothing]

  52. val u2: rules.Rule[S, S, Int, Nothing]

  53. val u4: rules.Rule[S, S, Int, Nothing]

  54. def unit[A](a: ⇒ A): rules.Rule[S, S, A, Nothing]

    Definition Classes
    StateRules
  55. def update(f: (S) ⇒ S): rules.Rule[S, S, S, Nothing]

    Definition Classes
    StateRules
  56. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  59. def [B](y: B): (ByteCodeReader, B)

    Implicit information
    This member is added by an implicit conversion from ByteCodeReader to ArrowAssoc[ByteCodeReader] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implict Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from ByteCodeReader to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (byteCodeReader: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from ByteCodeReader to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (byteCodeReader: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: ByteCodeReader

    Implicit information
    This member is added by an implicit conversion from ByteCodeReader to ArrowAssoc[ByteCodeReader] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (byteCodeReader: ArrowAssoc[ByteCodeReader]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: ByteCodeReader

    Implicit information
    This member is added by an implicit conversion from ByteCodeReader to Ensuring[ByteCodeReader] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (byteCodeReader: Ensuring[ByteCodeReader]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from RulesWithState

Inherited from StateRules

Inherited from Rules

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ByteCodeReader to StringAdd

Inherited by implicit conversion any2stringfmt from ByteCodeReader to StringFormat

Inherited by implicit conversion any2ArrowAssoc from ByteCodeReader to ArrowAssoc[ByteCodeReader]

Inherited by implicit conversion any2Ensuring from ByteCodeReader to Ensuring[ByteCodeReader]

Ungrouped