Arena
1.0
A content management system
|
The specifications for a computer language that will be parsed by a parser. More...
Public Member Functions | |
def | __init__ |
Constructor. | |
def | init |
Initializer. | |
def | __del__ |
Destructor. | |
def | registerOpcodes |
Register opcodes recognized by the language. More... | |
def | typeOf |
Retrieve the type code for the specified character. More... | |
def | meaningOf |
Retrieve the token type code for the specified token string. More... | |
def | isCaseAware |
Return whether or not the language is case-sensitive. More... | |
def | Opcodes |
Retrieve the list of opcodes used by the language. More... | |
def | Rule |
Retrieves the specified rule. | |
def | Rules |
Retrieve the list of syntax rules used by the language. More... | |
Public Member Functions inherited from Library.Base.Classwork.AnObject | |
def | init |
Initialize a new object instance. More... | |
def | __init__ |
Construct and initialize a new instance of AnObject. More... | |
def | __del__ |
Destroy the object instance. More... | |
def | displayName |
Construct a "pretty" display name for the class instance, based on the name of its class. More... | |
def | implements |
Determine whether the class instance is related to the specified class. More... | |
def | toString |
Return a string representation of the class, suitable for output to a console or text-based device. More... | |
def | __str__ |
Return a string representation of the class. More... | |
def | classname |
Return the name of the class from which the instance was created. More... | |
def | name |
Return the name of the class. More... | |
The specifications for a computer language that will be parsed by a parser.
def Library.Parse.Lex.Languages.AComputerLanguage.isCaseAware | ( | Self | ) |
Return whether or not the language is case-sensitive.
def Library.Parse.Lex.Languages.AComputerLanguage.meaningOf | ( | Self, | |
thisToken | |||
) |
Retrieve the token type code for the specified token string.
def Library.Parse.Lex.Languages.AComputerLanguage.Opcodes | ( | Self | ) |
Retrieve the list of opcodes used by the language.
def Library.Parse.Lex.Languages.AComputerLanguage.registerOpcodes | ( | Self, | |
items | |||
) |
Register opcodes recognized by the language.
The parameter values passed are inserted into the opcodes list for the language instance. The number of opcodes successfully registered is returned by the call.
def Library.Parse.Lex.Languages.AComputerLanguage.Rules | ( | Self | ) |
Retrieve the list of syntax rules used by the language.
def Library.Parse.Lex.Languages.AComputerLanguage.typeOf | ( | Self, | |
thisCharacter | |||
) |
Retrieve the type code for the specified character.