Home About Rice Downloads Documents Others Cooker CookerGX
Documents  >  Class  >  rice
rice class

Description

Represents the language system itself.

Notes

This class is a standard built-in class in the Rice language.

Instance that is created by declaration have been already initialized.

fitter

SignatureDescription
rice()

Get a new instance of rice class with initial value.

getter

SignatureDescription
Fitted

Gets the value that indicates whether this instance was already initialized.

SourceFileName

Gets the absolute path of the source files of the running script.

TypeName

Gets the type name.

Version

Get a string representing the version of the Rice.

setter

This class does not have a setter.

method

SignatureDescription
AddMessage(string,string)

Adds a message that is specified with the message name.

ContainsKey(string)

Gets a value that indicates whether the specified message name is contained in the messsage dictionary.

Embed(string)

Load the plug-in type.

GetMessage(string)

Gets a message that is specified with the message name.

Import(string)

Load the user-defined type.

IsBasic(string)

Gets a value that indicates whether the argument string is basic type name.

IsClass(string)

Gets a value that indicates whether the argument string is user-defined type name.

IsEmbed(string)

Gets a value that indicates whether the argument string is plug-in type name.

IsKeyword(string)

Gets a value that indicates whether the argument string is keyword.

SetFromFile(string)

Overwrite messages by the specified file.

SetMessage(string,string)

Overwrites a message that is specified with the message name.

Copyright © Rice All rights reserved.