C# Class Prolog.ISOPrologReader

Exibir arquivo Open project: ianhorswill/UnityProlog Class Usage Examples

Public Properties

Property Type Description
Variables List

Private Properties

Property Type Description
ADDTOKENCHAR void
CHAR_CONVERSION void
CaptureStack string
ISOPrologReader System
InitOperators void
InitTokenizer void
Operator bool
RESETTOKEN void
ResolveNamedString object
ResolveNamedValue object
SKIPCHAR char
Specifier int
binary_constant int
bracketed_comment bool
carriage_return_char bool
char_code_list_token bool
char_conversion bool
close_curly_token bool
close_list_token bool
close_token bool
comma_token bool
cut_token bool
end_token bool
extra_capital_letter_char bool
extra_graphic_char bool
extra_layout_char bool
extra_small_letter_char bool
extra_solo_char bool
formfeed_char bool
get_back_quoted_char bool
get_back_quoted_item bool
get_back_quoted_string bool
get_control_escape_sequence bool
get_double_quoted_char bool
get_double_quoted_item bool
get_hexadecimal_escape_sequence bool
get_meta_escape_sequence bool
get_name_token bool
get_non_quote_char bool
get_octal_escape_sequence bool
get_single_quoted_char bool
get_single_quoted_item bool
head_tail_separator_token bool
hexadecimal_constant int
initvars void
is_latin1_lower bool
is_latin1_upper bool
isdelimiter bool
islterm bool
isop bool
isterm bool
lookahead_char2 char
number_token int
octal_constant int
open_curly_token bool
open_list_token bool
open_token bool
prefixbits int
puts void
reduce void
reducebrackets bool
reducecurly bool
reducelist bool
reduceterm bool
releasestack void
returnchar void
semicolon_token bool
separator2atom System.Object
separator_token bool
shift void
shift_char_code_list void
shifttoken void
showspecifier void
showstack void
showstackelement void
single_line_comment void
tab_char bool
token int
variable_token int
vertab_char bool

Public Methods

Method Description
ALPHA_NUMERIC_CHAR ( char X ) : bool
Close ( ) : void
DeclareOperator ( int pri, int spec, string op ) : bool
DeclareOperator ( int pri, Symbol type, Symbol op ) : void
GRAPHIC_CHAR ( char X ) : bool
GRAPHIC_TOKEN_CHAR ( char X ) : bool
HEXADECIMAL_DIGIT_CHAR ( char X ) : bool
ISOPrologReader ( TextReader input ) : System
ISOPrologReader ( TextReader input, List vars ) : System
ISOPrologReader ( string input ) : System
ISOPrologReader ( string input, List vars ) : System
LAYOUT_CHAR ( char X ) : bool
PROLOGCHAR ( char X ) : bool
Read ( string s ) : object

Reads a term from a string.

ReadAndGetFreeVariables ( string exp, List variables ) : Object
ReadTerm ( ) : object
ReadTermWithExistingVars ( ) : Object
ReadTerms ( ) : List
ReadTerms ( TextReader inStream ) : List
SOLO_CHAR ( char X ) : bool
SYMBOLIC_CONTROL_CHAR ( char X ) : bool
SkipLayout ( ) : bool

Skip over whitespace and comments.

SyntaxError ( string message ) : void
alpha_char ( char X ) : bool
alpha_numeric_char ( char X ) : bool
back_quote_char ( char X ) : bool
backslash_char ( char X ) : bool
binary_digit_char ( char X ) : bool
capital_letter_char ( char X ) : bool
close_char ( char X ) : bool
close_curly_char ( char X ) : bool
close_list_char ( char X ) : bool
comma_char ( char X ) : bool
comment_1_char ( char X ) : bool
comment_2_char ( char X ) : bool
cut_char ( char X ) : bool
decimal_digit_char ( char X ) : bool
decimal_point_char ( char X ) : bool
double_quote_char ( char X ) : bool
end_char ( char X ) : bool
end_line_comment_char ( char X ) : bool
exponent_char ( char X ) : bool
graphic_char ( char X ) : bool
graphic_token_char ( char X ) : bool
head_tail_separator_char ( char X ) : bool
hexadecimal_digit_char ( char X ) : bool
isfx ( int X ) : bool
isfy ( int X ) : bool
isinfix ( int X ) : bool
ispostfix ( int X ) : bool
isprefix ( int X ) : bool
isxf ( int X ) : bool
isxfx ( int X ) : bool
isxfy ( int X ) : bool
isyf ( int X ) : bool
isyfx ( int X ) : bool
layout_char ( char X ) : bool
letter_char ( char X ) : bool
meta_char ( char X ) : bool
negative_sign_char ( char X ) : bool
new_line_char ( char X ) : bool
octal_digit_char ( char X ) : bool
open_char ( char X ) : bool
open_curly_char ( char X ) : bool
open_list_char ( char X ) : bool
positive_sign_char ( char X ) : bool
prologchar ( char X ) : bool
semicolon_char ( char X ) : bool
showerror ( ) : void
sign_char ( char X ) : bool
single_quote_char ( char X ) : bool
small_letter_char ( char X ) : bool
solo_char ( char X ) : bool
space_char ( char X ) : bool
symbolic_alert_char ( char X ) : bool
symbolic_backspace_char ( char X ) : bool
symbolic_carriage_return_char ( char X ) : bool
symbolic_control_char ( char X ) : bool
symbolic_form_feed_char ( char X ) : bool
symbolic_hexadecimal_char ( char X ) : bool
symbolic_horizontal_tab_char ( char X ) : bool
symbolic_new_line_char ( char X ) : bool
symbolic_vertical_tab_char ( char X ) : bool
underscore_char ( char X ) : bool
variable_indicator_char ( char X ) : bool

Private Methods

Method Description
ADDTOKENCHAR ( char c ) : void
CHAR_CONVERSION ( ) : void
CaptureStack ( ) : string
ISOPrologReader ( ) : System
InitOperators ( ) : void
InitTokenizer ( ) : void
Operator ( string op, int &prepri, int &inpri, int &postpri, int &spec ) : bool
RESETTOKEN ( ) : void
ResolveNamedString ( string name ) : object
ResolveNamedValue ( Symbol nameSymbol ) : object
SKIPCHAR ( ) : char
Specifier ( string specifierName ) : int
binary_constant ( ) : int
bracketed_comment ( ) : bool
carriage_return_char ( char X ) : bool
char_code_list_token ( ) : bool
char_conversion ( char c1, char c2 ) : bool
close_curly_token ( char X ) : bool
close_list_token ( char X ) : bool
close_token ( char X ) : bool
comma_token ( char X ) : bool
cut_token ( char X ) : bool
end_token ( char X ) : bool
extra_capital_letter_char ( char X ) : bool
extra_graphic_char ( char X ) : bool
extra_layout_char ( char X ) : bool
extra_small_letter_char ( char X ) : bool
extra_solo_char ( char X ) : bool
formfeed_char ( char X ) : bool
get_back_quoted_char ( ) : bool
get_back_quoted_item ( ) : bool
get_back_quoted_string ( ) : bool
get_control_escape_sequence ( ) : bool
get_double_quoted_char ( ) : bool
get_double_quoted_item ( ) : bool
get_hexadecimal_escape_sequence ( ) : bool
get_meta_escape_sequence ( ) : bool
get_name_token ( ) : bool
get_non_quote_char ( ) : bool
get_octal_escape_sequence ( ) : bool
get_single_quoted_char ( ) : bool
get_single_quoted_item ( ) : bool
head_tail_separator_token ( char X ) : bool
hexadecimal_constant ( ) : int
initvars ( ) : void
is_latin1_lower ( char X ) : bool
is_latin1_upper ( char X ) : bool
isdelimiter ( int X ) : bool
islterm ( int X ) : bool
isop ( int X ) : bool
isterm ( int X ) : bool
lookahead_char2 ( ) : char
number_token ( ) : int
octal_constant ( ) : int
open_curly_token ( char X ) : bool
open_list_token ( char X ) : bool
open_token ( char X ) : bool
prefixbits ( int X ) : int
puts ( string s ) : void
reduce ( int newpri ) : void
reducebrackets ( ) : bool
reducecurly ( ) : bool
reducelist ( ) : bool
reduceterm ( ) : bool
releasestack ( ) : void
returnchar ( char c ) : void
semicolon_token ( char X ) : bool
separator2atom ( int tok ) : Object
separator_token ( int X ) : bool
shift ( int tok, Object tterm, int pri, int spec ) : void
shift_char_code_list ( string s ) : void
shifttoken ( int tok ) : void
showspecifier ( int spec ) : void
showstack ( ) : void
showstackelement ( StackFrame sp ) : void
single_line_comment ( ) : void
tab_char ( char X ) : bool
token ( ) : int
variable_token ( ) : int
vertab_char ( char X ) : bool

Method Details

ALPHA_NUMERIC_CHAR() public static method

public static ALPHA_NUMERIC_CHAR ( char X ) : bool
X char
return bool

Close() public method

public Close ( ) : void
return void

DeclareOperator() public static method

public static DeclareOperator ( int pri, int spec, string op ) : bool
pri int
spec int
op string
return bool

DeclareOperator() public static method

public static DeclareOperator ( int pri, Symbol type, Symbol op ) : void
pri int
type Symbol
op Symbol
return void

GRAPHIC_CHAR() public static method

public static GRAPHIC_CHAR ( char X ) : bool
X char
return bool

GRAPHIC_TOKEN_CHAR() public static method

public static GRAPHIC_TOKEN_CHAR ( char X ) : bool
X char
return bool

HEXADECIMAL_DIGIT_CHAR() public static method

public static HEXADECIMAL_DIGIT_CHAR ( char X ) : bool
X char
return bool

ISOPrologReader() public method

public ISOPrologReader ( TextReader input ) : System
input System.IO.TextReader
return System

ISOPrologReader() public method

public ISOPrologReader ( TextReader input, List vars ) : System
input System.IO.TextReader
vars List
return System

ISOPrologReader() public method

public ISOPrologReader ( string input ) : System
input string
return System

ISOPrologReader() public method

public ISOPrologReader ( string input, List vars ) : System
input string
vars List
return System

LAYOUT_CHAR() public static method

public static LAYOUT_CHAR ( char X ) : bool
X char
return bool

PROLOGCHAR() public static method

public static PROLOGCHAR ( char X ) : bool
X char
return bool

Read() public static method

Reads a term from a string.
public static Read ( string s ) : object
s string String to read the term from
return object

ReadAndGetFreeVariables() public static method

public static ReadAndGetFreeVariables ( string exp, List variables ) : Object
exp string
variables List
return System.Object

ReadTerm() public method

public ReadTerm ( ) : object
return object

ReadTermWithExistingVars() public method

public ReadTermWithExistingVars ( ) : Object
return System.Object

ReadTerms() public method

public ReadTerms ( ) : List
return List

ReadTerms() public static method

public static ReadTerms ( TextReader inStream ) : List
inStream System.IO.TextReader
return List

SOLO_CHAR() public static method

public static SOLO_CHAR ( char X ) : bool
X char
return bool

SYMBOLIC_CONTROL_CHAR() public static method

public static SYMBOLIC_CONTROL_CHAR ( char X ) : bool
X char
return bool

SkipLayout() public method

Skip over whitespace and comments.
public SkipLayout ( ) : bool
return bool

SyntaxError() public method

public SyntaxError ( string message ) : void
message string
return void

alpha_char() public static method

public static alpha_char ( char X ) : bool
X char
return bool

alpha_numeric_char() public static method

public static alpha_numeric_char ( char X ) : bool
X char
return bool

back_quote_char() public static method

public static back_quote_char ( char X ) : bool
X char
return bool

backslash_char() public static method

public static backslash_char ( char X ) : bool
X char
return bool

binary_digit_char() public static method

public static binary_digit_char ( char X ) : bool
X char
return bool

capital_letter_char() public static method

public static capital_letter_char ( char X ) : bool
X char
return bool

close_char() public static method

public static close_char ( char X ) : bool
X char
return bool

close_curly_char() public static method

public static close_curly_char ( char X ) : bool
X char
return bool

close_list_char() public static method

public static close_list_char ( char X ) : bool
X char
return bool

comma_char() public static method

public static comma_char ( char X ) : bool
X char
return bool

comment_1_char() public static method

public static comment_1_char ( char X ) : bool
X char
return bool

comment_2_char() public static method

public static comment_2_char ( char X ) : bool
X char
return bool

cut_char() public static method

public static cut_char ( char X ) : bool
X char
return bool

decimal_digit_char() public static method

public static decimal_digit_char ( char X ) : bool
X char
return bool

decimal_point_char() public static method

public static decimal_point_char ( char X ) : bool
X char
return bool

double_quote_char() public static method

public static double_quote_char ( char X ) : bool
X char
return bool

end_char() public static method

public static end_char ( char X ) : bool
X char
return bool

end_line_comment_char() public static method

public static end_line_comment_char ( char X ) : bool
X char
return bool

exponent_char() public static method

public static exponent_char ( char X ) : bool
X char
return bool

graphic_char() public static method

public static graphic_char ( char X ) : bool
X char
return bool

graphic_token_char() public static method

public static graphic_token_char ( char X ) : bool
X char
return bool

head_tail_separator_char() public static method

public static head_tail_separator_char ( char X ) : bool
X char
return bool

hexadecimal_digit_char() public static method

public static hexadecimal_digit_char ( char X ) : bool
X char
return bool

isfx() public static method

public static isfx ( int X ) : bool
X int
return bool

isfy() public static method

public static isfy ( int X ) : bool
X int
return bool

isinfix() public static method

public static isinfix ( int X ) : bool
X int
return bool

ispostfix() public static method

public static ispostfix ( int X ) : bool
X int
return bool

isprefix() public static method

public static isprefix ( int X ) : bool
X int
return bool

isxf() public static method

public static isxf ( int X ) : bool
X int
return bool

isxfx() public static method

public static isxfx ( int X ) : bool
X int
return bool

isxfy() public static method

public static isxfy ( int X ) : bool
X int
return bool

isyf() public static method

public static isyf ( int X ) : bool
X int
return bool

isyfx() public static method

public static isyfx ( int X ) : bool
X int
return bool

layout_char() public static method

public static layout_char ( char X ) : bool
X char
return bool

letter_char() public static method

public static letter_char ( char X ) : bool
X char
return bool

meta_char() public static method

public static meta_char ( char X ) : bool
X char
return bool

negative_sign_char() public static method

public static negative_sign_char ( char X ) : bool
X char
return bool

new_line_char() public static method

public static new_line_char ( char X ) : bool
X char
return bool

octal_digit_char() public static method

public static octal_digit_char ( char X ) : bool
X char
return bool

open_char() public static method

public static open_char ( char X ) : bool
X char
return bool

open_curly_char() public static method

public static open_curly_char ( char X ) : bool
X char
return bool

open_list_char() public static method

public static open_list_char ( char X ) : bool
X char
return bool

positive_sign_char() public static method

public static positive_sign_char ( char X ) : bool
X char
return bool

prologchar() public static method

public static prologchar ( char X ) : bool
X char
return bool

semicolon_char() public static method

public static semicolon_char ( char X ) : bool
X char
return bool

showerror() public method

public showerror ( ) : void
return void

sign_char() public static method

public static sign_char ( char X ) : bool
X char
return bool

single_quote_char() public static method

public static single_quote_char ( char X ) : bool
X char
return bool

small_letter_char() public static method

public static small_letter_char ( char X ) : bool
X char
return bool

solo_char() public static method

public static solo_char ( char X ) : bool
X char
return bool

space_char() public static method

public static space_char ( char X ) : bool
X char
return bool

symbolic_alert_char() public static method

public static symbolic_alert_char ( char X ) : bool
X char
return bool

symbolic_backspace_char() public static method

public static symbolic_backspace_char ( char X ) : bool
X char
return bool

symbolic_carriage_return_char() public static method

public static symbolic_carriage_return_char ( char X ) : bool
X char
return bool

symbolic_control_char() public static method

public static symbolic_control_char ( char X ) : bool
X char
return bool

symbolic_form_feed_char() public static method

public static symbolic_form_feed_char ( char X ) : bool
X char
return bool

symbolic_hexadecimal_char() public static method

public static symbolic_hexadecimal_char ( char X ) : bool
X char
return bool

symbolic_horizontal_tab_char() public static method

public static symbolic_horizontal_tab_char ( char X ) : bool
X char
return bool

symbolic_new_line_char() public static method

public static symbolic_new_line_char ( char X ) : bool
X char
return bool

symbolic_vertical_tab_char() public static method

public static symbolic_vertical_tab_char ( char X ) : bool
X char
return bool

underscore_char() public static method

public static underscore_char ( char X ) : bool
X char
return bool

variable_indicator_char() public static method

public static variable_indicator_char ( char X ) : bool
X char
return bool

Property Details

Variables public_oe property

public List Variables
return List