lib.CodeDOM

Classes

class lib.CodeDOM.CodeDOMMeta[source]

Inheritance

Inheritance diagram of CodeDOMMeta

Members

parse(mcls)[source]
static GetChoiceParser(choices)[source]
static GetRepeatParser(callback, generator)[source]
mro() → list

return a type’s method resolution order

class lib.CodeDOM.CodeDOMObject[source]

Inheritance

Inheritance diagram of CodeDOMObject

Members

classmethod Parse(string, printChar)[source]
class lib.CodeDOM.Expression[source]

Inheritance

Inheritance diagram of Expression

Members

Parse(string, printChar)
class lib.CodeDOM.UnaryExpression(child)[source]

Inheritance

Inheritance diagram of UnaryExpression

Members

Child
Parse(string, printChar)
class lib.CodeDOM.NotExpression(child)[source]

Inheritance

Inheritance diagram of NotExpression

Members

classmethod GetParser()[source]
Child
Parse(string, printChar)
class lib.CodeDOM.BinaryExpression(leftChild, rightChild)[source]

Inheritance

Inheritance diagram of BinaryExpression

Members

LeftChild
RightChild
classmethod GetParser()[source]
Parse(string, printChar)
class lib.CodeDOM.LogicalExpression(leftChild, rightChild)[source]

Inheritance

Inheritance diagram of LogicalExpression

Members

GetParser()
LeftChild
Parse(string, printChar)
RightChild
class lib.CodeDOM.CompareExpression(leftChild, rightChild)[source]

Inheritance

Inheritance diagram of CompareExpression

Members

GetParser()
LeftChild
Parse(string, printChar)
RightChild
class lib.CodeDOM.EqualExpression(leftChild, rightChild)[source]

Inheritance

Inheritance diagram of EqualExpression

Members

GetParser()
LeftChild
Parse(string, printChar)
RightChild
class lib.CodeDOM.UnequalExpression(leftChild, rightChild)[source]

Inheritance

Inheritance diagram of UnequalExpression

Members

GetParser()
LeftChild
Parse(string, printChar)
RightChild
class lib.CodeDOM.LessThanExpression(leftChild, rightChild)[source]

Inheritance

Inheritance diagram of LessThanExpression

Members

GetParser()
LeftChild
Parse(string, printChar)
RightChild
class lib.CodeDOM.LessThanEqualExpression(leftChild, rightChild)[source]

Inheritance

Inheritance diagram of LessThanEqualExpression

Members

GetParser()
LeftChild
Parse(string, printChar)
RightChild
class lib.CodeDOM.GreaterThanExpression(leftChild, rightChild)[source]

Inheritance

Inheritance diagram of GreaterThanExpression

Members

GetParser()
LeftChild
Parse(string, printChar)
RightChild
class lib.CodeDOM.GreaterThanEqualExpression(leftChild, rightChild)[source]

Inheritance

Inheritance diagram of GreaterThanEqualExpression

Members

GetParser()
LeftChild
Parse(string, printChar)
RightChild
class lib.CodeDOM.AndExpression(leftChild, rightChild)[source]

Inheritance

Inheritance diagram of AndExpression

Members

GetParser()
LeftChild
Parse(string, printChar)
RightChild
class lib.CodeDOM.OrExpression(leftChild, rightChild)[source]

Inheritance

Inheritance diagram of OrExpression

Members

GetParser()
LeftChild
Parse(string, printChar)
RightChild
class lib.CodeDOM.XorExpression(leftChild, rightChild)[source]

Inheritance

Inheritance diagram of XorExpression

Members

GetParser()
LeftChild
Parse(string, printChar)
RightChild
class lib.CodeDOM.InExpression(leftChild, rightChild)[source]

Inheritance

Inheritance diagram of InExpression

Members

GetParser()
LeftChild
Parse(string, printChar)
RightChild
class lib.CodeDOM.NotInExpression(leftChild, rightChild)[source]

Inheritance

Inheritance diagram of NotInExpression

Members

GetParser()
LeftChild
Parse(string, printChar)
RightChild
class lib.CodeDOM.Function[source]

Inheritance

Inheritance diagram of Function

Members

Parse(string, printChar)
class lib.CodeDOM.ListElement[source]

Inheritance

Inheritance diagram of ListElement

Members

classmethod GetParser()[source]
Parse(string, printChar)
class lib.CodeDOM.Literal[source]

Inheritance

Inheritance diagram of Literal

Members

Parse(string, printChar)
class lib.CodeDOM.StringLiteral(value)[source]

Inheritance

Inheritance diagram of StringLiteral

Members

Value
classmethod GetParser()[source]
Parse(string, printChar)
class lib.CodeDOM.IntegerLiteral(value)[source]

Inheritance

Inheritance diagram of IntegerLiteral

Members

Value
classmethod GetParser()[source]
Parse(string, printChar)
class lib.CodeDOM.Identifier(name)[source]

Inheritance

Inheritance diagram of Identifier

Members

Name
classmethod GetParser()[source]
Parse(string, printChar)
class lib.CodeDOM.Statement(commentText='')[source]

Inheritance

Inheritance diagram of Statement

Members

CommentText
Parse(string, printChar)
class lib.CodeDOM.BlockStatement(commentText='')[source]

Inheritance

Inheritance diagram of BlockStatement

Members

AddStatement(stmt)[source]
Statements
CommentText
Parse(string, printChar)
class lib.CodeDOM.ConditionalBlockStatement(expression, commentText='')[source]

Inheritance

Inheritance diagram of ConditionalBlockStatement

Members

Expression
AddStatement(stmt)
CommentText
Parse(string, printChar)
Statements
class lib.CodeDOM.EmptyLine[source]

Inheritance

Inheritance diagram of EmptyLine

Members

classmethod GetParser()[source]
Parse(string, printChar)
class lib.CodeDOM.CommentLine(commentText)[source]

Inheritance

Inheritance diagram of CommentLine

Members

Text
classmethod GetParser()[source]
Parse(string, printChar)
class lib.CodeDOM.BlockedStatement[source]

Inheritance

Inheritance diagram of BlockedStatement

Members

_allowedStatements = []
classmethod AddChoice(value)[source]
classmethod GetParser()[source]
Parse(string, printChar)
class lib.CodeDOM.ExpressionChoice[source]

Inheritance

Inheritance diagram of ExpressionChoice

Members

_allowedExpressions = []
classmethod AddChoice(value)[source]
classmethod GetParser()[source]
Parse(string, printChar)