pythonparse

package pythonparse

Members list

Type members

Classlikes

object Ast

A python abstract syntax tree

A python abstract syntax tree

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Ast.type
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

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object Lexical

Python's lexical grammar; how basic tokens get parsed. This stuff is sensitive to whitespace, which can only appear where it's explicitly stated to be part of the grammar.

Python's lexical grammar; how basic tokens get parsed. This stuff is sensitive to whitespace, which can only appear where it's explicitly stated to be part of the grammar.

Manually transcribed from https://docs.python.org/2/reference/lexical_analysis.html

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Lexical.type
object Statements extends Statements

Attributes

Companion
class
Supertypes
class Statements
class Object
trait Matchable
class Any
Self type
Statements.type
class Statements(indent: Int)

Python's statement grammar. This can only be used in statement-blocks, and is sensitive to newlines and indentation to determine nesting

Python's statement grammar. This can only be used in statement-blocks, and is sensitive to newlines and indentation to determine nesting

Manually transcribed from https://docs.python.org/2/reference/grammar.html

Attributes

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