C# Class ME3Explorer.CondEditor

Inheritance: System.Windows.Forms.Form
ファイルを表示 Open project: ME3Explorer/ME3Explorer Class Usage Examples

Public Properties

Property Type Description
AST System.Windows.Forms.TreeNode
Code byte[]
TokenPos int
cond Conditionals
currentry Conditionals.Entries
currnr int
fileToolStripMenuItem System.Windows.Forms.ToolStripMenuItem
loadCodeToolStripMenuItem System.Windows.Forms.ToolStripMenuItem
replaceToolStripMenuItem System.Windows.Forms.ToolStripMenuItem
rtb1 System.Windows.Forms.RichTextBox
rtb2 System.Windows.Forms.RichTextBox
saveBinaryToolStripMenuItem System.Windows.Forms.ToolStripMenuItem
saveCodeToolStripMenuItem System.Windows.Forms.ToolStripMenuItem
tokenlist List

Public Methods

Method Description
CheckArrNumb ( string code, int pos, int &end ) : bool
CheckBracketCount ( ) : bool
CodeBool ( TreeNode node ) : byte[]
CodeExpr ( TreeNode node ) : byte[]
CodeFunction ( TreeNode node ) : byte[]
CodeGen ( ) : void
CodeIntValue ( TreeNode node ) : byte[]
CodeIntValue_f ( TreeNode node ) : byte[]
CodeIntValue_i ( TreeNode node ) : byte[]
CodePlotBool ( TreeNode node ) : byte[]
CodePlotFloat ( TreeNode node ) : byte[]
CodePlotInt ( TreeNode node ) : byte[]
Compile ( ) : bool
CondEditor ( ) : System
GetExprType ( TreeNode node ) : byte
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Parse ( int pos, TreeNode node ) : int
Parser ( ) : void
ReadBool ( int pos, TreeNode node ) : int
ReadExpression ( int pos, TreeNode node ) : int
ReadFunc ( int pos, TreeNode node ) : int
ReadPlot ( int pos, TreeNode node ) : int
ReadString ( ) : void
ReadSymbol ( ) : void
ReadValue ( ) : void
ReadWord ( ) : void
Tokenizer ( ) : bool
compileToolStripMenuItem_Click ( object sender, EventArgs e ) : void
isDigit ( char c ) : bool
isLetter ( char c ) : bool
isQuote ( char c ) : bool
isWhiteSpace ( char c ) : bool
loadCodeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
replaceToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveBinaryToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveCodeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
setRtb1 ( string s ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
compileAndReplaceToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

CheckArrNumb() public method

public CheckArrNumb ( string code, int pos, int &end ) : bool
code string
pos int
end int
return bool

CheckBracketCount() public method

public CheckBracketCount ( ) : bool
return bool

CodeBool() public method

public CodeBool ( TreeNode node ) : byte[]
node System.Windows.Forms.TreeNode
return byte[]

CodeExpr() public method

public CodeExpr ( TreeNode node ) : byte[]
node System.Windows.Forms.TreeNode
return byte[]

CodeFunction() public method

public CodeFunction ( TreeNode node ) : byte[]
node System.Windows.Forms.TreeNode
return byte[]

CodeGen() public method

public CodeGen ( ) : void
return void

CodeIntValue() public method

public CodeIntValue ( TreeNode node ) : byte[]
node System.Windows.Forms.TreeNode
return byte[]

CodeIntValue_f() public method

public CodeIntValue_f ( TreeNode node ) : byte[]
node System.Windows.Forms.TreeNode
return byte[]

CodeIntValue_i() public method

public CodeIntValue_i ( TreeNode node ) : byte[]
node System.Windows.Forms.TreeNode
return byte[]

CodePlotBool() public method

public CodePlotBool ( TreeNode node ) : byte[]
node System.Windows.Forms.TreeNode
return byte[]

CodePlotFloat() public method

public CodePlotFloat ( TreeNode node ) : byte[]
node System.Windows.Forms.TreeNode
return byte[]

CodePlotInt() public method

public CodePlotInt ( TreeNode node ) : byte[]
node System.Windows.Forms.TreeNode
return byte[]

Compile() public method

public Compile ( ) : bool
return bool

CondEditor() public method

public CondEditor ( ) : System
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

GetExprType() public method

public GetExprType ( TreeNode node ) : byte
node System.Windows.Forms.TreeNode
return byte

InitializeComponent() public method

Required method for Designer support - do not modify the contents of this method with the code editor.
public InitializeComponent ( ) : void
return void

Parse() public method

public Parse ( int pos, TreeNode node ) : int
pos int
node System.Windows.Forms.TreeNode
return int

Parser() public method

public Parser ( ) : void
return void

ReadBool() public method

public ReadBool ( int pos, TreeNode node ) : int
pos int
node System.Windows.Forms.TreeNode
return int

ReadExpression() public method

public ReadExpression ( int pos, TreeNode node ) : int
pos int
node System.Windows.Forms.TreeNode
return int

ReadFunc() public method

public ReadFunc ( int pos, TreeNode node ) : int
pos int
node System.Windows.Forms.TreeNode
return int

ReadPlot() public method

public ReadPlot ( int pos, TreeNode node ) : int
pos int
node System.Windows.Forms.TreeNode
return int

ReadString() public method

public ReadString ( ) : void
return void

ReadSymbol() public method

public ReadSymbol ( ) : void
return void

ReadValue() public method

public ReadValue ( ) : void
return void

ReadWord() public method

public ReadWord ( ) : void
return void

Tokenizer() public method

public Tokenizer ( ) : bool
return bool

compileToolStripMenuItem_Click() public method

public compileToolStripMenuItem_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

isDigit() public method

public isDigit ( char c ) : bool
c char
return bool

isLetter() public method

public isLetter ( char c ) : bool
c char
return bool

isQuote() public method

public isQuote ( char c ) : bool
c char
return bool

isWhiteSpace() public method

public isWhiteSpace ( char c ) : bool
c char
return bool

loadCodeToolStripMenuItem_Click() public method

public loadCodeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

replaceToolStripMenuItem_Click() public method

public replaceToolStripMenuItem_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

saveBinaryToolStripMenuItem_Click() public method

public saveBinaryToolStripMenuItem_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

saveCodeToolStripMenuItem_Click() public method

public saveCodeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

setRtb1() public method

public setRtb1 ( string s ) : void
s string
return void

Property Details

AST public_oe property

public TreeNode,System.Windows.Forms AST
return System.Windows.Forms.TreeNode

Code public_oe property

public byte[] Code
return byte[]

TokenPos public_oe property

public int TokenPos
return int

cond public_oe property

public Conditionals,ME3Explorer cond
return Conditionals

currentry public_oe property

public Conditionals.Entries,ME3Explorer currentry
return Conditionals.Entries

currnr public_oe property

public int currnr
return int

fileToolStripMenuItem public_oe property

public System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem
return System.Windows.Forms.ToolStripMenuItem

loadCodeToolStripMenuItem public_oe property

public System.Windows.Forms.ToolStripMenuItem loadCodeToolStripMenuItem
return System.Windows.Forms.ToolStripMenuItem

replaceToolStripMenuItem public_oe property

public System.Windows.Forms.ToolStripMenuItem replaceToolStripMenuItem
return System.Windows.Forms.ToolStripMenuItem

rtb1 public_oe property

public System.Windows.Forms.RichTextBox rtb1
return System.Windows.Forms.RichTextBox

rtb2 public_oe property

public System.Windows.Forms.RichTextBox rtb2
return System.Windows.Forms.RichTextBox

saveBinaryToolStripMenuItem public_oe property

public System.Windows.Forms.ToolStripMenuItem saveBinaryToolStripMenuItem
return System.Windows.Forms.ToolStripMenuItem

saveCodeToolStripMenuItem public_oe property

public System.Windows.Forms.ToolStripMenuItem saveCodeToolStripMenuItem
return System.Windows.Forms.ToolStripMenuItem

tokenlist public_oe property

public List tokenlist
return List