Packages

o

parsel.parse

ExpressionParser

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. Protected

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 arguments(tokens: Lexer): (Seq[Expr], Seq[Keyword])
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def atom(tokens: Lexer): Expr
  7. def await_primary(tokens: Lexer): Expr
  8. def bitwise_and(tokens: Lexer): Expr
  9. def bitwise_or(tokens: Lexer): Expr
  10. def bitwise_xor(tokens: Lexer): Expr
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. def comparison(tokens: Lexer): Expr
  13. def conjunction(tokens: Lexer): Expr
  14. val ctx: ExprContext
  15. def dictOrSetOrDictCompOrSetComp(tokens: Lexer): Expr
  16. def dict_body(tokens: Lexer): Expr
  17. def disjunction(tokens: Lexer): Expr
  18. def double_starred_kvpair(tokens: Lexer): (Expr, Expr)
  19. def double_starred_kvpairs(tokens: Lexer): Seq[(Expr, Expr)]
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  22. def expression(tokens: Lexer): Expr
  23. def factor(tokens: Lexer): Expr
  24. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  25. def for_if_clause(tokens: Lexer): Comprehension
  26. def for_if_clauses(tokens: Lexer): Seq[Comprehension]
  27. def genexp(tokens: Lexer): GeneratorExp
  28. def genexpFrom(tokens: Lexer, expr: Expr): GeneratorExp
  29. def genexpOrArgs(tokens: Lexer): Either[(Seq[Expr], Seq[Keyword]), GeneratorExp]
  30. def genexp_inner(tokens: Lexer): GeneratorExp
  31. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  33. def inversion(tokens: Lexer): Expr
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. def lambda_param(tokens: Lexer, allowPosOnly: Boolean = true): Param
  36. def lambda_params(tokens: Lexer): Arguments
  37. def lambdef(tokens: Lexer): Expr
  38. def listOrListComp(tokens: Lexer): Expr
  39. def named_expression(tokens: Lexer): Expr
  40. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  42. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  43. def operator(chars: String, pos: Int): Operator
  44. def parse(input: String): Expr

    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)

    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
  47. def primary(tokens: Lexer): Expr
  48. def shift_expr(tokens: Lexer): Expr
  49. def singleOrTuple(exprs: Seq[Expr]): Expr
  50. def single_target(tokens: Lexer): Expr
  51. def star_atom(tokens: Lexer): Expr
  52. def star_expression(tokens: Lexer): Expr
  53. def star_expression_or_yield(tokens: Lexer): Expr
  54. def star_expressions(tokens: Lexer): Seq[Expr]
  55. def star_named_expression(tokens: Lexer): Expr
  56. def star_target(tokens: Lexer): Expr
    Annotations
    @tailrec()
  57. def star_targets(tokens: Lexer): Seq[Expr]
  58. def star_targets_list_seq(tokens: Lexer, accum: Seq[Expr]): Seq[Expr]
    Annotations
    @tailrec()
  59. def star_targets_tuple_seq(tokens: Lexer, accum: Seq[Expr]): Seq[Expr]
    Annotations
    @tailrec()
  60. def sum(tokens: Lexer): Expr
  61. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  62. def t_primary(tokens: Lexer): Expr
  63. def target_with_star_atom(tokens: Lexer): Expr
  64. def term(tokens: Lexer): Expr
  65. def toString(): String
    Definition Classes
    AnyRef → Any
  66. def tupleOrGroupOrGenExp(tokens: Lexer): Expr
  67. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  68. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  69. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  70. def yield_expr(tokens: Lexer): Expr

Inherited from AnyRef

Inherited from Any

Ungrouped