C# 클래스 hl2glsl.GrammaticaNodeUtils

파일 보기 프로젝트 열기: SickheadGames/HL2GLSL 1 사용 예제들

공개 메소드들

메소드 설명
CreateCommaToken ( ) : Node
CreateDotCommaToken ( ) : Node
CreateEqualToken ( ) : Node
CreateNewLineToken ( ) : Node
CreateNumberToken ( float value ) : Node
CreateSpaceToken ( ) : Node
CreateVaryingToken ( ) : Node
CreateVoidToken ( ) : Node
FindChildOf ( Node node, string childName ) : Node
FindChildOf ( Node node, string childName, int nth ) : Node
FindChildrenOf ( Node node, string childNameTree ) : ArrayList
FindChildrenOf ( Node node, string childNameTree, int index ) : ArrayList
GetChildren ( Production parent ) : ArrayList
MovePreviousLineRelatedCommentToInsideANode ( Production nodeToSearch, int indexOfTheRelatedInstruction, Production nodeToPut ) : void
MoveSameLineRelatedCommentToInsideANode ( Production nodeToSearch, int indexOfTheRelatedInstruction, Production nodeToPut ) : void
SetParent ( Node child, Node toBeParent ) : void
SwapChildrenPosition ( Production parent, Node node1, Node node2 ) : void

메소드 상세

CreateCommaToken() 공개 정적인 메소드

public static CreateCommaToken ( ) : Node
리턴 Node

CreateDotCommaToken() 공개 정적인 메소드

public static CreateDotCommaToken ( ) : Node
리턴 Node

CreateEqualToken() 공개 정적인 메소드

public static CreateEqualToken ( ) : Node
리턴 Node

CreateNewLineToken() 공개 정적인 메소드

public static CreateNewLineToken ( ) : Node
리턴 Node

CreateNumberToken() 공개 정적인 메소드

public static CreateNumberToken ( float value ) : Node
value float
리턴 Node

CreateSpaceToken() 공개 정적인 메소드

public static CreateSpaceToken ( ) : Node
리턴 Node

CreateVaryingToken() 공개 정적인 메소드

public static CreateVaryingToken ( ) : Node
리턴 Node

CreateVoidToken() 공개 정적인 메소드

public static CreateVoidToken ( ) : Node
리턴 Node

FindChildOf() 공개 정적인 메소드

public static FindChildOf ( Node node, string childName ) : Node
node Node
childName string
리턴 Node

FindChildOf() 공개 정적인 메소드

public static FindChildOf ( Node node, string childName, int nth ) : Node
node Node
childName string
nth int
리턴 Node

FindChildrenOf() 공개 정적인 메소드

public static FindChildrenOf ( Node node, string childNameTree ) : ArrayList
node Node
childNameTree string
리턴 System.Collections.ArrayList

FindChildrenOf() 공개 정적인 메소드

public static FindChildrenOf ( Node node, string childNameTree, int index ) : ArrayList
node Node
childNameTree string
index int
리턴 System.Collections.ArrayList

GetChildren() 공개 정적인 메소드

public static GetChildren ( Production parent ) : ArrayList
parent Production
리턴 System.Collections.ArrayList

MovePreviousLineRelatedCommentToInsideANode() 공개 정적인 메소드

public static MovePreviousLineRelatedCommentToInsideANode ( Production nodeToSearch, int indexOfTheRelatedInstruction, Production nodeToPut ) : void
nodeToSearch Production
indexOfTheRelatedInstruction int
nodeToPut Production
리턴 void

MoveSameLineRelatedCommentToInsideANode() 공개 정적인 메소드

public static MoveSameLineRelatedCommentToInsideANode ( Production nodeToSearch, int indexOfTheRelatedInstruction, Production nodeToPut ) : void
nodeToSearch Production
indexOfTheRelatedInstruction int
nodeToPut Production
리턴 void

SetParent() 공개 정적인 메소드

public static SetParent ( Node child, Node toBeParent ) : void
child Node
toBeParent Node
리턴 void

SwapChildrenPosition() 공개 정적인 메소드

public static SwapChildrenPosition ( Production parent, Node node1, Node node2 ) : void
parent Production
node1 Node
node2 Node
리턴 void