object ExpressionParser
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ExpressionParser
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def arguments(tokens: Lexer): (Seq[Expr], Seq[Keyword])
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def atom(tokens: Lexer): Expr
- def await_primary(tokens: Lexer): Expr
- def bitwise_and(tokens: Lexer): Expr
- def bitwise_or(tokens: Lexer): Expr
- def bitwise_xor(tokens: Lexer): Expr
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def comparison(tokens: Lexer): Expr
- def conjunction(tokens: Lexer): Expr
- val ctx: ExprContext
- def dictOrSetOrDictCompOrSetComp(tokens: Lexer): Expr
- def dict_body(tokens: Lexer): Expr
- def disjunction(tokens: Lexer): Expr
- def double_starred_kvpair(tokens: Lexer): (Expr, Expr)
- def double_starred_kvpairs(tokens: Lexer): Seq[(Expr, Expr)]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def expression(tokens: Lexer): Expr
- def factor(tokens: Lexer): Expr
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def for_if_clause(tokens: Lexer): Comprehension
- def for_if_clauses(tokens: Lexer): Seq[Comprehension]
- def genexp(tokens: Lexer): GeneratorExp
- def genexpFrom(tokens: Lexer, expr: Expr): GeneratorExp
- def genexpOrArgs(tokens: Lexer): Either[(Seq[Expr], Seq[Keyword]), GeneratorExp]
- def genexp_inner(tokens: Lexer): GeneratorExp
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def inversion(tokens: Lexer): Expr
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lambda_param(tokens: Lexer, allowPosOnly: Boolean = true): Param
- def lambda_params(tokens: Lexer): Arguments
- def lambdef(tokens: Lexer): Expr
- def listOrListComp(tokens: Lexer): Expr
- def named_expression(tokens: Lexer): Expr
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def operator(chars: String, pos: Int): Operator
-
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
-
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
- def power(tokens: Lexer): Expr
- def primary(tokens: Lexer): Expr
- def shift_expr(tokens: Lexer): Expr
- def singleOrTuple(exprs: Seq[Expr]): Expr
- def single_target(tokens: Lexer): Expr
- def star_atom(tokens: Lexer): Expr
- def star_expression(tokens: Lexer): Expr
- def star_expression_or_yield(tokens: Lexer): Expr
- def star_expressions(tokens: Lexer): Seq[Expr]
- def star_named_expression(tokens: Lexer): Expr
-
def
star_target(tokens: Lexer): Expr
- Annotations
- @tailrec()
- def star_targets(tokens: Lexer): Seq[Expr]
-
def
star_targets_list_seq(tokens: Lexer, accum: Seq[Expr]): Seq[Expr]
- Annotations
- @tailrec()
-
def
star_targets_tuple_seq(tokens: Lexer, accum: Seq[Expr]): Seq[Expr]
- Annotations
- @tailrec()
- def sum(tokens: Lexer): Expr
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def t_primary(tokens: Lexer): Expr
- def target_with_star_atom(tokens: Lexer): Expr
- def term(tokens: Lexer): Expr
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def tupleOrGroupOrGenExp(tokens: Lexer): Expr
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def yield_expr(tokens: Lexer): Expr