Object

pythonparse

Expressions

Related Doc: package pythonparse

Permalink

object Expressions

Python's expression grammar. This is stuff that can be used within a larger expression. Everything here ignores whitespace and does not care about indentation

Manually transcribed from https://docs.python.org/2/reference/grammar.html

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Expressions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 Add[$](implicit arg0: P[$]): P[Ast.operator.Add.type]

    Permalink
  5. def BitAnd[$](implicit arg0: P[$]): P[Ast.operator.BitAnd.type]

    Permalink
  6. def BitOr[$](implicit arg0: P[$]): P[Ast.operator.BitOr.type]

    Permalink
  7. def BitXor[$](implicit arg0: P[$]): P[Ast.operator.BitXor.type]

    Permalink
  8. def Chain[$](p: ⇒ P[expr], op: ⇒ P[operator])(implicit arg0: P[$]): P[expr]

    Permalink
  9. def Div[$](implicit arg0: P[$]): P[Ast.operator.Div.type]

    Permalink
  10. def Eq[$](implicit arg0: P[$]): P[Ast.cmpop.Eq.type]

    Permalink
  11. def FloorDiv[$](implicit arg0: P[$]): P[Ast.operator.FloorDiv.type]

    Permalink
  12. def Gt[$](implicit arg0: P[$]): P[Ast.cmpop.Gt.type]

    Permalink
  13. def GtE[$](implicit arg0: P[$]): P[Ast.cmpop.GtE.type]

    Permalink
  14. def In[$](implicit arg0: P[$]): P[Ast.cmpop.In.type]

    Permalink
  15. def Invert[$](implicit arg0: P[$]): P[Ast.unaryop.Invert.type]

    Permalink
  16. def Is[$](implicit arg0: P[$]): P[Ast.cmpop.Is.type]

    Permalink
  17. def IsNot[$](implicit arg0: P[$]): P[Ast.cmpop.IsNot.type]

    Permalink
  18. def LShift[$](implicit arg0: P[$]): P[Ast.operator.LShift.type]

    Permalink
  19. def Lt[$](implicit arg0: P[$]): P[Ast.cmpop.Lt.type]

    Permalink
  20. def LtE[$](implicit arg0: P[$]): P[Ast.cmpop.LtE.type]

    Permalink
  21. def Mod[$](implicit arg0: P[$]): P[Ast.operator.Mod.type]

    Permalink
  22. def Mult[$](implicit arg0: P[$]): P[Ast.operator.Mult.type]

    Permalink
  23. def NAME[$](implicit arg0: P[$]): P[identifier]

    Permalink
  24. def NUMBER[$](implicit arg0: P[$]): P[Num]

    Permalink
  25. def NotEq[$](implicit arg0: P[$]): P[Ast.cmpop.NotEq.type]

    Permalink
  26. def NotIn[$](implicit arg0: P[$]): P[Ast.cmpop.NotIn.type]

    Permalink
  27. def Pow[$](implicit arg0: P[$]): P[Ast.operator.Pow.type]

    Permalink
  28. def RShift[$](implicit arg0: P[$]): P[Ast.operator.RShift.type]

    Permalink
  29. def STRING[$](implicit arg0: P[$]): P[string]

    Permalink
  30. def Sub[$](implicit arg0: P[$]): P[Ast.operator.Sub.type]

    Permalink
  31. def UAdd[$](implicit arg0: P[$]): P[Ast.unaryop.UAdd.type]

    Permalink
  32. def USub[$](implicit arg0: P[$]): P[Ast.unaryop.USub.type]

    Permalink
  33. def Unary[$](p: ⇒ P[expr])(implicit arg0: P[$]): P[UnaryOp]

    Permalink
  34. def and_expr[$](implicit arg0: P[$]): P[expr]

    Permalink
  35. def and_test[$](implicit arg0: P[$]): P[expr]

    Permalink
  36. def arglist[$](implicit arg0: P[$]): P[(Seq[expr], (Seq[keyword], Option[expr], Option[expr]))]

    Permalink
  37. def arith_expr[$](implicit arg0: P[$]): P[expr]

    Permalink
  38. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  39. def atom[$](implicit arg0: P[$]): P[expr]

    Permalink
  40. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def comp_for[$](implicit arg0: P[$]): P[comprehension]

    Permalink
  42. def comp_if[$](implicit arg0: P[$]): P[expr]

    Permalink
  43. def comp_op[$](implicit arg0: P[$]): P[Product with Serializable with cmpop]

    Permalink
  44. def comparison[$](implicit arg0: P[$]): P[expr]

    Permalink
  45. def dictorsetmaker[$](implicit arg0: P[$]): P[expr]

    Permalink
  46. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  48. def expr[$](implicit arg0: P[$]): P[expr]

    Permalink
  49. def exprlist[$](implicit arg0: P[$]): P[Seq[expr]]

    Permalink
  50. def factor[$](implicit arg0: P[$]): P[expr]

    Permalink
  51. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  52. def fpdef[$](implicit arg0: P[$]): P[expr]

    Permalink
  53. def fplist[$](implicit arg0: P[$]): P[expr]

    Permalink
  54. def generator[$](implicit arg0: P[$]): P[GeneratorExp]

    Permalink
  55. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  57. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  58. def lambdef[$](implicit arg0: P[$]): P[Lambda]

    Permalink
  59. def list[$](implicit arg0: P[$]): P[List]

    Permalink
  60. def list_comp[$](implicit arg0: P[$]): P[ListComp]

    Permalink
  61. def list_comp_contents[$](implicit arg0: P[$]): P[(expr, Seq[comprehension])]

    Permalink
  62. def list_contents[$](implicit arg0: P[$]): P[Seq[expr]]

    Permalink
  63. def named_argument[$](implicit arg0: P[$]): P[keyword]

    Permalink
  64. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  65. def not_test[$](implicit arg0: P[$]): P[expr]

    Permalink
  66. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  68. def op[T, $](s: ⇒ P[Unit], rhs: T)(implicit arg0: P[$]): P[T]

    Permalink
  69. def or_test[$](implicit arg0: P[$]): P[expr]

    Permalink
  70. def plain_argument[$](implicit arg0: P[$]): P[expr]

    Permalink
  71. def power[$](implicit arg0: P[$]): P[expr]

    Permalink
  72. def shift_expr[$](implicit arg0: P[$]): P[expr]

    Permalink
  73. def sliceop[$](implicit arg0: P[$]): P[Option[expr]]

    Permalink
  74. def subscript[$](implicit arg0: P[$]): P[slice]

    Permalink
  75. def subscriptlist[$](implicit arg0: P[$]): P[slice]

    Permalink
  76. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  77. def term[$](implicit arg0: P[$]): P[expr]

    Permalink
  78. def test[$](implicit arg0: P[$]): P[expr]

    Permalink
  79. def testlist[$](implicit arg0: P[$]): P[Seq[expr]]

    Permalink
  80. def testlist1[$](implicit arg0: P[$]): P[Seq[expr]]

    Permalink
  81. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  82. def trailer[$](implicit arg0: P[$]): P[(expr) ⇒ expr]

    Permalink
  83. def tuple[$](implicit arg0: P[$]): P[Tuple]

    Permalink
  84. def tuple_contents[$](implicit arg0: P[$]): P[Seq[expr]]

    Permalink
  85. def tuplize(xs: Seq[expr]): expr

    Permalink
  86. def unary_op[$](implicit arg0: P[$]): P[Product with Serializable with unaryop]

    Permalink
  87. def varargslist[$](implicit arg0: P[$]): P[arguments]

    Permalink
  88. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  91. implicit object whitespace extends Whitespace

    Permalink
  92. def xor_expr[$](implicit arg0: P[$]): P[expr]

    Permalink
  93. def yield_expr[$](implicit arg0: P[$]): P[Yield]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped