C# Class Edu.Unl.Sir.Siemens.PrintTokens.Original

Exibir arquivo Open project: lukesandberg/PexFaultLocalization

Public Properties

Property Type Description
baseArray int[]
check int[]
default1 int[]
next int[]

Public Methods

Method Description
check_delimiter ( byte ch ) : int
constant ( int state, byte token_str, int token_ind ) : int
error_or_eof_case ( TokenStream tstream_ptr, Token token_ptr, int cu_state, byte token_str, int token_ind, byte ch ) : Token
get_actual_token ( byte token_str, int token_ind ) : void
get_char ( CharacterStream stream_ptr ) : byte
get_token ( TokenStream tstream_ptr ) : Token
is_eof_token ( Token t ) : int
keyword ( int state ) : int
next_state ( int state, byte ch ) : int
numeric_case ( TokenStream tstream_ptr, Token token_ptr, byte ch, byte token_str, int token_ind ) : Token
open_character_stream ( String filename ) : CharacterStream
open_token_stream ( string FILENAME ) : TokenStream
print_token ( Token token_ptr ) : int
skip ( CharacterStream stream_ptr ) : void
special ( int state ) : int
unget_char ( byte ch, CharacterStream stream_ptr ) : void

Private Methods

Method Description
Main ( string args ) : void
get_null_terminated_string ( string s ) : string
is_end_of_character_stream ( CharacterStream stream_ptr ) : int

Method Details

check_delimiter() public static method

public static check_delimiter ( byte ch ) : int
ch byte
return int

constant() public static method

public static constant ( int state, byte token_str, int token_ind ) : int
state int
token_str byte
token_ind int
return int

error_or_eof_case() public static method

public static error_or_eof_case ( TokenStream tstream_ptr, Token token_ptr, int cu_state, byte token_str, int token_ind, byte ch ) : Token
tstream_ptr TokenStream
token_ptr Token
cu_state int
token_str byte
token_ind int
ch byte
return Token

get_actual_token() public static method

public static get_actual_token ( byte token_str, int token_ind ) : void
token_str byte
token_ind int
return void

get_char() public static method

public static get_char ( CharacterStream stream_ptr ) : byte
stream_ptr CharacterStream
return byte

get_token() public static method

public static get_token ( TokenStream tstream_ptr ) : Token
tstream_ptr TokenStream
return Token

is_eof_token() public static method

public static is_eof_token ( Token t ) : int
t Token
return int

keyword() public static method

public static keyword ( int state ) : int
state int
return int

next_state() public static method

public static next_state ( int state, byte ch ) : int
state int
ch byte
return int

numeric_case() public static method

public static numeric_case ( TokenStream tstream_ptr, Token token_ptr, byte ch, byte token_str, int token_ind ) : Token
tstream_ptr TokenStream
token_ptr Token
ch byte
token_str byte
token_ind int
return Token

open_character_stream() public static method

public static open_character_stream ( String filename ) : CharacterStream
filename String
return CharacterStream

open_token_stream() public static method

public static open_token_stream ( string FILENAME ) : TokenStream
FILENAME string
return TokenStream

print_token() public static method

public static print_token ( Token token_ptr ) : int
token_ptr Token
return int

skip() public static method

public static skip ( CharacterStream stream_ptr ) : void
stream_ptr CharacterStream
return void

special() public static method

public static special ( int state ) : int
state int
return int

unget_char() public static method

public static unget_char ( byte ch, CharacterStream stream_ptr ) : void
ch byte
stream_ptr CharacterStream
return void

Property Details

baseArray public_oe static_oe property

public static int[] baseArray
return int[]

check public_oe static_oe property

public static int[] check
return int[]

default1 public_oe static_oe property

public static int[] default1
return int[]

next public_oe static_oe property

public static int[] next
return int[]