C# Class hl2glsl.GrammaticaNodeUtils

Afficher le fichier Open project: SickheadGames/HL2GLSL Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

CreateCommaToken() public static méthode

public static CreateCommaToken ( ) : Node
Résultat Node

CreateDotCommaToken() public static méthode

public static CreateDotCommaToken ( ) : Node
Résultat Node

CreateEqualToken() public static méthode

public static CreateEqualToken ( ) : Node
Résultat Node

CreateNewLineToken() public static méthode

public static CreateNewLineToken ( ) : Node
Résultat Node

CreateNumberToken() public static méthode

public static CreateNumberToken ( float value ) : Node
value float
Résultat Node

CreateSpaceToken() public static méthode

public static CreateSpaceToken ( ) : Node
Résultat Node

CreateVaryingToken() public static méthode

public static CreateVaryingToken ( ) : Node
Résultat Node

CreateVoidToken() public static méthode

public static CreateVoidToken ( ) : Node
Résultat Node

FindChildOf() public static méthode

public static FindChildOf ( Node node, string childName ) : Node
node Node
childName string
Résultat Node

FindChildOf() public static méthode

public static FindChildOf ( Node node, string childName, int nth ) : Node
node Node
childName string
nth int
Résultat Node

FindChildrenOf() public static méthode

public static FindChildrenOf ( Node node, string childNameTree ) : ArrayList
node Node
childNameTree string
Résultat System.Collections.ArrayList

FindChildrenOf() public static méthode

public static FindChildrenOf ( Node node, string childNameTree, int index ) : ArrayList
node Node
childNameTree string
index int
Résultat System.Collections.ArrayList

GetChildren() public static méthode

public static GetChildren ( Production parent ) : ArrayList
parent Production
Résultat System.Collections.ArrayList

MovePreviousLineRelatedCommentToInsideANode() public static méthode

public static MovePreviousLineRelatedCommentToInsideANode ( Production nodeToSearch, int indexOfTheRelatedInstruction, Production nodeToPut ) : void
nodeToSearch Production
indexOfTheRelatedInstruction int
nodeToPut Production
Résultat void

MoveSameLineRelatedCommentToInsideANode() public static méthode

public static MoveSameLineRelatedCommentToInsideANode ( Production nodeToSearch, int indexOfTheRelatedInstruction, Production nodeToPut ) : void
nodeToSearch Production
indexOfTheRelatedInstruction int
nodeToPut Production
Résultat void

SetParent() public static méthode

public static SetParent ( Node child, Node toBeParent ) : void
child Node
toBeParent Node
Résultat void

SwapChildrenPosition() public static méthode

public static SwapChildrenPosition ( Production parent, Node node1, Node node2 ) : void
parent Production
node1 Node
node2 Node
Résultat void