Object

parsel.parse

ExpressionParser

Related Doc: package parse

Permalink

object ExpressionParser

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExpressionParser
  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 arguments(tokens: Lexer): (Seq[Expr], Seq[Keyword])

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def atom(tokens: Lexer): Expr

    Permalink
  7. def await_primary(tokens: Lexer): Expr

    Permalink
  8. def bitwise_and(tokens: Lexer): Expr

    Permalink
  9. def bitwise_or(tokens: Lexer): Expr

    Permalink
  10. def bitwise_xor(tokens: Lexer): Expr

    Permalink
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def comparison(tokens: Lexer): Expr

    Permalink
  13. def conjunction(tokens: Lexer): Expr

    Permalink
  14. val ctx: ExprContext

    Permalink
  15. def dictOrSetOrDictCompOrSetComp(tokens: Lexer): Expr

    Permalink
  16. def dict_body(tokens: Lexer): Expr

    Permalink
  17. def disjunction(tokens: Lexer): Expr

    Permalink
  18. def double_starred_kvpair(tokens: Lexer): (Expr, Expr)

    Permalink
  19. def double_starred_kvpairs(tokens: Lexer): Seq[(Expr, Expr)]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. def expression(tokens: Lexer): Expr

    Permalink
  23. def factor(tokens: Lexer): Expr

    Permalink
  24. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def for_if_clause(tokens: Lexer): Comprehension

    Permalink
  26. def for_if_clauses(tokens: Lexer): Seq[Comprehension]

    Permalink
  27. def genexp(tokens: Lexer): GeneratorExp

    Permalink
  28. def genexpFrom(tokens: Lexer, expr: Expr): GeneratorExp

    Permalink
  29. def genexpOrArgs(tokens: Lexer): Either[(Seq[Expr], Seq[Keyword]), GeneratorExp]

    Permalink
  30. def genexp_inner(tokens: Lexer): GeneratorExp

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  33. def inversion(tokens: Lexer): Expr

    Permalink
  34. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  35. def lambda_param(tokens: Lexer, allowPosOnly: Boolean = true): Param

    Permalink
  36. def lambda_params(tokens: Lexer): Arguments

    Permalink
  37. def lambdef(tokens: Lexer): Expr

    Permalink
  38. def listOrListComp(tokens: Lexer): Expr

    Permalink
  39. def named_expression(tokens: Lexer): Expr

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

    Permalink
    Definition Classes
    AnyRef
  41. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  43. def operator(chars: String, pos: Int): Operator

    Permalink
  44. def parse(input: String): Expr

    Permalink

    Parse a Python expression from the given input string

    Parse a Python expression from the given input string

    Exceptions thrown

    ParseError if the input does not begin with a valid Python expression, or if there is leftover input after parsing an expression

  45. def parseS(input: String): (Expr, String)

    Permalink

    Parse a Python expression from the given input string, and return the parsed expression along with the remaining input

    Parse a Python expression from the given input string, and return the parsed expression along with the remaining input

    returns

    a tuple of the parsed expression, along with the remaining input after parsing an expression (which may be empty)

    Exceptions thrown

    ParseError if the input does not begin with a valid Python expression

  46. def power(tokens: Lexer): Expr

    Permalink
  47. def primary(tokens: Lexer): Expr

    Permalink
  48. def shift_expr(tokens: Lexer): Expr

    Permalink
  49. def singleOrTuple(exprs: Seq[Expr]): Expr

    Permalink
  50. def single_target(tokens: Lexer): Expr

    Permalink
  51. def star_atom(tokens: Lexer): Expr

    Permalink
  52. def star_expression(tokens: Lexer): Expr

    Permalink
  53. def star_expression_or_yield(tokens: Lexer): Expr

    Permalink
  54. def star_expressions(tokens: Lexer): Seq[Expr]

    Permalink
  55. def star_named_expression(tokens: Lexer): Expr

    Permalink
  56. def star_target(tokens: Lexer): Expr

    Permalink
    Annotations
    @tailrec()
  57. def star_targets(tokens: Lexer): Seq[Expr]

    Permalink
  58. def star_targets_list_seq(tokens: Lexer, accum: Seq[Expr]): Seq[Expr]

    Permalink
    Annotations
    @tailrec()
  59. def star_targets_tuple_seq(tokens: Lexer, accum: Seq[Expr]): Seq[Expr]

    Permalink
    Annotations
    @tailrec()
  60. def sum(tokens: Lexer): Expr

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

    Permalink
    Definition Classes
    AnyRef
  62. def t_primary(tokens: Lexer): Expr

    Permalink
  63. def target_with_star_atom(tokens: Lexer): Expr

    Permalink
  64. def term(tokens: Lexer): Expr

    Permalink
  65. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  66. def tupleOrGroupOrGenExp(tokens: Lexer): Expr

    Permalink
  67. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  70. def yield_expr(tokens: Lexer): Expr

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped