C# 클래스 GlueViewOfficialPlugins.Scripting.ScriptParsingPlugin

상속: GlueView.Plugin.GlueViewPlugin
파일 보기 프로젝트 열기: vchelaru/FlatRedBall 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AddErrorText void
ApplyAssignmentLine bool
ApplyConditionalBlocks bool
ApplyEventResponseSave void
ApplyLine void
ApplyMethodCall void
AssignValue void
CombineLines string
GetLeftAndRightOfEquals void
GetMethodLines string[]
GetTypeFromReflection void
HandleAfterVariableSet void
HandleResolutionChange void
HandleResolutionChange void
HandleUpdate void
IsStateVariable bool
LineIsIfStatement bool
OnBeforeVariableSet void
OnDebugButtonClick void
OnElementLoaded void
RemoveThisDot string
SaveFieldsAndPropertiesForType void
TryAssignIAssignableReference bool

공개 메소드들

메소드 설명
ApplyAssignment ( CodeContext codeContext, string leftOfEquals, string rightOfEquals, string newVariableDeclarationType, AssignmentOperatorType assignmentOperator ) : bool
ApplyAssignment ( VariableInitializer variableInitializer, VariableDeclarationStatement vds, CodeContext codeContext ) : bool
ApplyLines ( string script, CodeContext codeContext = null ) : void
ApplyLinesInternal ( string lines, int startingIndex, int count, IElement element, CodeContext codeContext, string fileName = null, bool addStackVariables = true, bool removeStackVariables = true ) : bool

CreateCustomVariableFor ( string newVariableDeclarationType, string leftOfEquals, string rightOfEquals, ElementRuntime elementRuntime, CodeContext codeContext ) : CustomVariable
GetNumberOfLinesInRegularStatement ( string allLines, int index ) : int
GetTypeStringForValue ( string leftOfEquals, ElementRuntime elementRuntime, CodeContext codeContext, Type &runtimeType ) : string
ShutDown ( FlatRedBall shutDownReason ) : bool
StartUp ( ) : void
StartUpForTests ( ) : void

비공개 메소드들

메소드 설명
AddErrorText ( string text ) : void
ApplyAssignmentLine ( AssignmentExpression expression, CodeContext codeContext ) : bool
ApplyConditionalBlocks ( string allLines, IElement element, CodeContext codeContext, string fileName, int &index ) : bool
ApplyEventResponseSave ( ElementRuntime elementRuntime, EventResponseSave ers ) : void
ApplyLine ( string line, CodeContext codeContext, string allLines, string fileName, int &index ) : void
ApplyMethodCall ( string line, CodeContext codeContext ) : void
AssignValue ( string newVariableDeclarationType, string leftOfEquals, string rightOfEquals, CodeContext codeContext, AssignmentOperatorType assignOperator ) : void
CombineLines ( string allLines, int index, int numberOfLinesInStatement ) : string
GetLeftAndRightOfEquals ( string line, string &leftOfEquals, string &rightOfEquals ) : void
GetMethodLines ( IElement element, EventResponseSave ers, string projectDirectory ) : string[]
GetTypeFromReflection ( string leftSideRaw, Type &runtimeType, Type containerType ) : void
HandleAfterVariableSet ( object sender, VariableSetArgs e ) : void
HandleResolutionChange ( ) : void
HandleResolutionChange ( ElementRuntime elementRuntime ) : void
HandleUpdate ( object sender, EventArgs args ) : void
IsStateVariable ( string value, ElementRuntime elementRuntime ) : bool
LineIsIfStatement ( string line ) : bool
OnBeforeVariableSet ( object sender, VariableSetArgs e ) : void
OnDebugButtonClick ( object sender, EventArgs e ) : void
OnElementLoaded ( object sender, EventArgs e ) : void
RemoveThisDot ( string value ) : string
SaveFieldsAndPropertiesForType ( Type type ) : void
TryAssignIAssignableReference ( AssignmentOperatorType assignOperator, CustomVariable customVariable, object reference ) : bool

메소드 상세

ApplyAssignment() 공개 메소드

public ApplyAssignment ( CodeContext codeContext, string leftOfEquals, string rightOfEquals, string newVariableDeclarationType, AssignmentOperatorType assignmentOperator ) : bool
codeContext GlueView.Scripting.CodeContext
leftOfEquals string
rightOfEquals string
newVariableDeclarationType string
assignmentOperator AssignmentOperatorType
리턴 bool

ApplyAssignment() 공개 메소드

public ApplyAssignment ( VariableInitializer variableInitializer, VariableDeclarationStatement vds, CodeContext codeContext ) : bool
variableInitializer VariableInitializer
vds VariableDeclarationStatement
codeContext GlueView.Scripting.CodeContext
리턴 bool

ApplyLines() 공개 메소드

public ApplyLines ( string script, CodeContext codeContext = null ) : void
script string
codeContext GlueView.Scripting.CodeContext
리턴 void

ApplyLinesInternal() 공개 메소드

public ApplyLinesInternal ( string lines, int startingIndex, int count, IElement element, CodeContext codeContext, string fileName = null, bool addStackVariables = true, bool removeStackVariables = true ) : bool
lines string
startingIndex int
count int
element IElement
codeContext GlueView.Scripting.CodeContext
fileName string
addStackVariables bool
removeStackVariables bool
리턴 bool

CreateCustomVariableFor() 공개 메소드

public CreateCustomVariableFor ( string newVariableDeclarationType, string leftOfEquals, string rightOfEquals, ElementRuntime elementRuntime, CodeContext codeContext ) : CustomVariable
newVariableDeclarationType string
leftOfEquals string
rightOfEquals string
elementRuntime FlatRedBall.Glue.ElementRuntime
codeContext GlueView.Scripting.CodeContext
리턴 FlatRedBall.Glue.SaveClasses.CustomVariable

GetNumberOfLinesInRegularStatement() 공개 메소드

public GetNumberOfLinesInRegularStatement ( string allLines, int index ) : int
allLines string
index int
리턴 int

GetTypeStringForValue() 공개 메소드

public GetTypeStringForValue ( string leftOfEquals, ElementRuntime elementRuntime, CodeContext codeContext, Type &runtimeType ) : string
leftOfEquals string
elementRuntime FlatRedBall.Glue.ElementRuntime
codeContext GlueView.Scripting.CodeContext
runtimeType System.Type
리턴 string

ShutDown() 공개 메소드

public ShutDown ( FlatRedBall shutDownReason ) : bool
shutDownReason FlatRedBall
리턴 bool

StartUp() 공개 메소드

public StartUp ( ) : void
리턴 void

StartUpForTests() 공개 메소드

public StartUpForTests ( ) : void
리턴 void