C# Класс hl2glsl.GrammaticaNodeUtils

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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