C# Класс ShaderTools.Unity.Syntax.SyntaxVisitor

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

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

Метод Описание
Visit ( SyntaxNode node ) : void
VisitAttributeArgumentList ( AttributeArgumentListSyntax node ) : void
VisitCategory ( CategorySyntax node ) : void
VisitCgInclude ( CgIncludeSyntax node ) : void
VisitCgProgram ( CgProgramSyntax node ) : void
VisitCommandAlphaTestComparison ( CommandAlphaTestComparisonSyntax node ) : void
VisitCommandAlphaTestOff ( CommandAlphaTestOffSyntax node ) : void
VisitCommandAlphaToMask ( CommandAlphaToMaskSyntax node ) : void
VisitCommandBindChannels ( CommandBindChannelsSyntax node ) : void
VisitCommandBindChannelsBind ( CommandBindChannelsBindSyntax node ) : void
VisitCommandBlendColor ( CommandBlendColorSyntax node ) : void
VisitCommandBlendColorAlpha ( CommandBlendColorAlphaSyntax node ) : void
VisitCommandBlendOff ( CommandBlendOffSyntax node ) : void
VisitCommandColorMask ( CommandColorMaskSyntax node ) : void
VisitCommandColorMaterial ( CommandColorMaterialSyntax node ) : void
VisitCommandConstantColorValue ( CommandConstantColorValueSyntax node ) : void
VisitCommandConstantValue ( CommandConstantValueSyntax node ) : void
VisitCommandCull ( CommandCullSyntax node ) : void
VisitCommandCustomEditor ( CommandCustomEditorSyntax node ) : void
VisitCommandDependency ( CommandDependencySyntax node ) : void
VisitCommandFallback ( CommandFallbackSyntax node ) : void
VisitCommandFog ( CommandFogSyntax node ) : void
VisitCommandFogColor ( CommandFogColorSyntax node ) : void
VisitCommandFogDensity ( CommandFogDensitySyntax node ) : void
VisitCommandFogMode ( CommandFogModeSyntax node ) : void
VisitCommandFogRange ( CommandFogRangeSyntax node ) : void
VisitCommandLighting ( CommandLightingSyntax node ) : void
VisitCommandLod ( CommandLodSyntax node ) : void
VisitCommandMaterial ( CommandMaterialSyntax node ) : void
VisitCommandMaterialAmbient ( CommandMaterialAmbientSyntax node ) : void
VisitCommandMaterialDiffuse ( CommandMaterialDiffuseSyntax node ) : void
VisitCommandMaterialEmission ( CommandMaterialEmissionSyntax node ) : void
VisitCommandMaterialShininess ( CommandMaterialShininessSyntax node ) : void
VisitCommandMaterialSpecular ( CommandMaterialSpecularSyntax node ) : void
VisitCommandName ( CommandNameSyntax node ) : void
VisitCommandOffset ( CommandOffsetSyntax node ) : void
VisitCommandSeparateSpecular ( CommandSeparateSpecularSyntax node ) : void
VisitCommandSetTexture ( CommandSetTextureSyntax node ) : void
VisitCommandSetTextureCombine ( CommandSetTextureCombineSyntax node ) : void
VisitCommandSetTextureCombineAlphaComponent ( CommandSetTextureCombineAlphaComponentSyntax node ) : void
VisitCommandSetTextureCombineBinaryValue ( CommandSetTextureCombineBinaryValueSyntax node ) : void
VisitCommandSetTextureCombineLerpValue ( CommandSetTextureCombineLerpValueSyntax node ) : void
VisitCommandSetTextureCombineMultiplyAlphaValue ( CommandSetTextureCombineMultiplyAlphaValueSyntax node ) : void
VisitCommandSetTextureCombineSource ( CommandSetTextureCombineSourceSyntax node ) : void
VisitCommandSetTextureCombineUnaryValue ( CommandSetTextureCombineUnaryValueSyntax node ) : void
VisitCommandSetTextureConstantColor ( CommandSetTextureConstantColorSyntax node ) : void
VisitCommandSetTextureMatrix ( CommandSetTextureMatrixSyntax node ) : void
VisitCommandStencil ( CommandStencilSyntax node ) : void
VisitCommandStencilComp ( CommandStencilCompSyntax node ) : void
VisitCommandStencilFail ( CommandStencilFailSyntax node ) : void
VisitCommandStencilPass ( CommandStencilPassSyntax node ) : void
VisitCommandStencilReadMask ( CommandStencilReadMaskSyntax node ) : void
VisitCommandStencilRef ( CommandStencilRefSyntax node ) : void
VisitCommandStencilWriteMask ( CommandStencilWriteMaskSyntax node ) : void
VisitCommandStencilZFail ( CommandStencilZFailSyntax node ) : void
VisitCommandVariableValue ( CommandVariableValueSyntax node ) : void
VisitCommandZTest ( CommandZTestSyntax node ) : void
VisitCommandZWrite ( CommandZWriteSyntax node ) : void
VisitCompilationUnit ( CompilationUnitSyntax node ) : void
VisitEnumNameExpression ( EnumNameExpressionSyntax node ) : void
VisitGrabPass ( GrabPassSyntax node ) : void
VisitLiteralExpression ( LiteralExpressionSyntax node ) : void
VisitPass ( PassSyntax node ) : void
VisitPrefixUnaryExpression ( PrefixUnaryExpressionSyntax node ) : void
VisitShader ( ShaderSyntax node ) : void
VisitShaderProperties ( ShaderPropertiesSyntax node ) : void
VisitShaderProperty ( ShaderPropertySyntax node ) : void
VisitShaderPropertyAttribute ( ShaderPropertyAttributeSyntax node ) : void
VisitShaderPropertyNumericDefaultValue ( ShaderPropertyNumericDefaultValueSyntax node ) : void
VisitShaderPropertyRangeType ( ShaderPropertyRangeTypeSyntax node ) : void
VisitShaderPropertySimpleType ( ShaderPropertySimpleTypeSyntax node ) : void
VisitShaderPropertyTextureDefaultValue ( ShaderPropertyTextureDefaultValueSyntax node ) : void
VisitShaderPropertyVectorDefaultValue ( ShaderPropertyVectorDefaultValueSyntax node ) : void
VisitShaderTag ( ShaderTagSyntax node ) : void
VisitShaderTags ( ShaderTagsSyntax node ) : void
VisitSkippedTokensSyntaxTrivia ( SkippedTokensTriviaSyntax node ) : void
VisitSubShader ( SubShaderSyntax node ) : void
VisitSyntaxToken ( SyntaxToken node ) : void
VisitSyntaxTrivia ( SyntaxTrivia node ) : void
VisitUsePass ( UsePassSyntax node ) : void
VisitVector3 ( Vector3Syntax node ) : void
VisitVector4 ( Vector4Syntax node ) : void

Защищенные методы

Метод Описание
DefaultVisit ( SyntaxNode node ) : void

Описание методов

DefaultVisit() защищенный Метод

protected DefaultVisit ( SyntaxNode node ) : void
node SyntaxNode
Результат void

Visit() публичный Метод

public Visit ( SyntaxNode node ) : void
node SyntaxNode
Результат void

VisitAttributeArgumentList() публичный Метод

public VisitAttributeArgumentList ( AttributeArgumentListSyntax node ) : void
node AttributeArgumentListSyntax
Результат void

VisitCategory() публичный Метод

public VisitCategory ( CategorySyntax node ) : void
node CategorySyntax
Результат void

VisitCgInclude() публичный Метод

public VisitCgInclude ( CgIncludeSyntax node ) : void
node CgIncludeSyntax
Результат void

VisitCgProgram() публичный Метод

public VisitCgProgram ( CgProgramSyntax node ) : void
node CgProgramSyntax
Результат void

VisitCommandAlphaTestComparison() публичный Метод

public VisitCommandAlphaTestComparison ( CommandAlphaTestComparisonSyntax node ) : void
node CommandAlphaTestComparisonSyntax
Результат void

VisitCommandAlphaTestOff() публичный Метод

public VisitCommandAlphaTestOff ( CommandAlphaTestOffSyntax node ) : void
node CommandAlphaTestOffSyntax
Результат void

VisitCommandAlphaToMask() публичный Метод

public VisitCommandAlphaToMask ( CommandAlphaToMaskSyntax node ) : void
node CommandAlphaToMaskSyntax
Результат void

VisitCommandBindChannels() публичный Метод

public VisitCommandBindChannels ( CommandBindChannelsSyntax node ) : void
node CommandBindChannelsSyntax
Результат void

VisitCommandBindChannelsBind() публичный Метод

public VisitCommandBindChannelsBind ( CommandBindChannelsBindSyntax node ) : void
node CommandBindChannelsBindSyntax
Результат void

VisitCommandBlendColor() публичный Метод

public VisitCommandBlendColor ( CommandBlendColorSyntax node ) : void
node CommandBlendColorSyntax
Результат void

VisitCommandBlendColorAlpha() публичный Метод

public VisitCommandBlendColorAlpha ( CommandBlendColorAlphaSyntax node ) : void
node CommandBlendColorAlphaSyntax
Результат void

VisitCommandBlendOff() публичный Метод

public VisitCommandBlendOff ( CommandBlendOffSyntax node ) : void
node CommandBlendOffSyntax
Результат void

VisitCommandColorMask() публичный Метод

public VisitCommandColorMask ( CommandColorMaskSyntax node ) : void
node CommandColorMaskSyntax
Результат void

VisitCommandColorMaterial() публичный Метод

public VisitCommandColorMaterial ( CommandColorMaterialSyntax node ) : void
node CommandColorMaterialSyntax
Результат void

VisitCommandConstantColorValue() публичный Метод

public VisitCommandConstantColorValue ( CommandConstantColorValueSyntax node ) : void
node CommandConstantColorValueSyntax
Результат void

VisitCommandConstantValue() публичный Метод

public VisitCommandConstantValue ( CommandConstantValueSyntax node ) : void
node CommandConstantValueSyntax
Результат void

VisitCommandCull() публичный Метод

public VisitCommandCull ( CommandCullSyntax node ) : void
node CommandCullSyntax
Результат void

VisitCommandCustomEditor() публичный Метод

public VisitCommandCustomEditor ( CommandCustomEditorSyntax node ) : void
node CommandCustomEditorSyntax
Результат void

VisitCommandDependency() публичный Метод

public VisitCommandDependency ( CommandDependencySyntax node ) : void
node CommandDependencySyntax
Результат void

VisitCommandFallback() публичный Метод

public VisitCommandFallback ( CommandFallbackSyntax node ) : void
node CommandFallbackSyntax
Результат void

VisitCommandFog() публичный Метод

public VisitCommandFog ( CommandFogSyntax node ) : void
node CommandFogSyntax
Результат void

VisitCommandFogColor() публичный Метод

public VisitCommandFogColor ( CommandFogColorSyntax node ) : void
node CommandFogColorSyntax
Результат void

VisitCommandFogDensity() публичный Метод

public VisitCommandFogDensity ( CommandFogDensitySyntax node ) : void
node CommandFogDensitySyntax
Результат void

VisitCommandFogMode() публичный Метод

public VisitCommandFogMode ( CommandFogModeSyntax node ) : void
node CommandFogModeSyntax
Результат void

VisitCommandFogRange() публичный Метод

public VisitCommandFogRange ( CommandFogRangeSyntax node ) : void
node CommandFogRangeSyntax
Результат void

VisitCommandLighting() публичный Метод

public VisitCommandLighting ( CommandLightingSyntax node ) : void
node CommandLightingSyntax
Результат void

VisitCommandLod() публичный Метод

public VisitCommandLod ( CommandLodSyntax node ) : void
node CommandLodSyntax
Результат void

VisitCommandMaterial() публичный Метод

public VisitCommandMaterial ( CommandMaterialSyntax node ) : void
node CommandMaterialSyntax
Результат void

VisitCommandMaterialAmbient() публичный Метод

public VisitCommandMaterialAmbient ( CommandMaterialAmbientSyntax node ) : void
node CommandMaterialAmbientSyntax
Результат void

VisitCommandMaterialDiffuse() публичный Метод

public VisitCommandMaterialDiffuse ( CommandMaterialDiffuseSyntax node ) : void
node CommandMaterialDiffuseSyntax
Результат void

VisitCommandMaterialEmission() публичный Метод

public VisitCommandMaterialEmission ( CommandMaterialEmissionSyntax node ) : void
node CommandMaterialEmissionSyntax
Результат void

VisitCommandMaterialShininess() публичный Метод

public VisitCommandMaterialShininess ( CommandMaterialShininessSyntax node ) : void
node CommandMaterialShininessSyntax
Результат void

VisitCommandMaterialSpecular() публичный Метод

public VisitCommandMaterialSpecular ( CommandMaterialSpecularSyntax node ) : void
node CommandMaterialSpecularSyntax
Результат void

VisitCommandName() публичный Метод

public VisitCommandName ( CommandNameSyntax node ) : void
node CommandNameSyntax
Результат void

VisitCommandOffset() публичный Метод

public VisitCommandOffset ( CommandOffsetSyntax node ) : void
node CommandOffsetSyntax
Результат void

VisitCommandSeparateSpecular() публичный Метод

public VisitCommandSeparateSpecular ( CommandSeparateSpecularSyntax node ) : void
node CommandSeparateSpecularSyntax
Результат void

VisitCommandSetTexture() публичный Метод

public VisitCommandSetTexture ( CommandSetTextureSyntax node ) : void
node CommandSetTextureSyntax
Результат void

VisitCommandSetTextureCombine() публичный Метод

public VisitCommandSetTextureCombine ( CommandSetTextureCombineSyntax node ) : void
node CommandSetTextureCombineSyntax
Результат void

VisitCommandSetTextureCombineAlphaComponent() публичный Метод

public VisitCommandSetTextureCombineAlphaComponent ( CommandSetTextureCombineAlphaComponentSyntax node ) : void
node CommandSetTextureCombineAlphaComponentSyntax
Результат void

VisitCommandSetTextureCombineBinaryValue() публичный Метод

public VisitCommandSetTextureCombineBinaryValue ( CommandSetTextureCombineBinaryValueSyntax node ) : void
node CommandSetTextureCombineBinaryValueSyntax
Результат void

VisitCommandSetTextureCombineLerpValue() публичный Метод

public VisitCommandSetTextureCombineLerpValue ( CommandSetTextureCombineLerpValueSyntax node ) : void
node CommandSetTextureCombineLerpValueSyntax
Результат void

VisitCommandSetTextureCombineMultiplyAlphaValue() публичный Метод

public VisitCommandSetTextureCombineMultiplyAlphaValue ( CommandSetTextureCombineMultiplyAlphaValueSyntax node ) : void
node CommandSetTextureCombineMultiplyAlphaValueSyntax
Результат void

VisitCommandSetTextureCombineSource() публичный Метод

public VisitCommandSetTextureCombineSource ( CommandSetTextureCombineSourceSyntax node ) : void
node CommandSetTextureCombineSourceSyntax
Результат void

VisitCommandSetTextureCombineUnaryValue() публичный Метод

public VisitCommandSetTextureCombineUnaryValue ( CommandSetTextureCombineUnaryValueSyntax node ) : void
node CommandSetTextureCombineUnaryValueSyntax
Результат void

VisitCommandSetTextureConstantColor() публичный Метод

public VisitCommandSetTextureConstantColor ( CommandSetTextureConstantColorSyntax node ) : void
node CommandSetTextureConstantColorSyntax
Результат void

VisitCommandSetTextureMatrix() публичный Метод

public VisitCommandSetTextureMatrix ( CommandSetTextureMatrixSyntax node ) : void
node CommandSetTextureMatrixSyntax
Результат void

VisitCommandStencil() публичный Метод

public VisitCommandStencil ( CommandStencilSyntax node ) : void
node CommandStencilSyntax
Результат void

VisitCommandStencilComp() публичный Метод

public VisitCommandStencilComp ( CommandStencilCompSyntax node ) : void
node CommandStencilCompSyntax
Результат void

VisitCommandStencilFail() публичный Метод

public VisitCommandStencilFail ( CommandStencilFailSyntax node ) : void
node CommandStencilFailSyntax
Результат void

VisitCommandStencilPass() публичный Метод

public VisitCommandStencilPass ( CommandStencilPassSyntax node ) : void
node CommandStencilPassSyntax
Результат void

VisitCommandStencilReadMask() публичный Метод

public VisitCommandStencilReadMask ( CommandStencilReadMaskSyntax node ) : void
node CommandStencilReadMaskSyntax
Результат void

VisitCommandStencilRef() публичный Метод

public VisitCommandStencilRef ( CommandStencilRefSyntax node ) : void
node CommandStencilRefSyntax
Результат void

VisitCommandStencilWriteMask() публичный Метод

public VisitCommandStencilWriteMask ( CommandStencilWriteMaskSyntax node ) : void
node CommandStencilWriteMaskSyntax
Результат void

VisitCommandStencilZFail() публичный Метод

public VisitCommandStencilZFail ( CommandStencilZFailSyntax node ) : void
node CommandStencilZFailSyntax
Результат void

VisitCommandVariableValue() публичный Метод

public VisitCommandVariableValue ( CommandVariableValueSyntax node ) : void
node CommandVariableValueSyntax
Результат void

VisitCommandZTest() публичный Метод

public VisitCommandZTest ( CommandZTestSyntax node ) : void
node CommandZTestSyntax
Результат void

VisitCommandZWrite() публичный Метод

public VisitCommandZWrite ( CommandZWriteSyntax node ) : void
node CommandZWriteSyntax
Результат void

VisitCompilationUnit() публичный Метод

public VisitCompilationUnit ( CompilationUnitSyntax node ) : void
node CompilationUnitSyntax
Результат void

VisitEnumNameExpression() публичный Метод

public VisitEnumNameExpression ( EnumNameExpressionSyntax node ) : void
node EnumNameExpressionSyntax
Результат void

VisitGrabPass() публичный Метод

public VisitGrabPass ( GrabPassSyntax node ) : void
node GrabPassSyntax
Результат void

VisitLiteralExpression() публичный Метод

public VisitLiteralExpression ( LiteralExpressionSyntax node ) : void
node LiteralExpressionSyntax
Результат void

VisitPass() публичный Метод

public VisitPass ( PassSyntax node ) : void
node PassSyntax
Результат void

VisitPrefixUnaryExpression() публичный Метод

public VisitPrefixUnaryExpression ( PrefixUnaryExpressionSyntax node ) : void
node PrefixUnaryExpressionSyntax
Результат void

VisitShader() публичный Метод

public VisitShader ( ShaderSyntax node ) : void
node ShaderSyntax
Результат void

VisitShaderProperties() публичный Метод

public VisitShaderProperties ( ShaderPropertiesSyntax node ) : void
node ShaderPropertiesSyntax
Результат void

VisitShaderProperty() публичный Метод

public VisitShaderProperty ( ShaderPropertySyntax node ) : void
node ShaderPropertySyntax
Результат void

VisitShaderPropertyAttribute() публичный Метод

public VisitShaderPropertyAttribute ( ShaderPropertyAttributeSyntax node ) : void
node ShaderPropertyAttributeSyntax
Результат void

VisitShaderPropertyNumericDefaultValue() публичный Метод

public VisitShaderPropertyNumericDefaultValue ( ShaderPropertyNumericDefaultValueSyntax node ) : void
node ShaderPropertyNumericDefaultValueSyntax
Результат void

VisitShaderPropertyRangeType() публичный Метод

public VisitShaderPropertyRangeType ( ShaderPropertyRangeTypeSyntax node ) : void
node ShaderPropertyRangeTypeSyntax
Результат void

VisitShaderPropertySimpleType() публичный Метод

public VisitShaderPropertySimpleType ( ShaderPropertySimpleTypeSyntax node ) : void
node ShaderPropertySimpleTypeSyntax
Результат void

VisitShaderPropertyTextureDefaultValue() публичный Метод

public VisitShaderPropertyTextureDefaultValue ( ShaderPropertyTextureDefaultValueSyntax node ) : void
node ShaderPropertyTextureDefaultValueSyntax
Результат void

VisitShaderPropertyVectorDefaultValue() публичный Метод

public VisitShaderPropertyVectorDefaultValue ( ShaderPropertyVectorDefaultValueSyntax node ) : void
node ShaderPropertyVectorDefaultValueSyntax
Результат void

VisitShaderTag() публичный Метод

public VisitShaderTag ( ShaderTagSyntax node ) : void
node ShaderTagSyntax
Результат void

VisitShaderTags() публичный Метод

public VisitShaderTags ( ShaderTagsSyntax node ) : void
node ShaderTagsSyntax
Результат void

VisitSkippedTokensSyntaxTrivia() публичный Метод

public VisitSkippedTokensSyntaxTrivia ( SkippedTokensTriviaSyntax node ) : void
node SkippedTokensTriviaSyntax
Результат void

VisitSubShader() публичный Метод

public VisitSubShader ( SubShaderSyntax node ) : void
node SubShaderSyntax
Результат void

VisitSyntaxToken() публичный Метод

public VisitSyntaxToken ( SyntaxToken node ) : void
node SyntaxToken
Результат void

VisitSyntaxTrivia() публичный Метод

public VisitSyntaxTrivia ( SyntaxTrivia node ) : void
node SyntaxTrivia
Результат void

VisitUsePass() публичный Метод

public VisitUsePass ( UsePassSyntax node ) : void
node UsePassSyntax
Результат void

VisitVector3() публичный Метод

public VisitVector3 ( Vector3Syntax node ) : void
node Vector3Syntax
Результат void

VisitVector4() публичный Метод

public VisitVector4 ( Vector4Syntax node ) : void
node Vector4Syntax
Результат void