Ast

pythonparse.Ast
object Ast

A python abstract syntax tree

Basically transcribed from https://docs.python.org/2/library/ast.html

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Ast.type

Members list

Type members

Classlikes

case class alias(name: identifier, asname: Option[identifier])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class arguments(args: Seq[expr], vararg: Option[identifier], kwarg: Option[identifier], defaults: Seq[expr])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class attributes(lineno: Int, col_offset: Int)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object boolop

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
boolop.type
sealed trait boolop

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object And
object Or
object cmpop

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
cmpop.type
sealed trait cmpop

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Eq
object Gt
object GtE
object In
object Is
object IsNot
object Lt
object LtE
object NotEq
object NotIn
Show all
case class comprehension(target: expr, iter: expr, ifs: Seq[expr])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object excepthandler

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait excepthandler

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object expr

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
expr.type
sealed trait expr

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Attribute
class BinOp
class BoolOp
class Call
class Compare
class Dict
class DictComp
class GeneratorExp
class IfExp
class Lambda
class List
class ListComp
class Name
class Num
class Repr
class Set
class SetComp
class Str
class Subscript
class Tuple
class UnaryOp
class Yield
Show all
object expr_context

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait expr_context

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AugLoad
object AugStore
object Del
object Load
object Param
object Store
Show all
case class identifier(name: String)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class keyword(arg: identifier, value: expr)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object mod

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
mod.type
sealed trait mod

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Expression
class Interactive
class Module
case object operator

Attributes

Companion
trait
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
operator.type
sealed trait operator

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Add
object BitAnd
object BitOr
object BitXor
object Div
object FloorDiv
object LShift
object Mod
object Mult
object Pow
object RShift
object Sub
Show all
object slice

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
slice.type
sealed trait slice

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Ellipsis
class ExtSlice
class Index
class Slice
object stmt

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
stmt.type
sealed trait stmt

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Assert
class Assign
class AugAssign
object Break
class ClassDef
object Continue
class Delete
class Exec
class Expr
class For
class FunctionDef
class Global
class If
class Import
class ImportFrom
object Pass
class Print
class Raise
class Return
class TryExcept
class TryFinally
class While
class With
Show all
object unaryop

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
unaryop.type
sealed trait unaryop

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Invert
object Not
object UAdd
object USub

Types

type `object` = Double
type bool = Boolean
type int = Int
type string = String