Packages

o

pythonparse

Expressions

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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def Add[_](implicit arg0: P[Any]): P[Ast.operator.Add.type]
  5. def BitAnd[_](implicit arg0: P[Any]): P[Ast.operator.BitAnd.type]
  6. def BitOr[_](implicit arg0: P[Any]): P[Ast.operator.BitOr.type]
  7. def BitXor[_](implicit arg0: P[Any]): P[Ast.operator.BitXor.type]
  8. def Chain[_](p: => P[expr], op: => P[operator])(implicit arg0: P[Any]): P[expr]
  9. def Div[_](implicit arg0: P[Any]): P[Ast.operator.Div.type]
  10. def Eq[_](implicit arg0: P[Any]): P[Ast.cmpop.Eq.type]
  11. def FloorDiv[_](implicit arg0: P[Any]): P[Ast.operator.FloorDiv.type]
  12. def Gt[_](implicit arg0: P[Any]): P[Ast.cmpop.Gt.type]
  13. def GtE[_](implicit arg0: P[Any]): P[Ast.cmpop.GtE.type]
  14. def In[_](implicit arg0: P[Any]): P[Ast.cmpop.In.type]
  15. def Invert[_](implicit arg0: P[Any]): P[Ast.unaryop.Invert.type]
  16. def Is[_](implicit arg0: P[Any]): P[Ast.cmpop.Is.type]
  17. def IsNot[_](implicit arg0: P[Any]): P[Ast.cmpop.IsNot.type]
  18. def LShift[_](implicit arg0: P[Any]): P[Ast.operator.LShift.type]
  19. def Lt[_](implicit arg0: P[Any]): P[Ast.cmpop.Lt.type]
  20. def LtE[_](implicit arg0: P[Any]): P[Ast.cmpop.LtE.type]
  21. def Mod[_](implicit arg0: P[Any]): P[Ast.operator.Mod.type]
  22. def Mult[_](implicit arg0: P[Any]): P[Ast.operator.Mult.type]
  23. def NAME[_](implicit arg0: P[Any]): P[identifier]
  24. def NUMBER[_](implicit arg0: P[Any]): P[Num]
  25. def NotEq[_](implicit arg0: P[Any]): P[Ast.cmpop.NotEq.type]
  26. def NotIn[_](implicit arg0: P[Any]): P[Ast.cmpop.NotIn.type]
  27. def Pow[_](implicit arg0: P[Any]): P[Ast.operator.Pow.type]
  28. def RShift[_](implicit arg0: P[Any]): P[Ast.operator.RShift.type]
  29. def STRING[_](implicit arg0: P[Any]): P[string]
  30. def Sub[_](implicit arg0: P[Any]): P[Ast.operator.Sub.type]
  31. def UAdd[_](implicit arg0: P[Any]): P[Ast.unaryop.UAdd.type]
  32. def USub[_](implicit arg0: P[Any]): P[Ast.unaryop.USub.type]
  33. def Unary[_](p: => P[expr])(implicit arg0: P[Any]): P[UnaryOp]
  34. def and_expr[_](implicit arg0: P[Any]): P[expr]
  35. def and_test[_](implicit arg0: P[Any]): P[expr]
  36. def arglist[_](implicit arg0: P[Any]): P[(Seq[expr], (Seq[keyword], Option[expr], Option[expr]))]
  37. def arith_expr[_](implicit arg0: P[Any]): P[expr]
  38. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  39. def atom[_](implicit arg0: P[Any]): P[expr]
  40. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  41. def comp_for[_](implicit arg0: P[Any]): P[comprehension]
  42. def comp_if[_](implicit arg0: P[Any]): P[expr]
  43. def comp_op[_](implicit arg0: P[Any]): P[Product with cmpop with Serializable]
  44. def comparison[_](implicit arg0: P[Any]): P[expr]
  45. def dictorsetmaker[_](implicit arg0: P[Any]): P[expr]
  46. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  47. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  48. def expr[_](implicit arg0: P[Any]): P[expr]
  49. def exprlist[_](implicit arg0: P[Any]): P[Seq[expr]]
  50. def factor[_](implicit arg0: P[Any]): P[expr]
  51. def fpdef[_](implicit arg0: P[Any]): P[expr]
  52. def fplist[_](implicit arg0: P[Any]): P[expr]
  53. def generator[_](implicit arg0: P[Any]): P[GeneratorExp]
  54. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  55. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  56. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  57. def lambdef[_](implicit arg0: P[Any]): P[Lambda]
  58. def list[_](implicit arg0: P[Any]): P[List]
  59. def list_comp[_](implicit arg0: P[Any]): P[ListComp]
  60. def list_comp_contents[_](implicit arg0: P[Any]): P[(expr, Seq[comprehension])]
  61. def list_contents[_](implicit arg0: P[Any]): P[Seq[expr]]
  62. def named_argument[_](implicit arg0: P[Any]): P[keyword]
  63. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  64. def not_test[_](implicit arg0: P[Any]): P[expr]
  65. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  66. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  67. def op[T, _](s: => P[Unit], rhs: T)(implicit arg0: P[Any]): P[T]
  68. def or_test[_](implicit arg0: P[Any]): P[expr]
  69. def plain_argument[_](implicit arg0: P[Any]): P[expr]
  70. def power[_](implicit arg0: P[Any]): P[expr]
  71. def shift_expr[_](implicit arg0: P[Any]): P[expr]
  72. def sliceop[_](implicit arg0: P[Any]): P[Option[expr]]
  73. def subscript[_](implicit arg0: P[Any]): P[slice]
  74. def subscriptlist[_](implicit arg0: P[Any]): P[slice]
  75. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  76. def term[_](implicit arg0: P[Any]): P[expr]
  77. def test[_](implicit arg0: P[Any]): P[expr]
  78. def testlist[_](implicit arg0: P[Any]): P[Seq[expr]]
  79. def testlist1[_](implicit arg0: P[Any]): P[Seq[expr]]
  80. def toString(): String
    Definition Classes
    AnyRef → Any
  81. def trailer[_](implicit arg0: P[Any]): P[(expr) => expr]
  82. def tuple[_](implicit arg0: P[Any]): P[Tuple]
  83. def tuple_contents[_](implicit arg0: P[Any]): P[Seq[expr]]
  84. def tuplize(xs: Seq[expr]): expr
  85. def unary_op[_](implicit arg0: P[Any]): P[Product with unaryop with Serializable]
  86. def varargslist[_](implicit arg0: P[Any]): P[arguments]
  87. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  88. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  89. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  90. implicit def whitespace(cfg: P[_]): P[Unit]
  91. def xor_expr[_](implicit arg0: P[Any]): P[expr]
  92. def yield_expr[_](implicit arg0: P[Any]): P[Yield]

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped