C# Class ShaderTools.Unity.Syntax.SyntaxVisitor

Afficher le fichier Open project: tgjones/HlslTools Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode Description
DefaultVisit ( SyntaxNode node ) : void

Method Details

DefaultVisit() protected méthode

protected DefaultVisit ( SyntaxNode node ) : void
node SyntaxNode
Résultat void

Visit() public méthode

public Visit ( SyntaxNode node ) : void
node SyntaxNode
Résultat void

VisitAttributeArgumentList() public méthode

public VisitAttributeArgumentList ( AttributeArgumentListSyntax node ) : void
node AttributeArgumentListSyntax
Résultat void

VisitCategory() public méthode

public VisitCategory ( CategorySyntax node ) : void
node CategorySyntax
Résultat void

VisitCgInclude() public méthode

public VisitCgInclude ( CgIncludeSyntax node ) : void
node CgIncludeSyntax
Résultat void

VisitCgProgram() public méthode

public VisitCgProgram ( CgProgramSyntax node ) : void
node CgProgramSyntax
Résultat void

VisitCommandAlphaTestComparison() public méthode

public VisitCommandAlphaTestComparison ( CommandAlphaTestComparisonSyntax node ) : void
node CommandAlphaTestComparisonSyntax
Résultat void

VisitCommandAlphaTestOff() public méthode

public VisitCommandAlphaTestOff ( CommandAlphaTestOffSyntax node ) : void
node CommandAlphaTestOffSyntax
Résultat void

VisitCommandAlphaToMask() public méthode

public VisitCommandAlphaToMask ( CommandAlphaToMaskSyntax node ) : void
node CommandAlphaToMaskSyntax
Résultat void

VisitCommandBindChannels() public méthode

public VisitCommandBindChannels ( CommandBindChannelsSyntax node ) : void
node CommandBindChannelsSyntax
Résultat void

VisitCommandBindChannelsBind() public méthode

public VisitCommandBindChannelsBind ( CommandBindChannelsBindSyntax node ) : void
node CommandBindChannelsBindSyntax
Résultat void

VisitCommandBlendColor() public méthode

public VisitCommandBlendColor ( CommandBlendColorSyntax node ) : void
node CommandBlendColorSyntax
Résultat void

VisitCommandBlendColorAlpha() public méthode

public VisitCommandBlendColorAlpha ( CommandBlendColorAlphaSyntax node ) : void
node CommandBlendColorAlphaSyntax
Résultat void

VisitCommandBlendOff() public méthode

public VisitCommandBlendOff ( CommandBlendOffSyntax node ) : void
node CommandBlendOffSyntax
Résultat void

VisitCommandColorMask() public méthode

public VisitCommandColorMask ( CommandColorMaskSyntax node ) : void
node CommandColorMaskSyntax
Résultat void

VisitCommandColorMaterial() public méthode

public VisitCommandColorMaterial ( CommandColorMaterialSyntax node ) : void
node CommandColorMaterialSyntax
Résultat void

VisitCommandConstantColorValue() public méthode

public VisitCommandConstantColorValue ( CommandConstantColorValueSyntax node ) : void
node CommandConstantColorValueSyntax
Résultat void

VisitCommandConstantValue() public méthode

public VisitCommandConstantValue ( CommandConstantValueSyntax node ) : void
node CommandConstantValueSyntax
Résultat void

VisitCommandCull() public méthode

public VisitCommandCull ( CommandCullSyntax node ) : void
node CommandCullSyntax
Résultat void

VisitCommandCustomEditor() public méthode

public VisitCommandCustomEditor ( CommandCustomEditorSyntax node ) : void
node CommandCustomEditorSyntax
Résultat void

VisitCommandDependency() public méthode

public VisitCommandDependency ( CommandDependencySyntax node ) : void
node CommandDependencySyntax
Résultat void

VisitCommandFallback() public méthode

public VisitCommandFallback ( CommandFallbackSyntax node ) : void
node CommandFallbackSyntax
Résultat void

VisitCommandFog() public méthode

public VisitCommandFog ( CommandFogSyntax node ) : void
node CommandFogSyntax
Résultat void

VisitCommandFogColor() public méthode

public VisitCommandFogColor ( CommandFogColorSyntax node ) : void
node CommandFogColorSyntax
Résultat void

VisitCommandFogDensity() public méthode

public VisitCommandFogDensity ( CommandFogDensitySyntax node ) : void
node CommandFogDensitySyntax
Résultat void

VisitCommandFogMode() public méthode

public VisitCommandFogMode ( CommandFogModeSyntax node ) : void
node CommandFogModeSyntax
Résultat void

VisitCommandFogRange() public méthode

public VisitCommandFogRange ( CommandFogRangeSyntax node ) : void
node CommandFogRangeSyntax
Résultat void

VisitCommandLighting() public méthode

public VisitCommandLighting ( CommandLightingSyntax node ) : void
node CommandLightingSyntax
Résultat void

VisitCommandLod() public méthode

public VisitCommandLod ( CommandLodSyntax node ) : void
node CommandLodSyntax
Résultat void

VisitCommandMaterial() public méthode

public VisitCommandMaterial ( CommandMaterialSyntax node ) : void
node CommandMaterialSyntax
Résultat void

VisitCommandMaterialAmbient() public méthode

public VisitCommandMaterialAmbient ( CommandMaterialAmbientSyntax node ) : void
node CommandMaterialAmbientSyntax
Résultat void

VisitCommandMaterialDiffuse() public méthode

public VisitCommandMaterialDiffuse ( CommandMaterialDiffuseSyntax node ) : void
node CommandMaterialDiffuseSyntax
Résultat void

VisitCommandMaterialEmission() public méthode

public VisitCommandMaterialEmission ( CommandMaterialEmissionSyntax node ) : void
node CommandMaterialEmissionSyntax
Résultat void

VisitCommandMaterialShininess() public méthode

public VisitCommandMaterialShininess ( CommandMaterialShininessSyntax node ) : void
node CommandMaterialShininessSyntax
Résultat void

VisitCommandMaterialSpecular() public méthode

public VisitCommandMaterialSpecular ( CommandMaterialSpecularSyntax node ) : void
node CommandMaterialSpecularSyntax
Résultat void

VisitCommandName() public méthode

public VisitCommandName ( CommandNameSyntax node ) : void
node CommandNameSyntax
Résultat void

VisitCommandOffset() public méthode

public VisitCommandOffset ( CommandOffsetSyntax node ) : void
node CommandOffsetSyntax
Résultat void

VisitCommandSeparateSpecular() public méthode

public VisitCommandSeparateSpecular ( CommandSeparateSpecularSyntax node ) : void
node CommandSeparateSpecularSyntax
Résultat void

VisitCommandSetTexture() public méthode

public VisitCommandSetTexture ( CommandSetTextureSyntax node ) : void
node CommandSetTextureSyntax
Résultat void

VisitCommandSetTextureCombine() public méthode

public VisitCommandSetTextureCombine ( CommandSetTextureCombineSyntax node ) : void
node CommandSetTextureCombineSyntax
Résultat void

VisitCommandSetTextureCombineAlphaComponent() public méthode

public VisitCommandSetTextureCombineAlphaComponent ( CommandSetTextureCombineAlphaComponentSyntax node ) : void
node CommandSetTextureCombineAlphaComponentSyntax
Résultat void

VisitCommandSetTextureCombineBinaryValue() public méthode

public VisitCommandSetTextureCombineBinaryValue ( CommandSetTextureCombineBinaryValueSyntax node ) : void
node CommandSetTextureCombineBinaryValueSyntax
Résultat void

VisitCommandSetTextureCombineLerpValue() public méthode

public VisitCommandSetTextureCombineLerpValue ( CommandSetTextureCombineLerpValueSyntax node ) : void
node CommandSetTextureCombineLerpValueSyntax
Résultat void

VisitCommandSetTextureCombineMultiplyAlphaValue() public méthode

public VisitCommandSetTextureCombineMultiplyAlphaValue ( CommandSetTextureCombineMultiplyAlphaValueSyntax node ) : void
node CommandSetTextureCombineMultiplyAlphaValueSyntax
Résultat void

VisitCommandSetTextureCombineSource() public méthode

public VisitCommandSetTextureCombineSource ( CommandSetTextureCombineSourceSyntax node ) : void
node CommandSetTextureCombineSourceSyntax
Résultat void

VisitCommandSetTextureCombineUnaryValue() public méthode

public VisitCommandSetTextureCombineUnaryValue ( CommandSetTextureCombineUnaryValueSyntax node ) : void
node CommandSetTextureCombineUnaryValueSyntax
Résultat void

VisitCommandSetTextureConstantColor() public méthode

public VisitCommandSetTextureConstantColor ( CommandSetTextureConstantColorSyntax node ) : void
node CommandSetTextureConstantColorSyntax
Résultat void

VisitCommandSetTextureMatrix() public méthode

public VisitCommandSetTextureMatrix ( CommandSetTextureMatrixSyntax node ) : void
node CommandSetTextureMatrixSyntax
Résultat void

VisitCommandStencil() public méthode

public VisitCommandStencil ( CommandStencilSyntax node ) : void
node CommandStencilSyntax
Résultat void

VisitCommandStencilComp() public méthode

public VisitCommandStencilComp ( CommandStencilCompSyntax node ) : void
node CommandStencilCompSyntax
Résultat void

VisitCommandStencilFail() public méthode

public VisitCommandStencilFail ( CommandStencilFailSyntax node ) : void
node CommandStencilFailSyntax
Résultat void

VisitCommandStencilPass() public méthode

public VisitCommandStencilPass ( CommandStencilPassSyntax node ) : void
node CommandStencilPassSyntax
Résultat void

VisitCommandStencilReadMask() public méthode

public VisitCommandStencilReadMask ( CommandStencilReadMaskSyntax node ) : void
node CommandStencilReadMaskSyntax
Résultat void

VisitCommandStencilRef() public méthode

public VisitCommandStencilRef ( CommandStencilRefSyntax node ) : void
node CommandStencilRefSyntax
Résultat void

VisitCommandStencilWriteMask() public méthode

public VisitCommandStencilWriteMask ( CommandStencilWriteMaskSyntax node ) : void
node CommandStencilWriteMaskSyntax
Résultat void

VisitCommandStencilZFail() public méthode

public VisitCommandStencilZFail ( CommandStencilZFailSyntax node ) : void
node CommandStencilZFailSyntax
Résultat void

VisitCommandVariableValue() public méthode

public VisitCommandVariableValue ( CommandVariableValueSyntax node ) : void
node CommandVariableValueSyntax
Résultat void

VisitCommandZTest() public méthode

public VisitCommandZTest ( CommandZTestSyntax node ) : void
node CommandZTestSyntax
Résultat void

VisitCommandZWrite() public méthode

public VisitCommandZWrite ( CommandZWriteSyntax node ) : void
node CommandZWriteSyntax
Résultat void

VisitCompilationUnit() public méthode

public VisitCompilationUnit ( CompilationUnitSyntax node ) : void
node CompilationUnitSyntax
Résultat void

VisitEnumNameExpression() public méthode

public VisitEnumNameExpression ( EnumNameExpressionSyntax node ) : void
node EnumNameExpressionSyntax
Résultat void

VisitGrabPass() public méthode

public VisitGrabPass ( GrabPassSyntax node ) : void
node GrabPassSyntax
Résultat void

VisitLiteralExpression() public méthode

public VisitLiteralExpression ( LiteralExpressionSyntax node ) : void
node LiteralExpressionSyntax
Résultat void

VisitPass() public méthode

public VisitPass ( PassSyntax node ) : void
node PassSyntax
Résultat void

VisitPrefixUnaryExpression() public méthode

public VisitPrefixUnaryExpression ( PrefixUnaryExpressionSyntax node ) : void
node PrefixUnaryExpressionSyntax
Résultat void

VisitShader() public méthode

public VisitShader ( ShaderSyntax node ) : void
node ShaderSyntax
Résultat void

VisitShaderProperties() public méthode

public VisitShaderProperties ( ShaderPropertiesSyntax node ) : void
node ShaderPropertiesSyntax
Résultat void

VisitShaderProperty() public méthode

public VisitShaderProperty ( ShaderPropertySyntax node ) : void
node ShaderPropertySyntax
Résultat void

VisitShaderPropertyAttribute() public méthode

public VisitShaderPropertyAttribute ( ShaderPropertyAttributeSyntax node ) : void
node ShaderPropertyAttributeSyntax
Résultat void

VisitShaderPropertyNumericDefaultValue() public méthode

public VisitShaderPropertyNumericDefaultValue ( ShaderPropertyNumericDefaultValueSyntax node ) : void
node ShaderPropertyNumericDefaultValueSyntax
Résultat void

VisitShaderPropertyRangeType() public méthode

public VisitShaderPropertyRangeType ( ShaderPropertyRangeTypeSyntax node ) : void
node ShaderPropertyRangeTypeSyntax
Résultat void

VisitShaderPropertySimpleType() public méthode

public VisitShaderPropertySimpleType ( ShaderPropertySimpleTypeSyntax node ) : void
node ShaderPropertySimpleTypeSyntax
Résultat void

VisitShaderPropertyTextureDefaultValue() public méthode

public VisitShaderPropertyTextureDefaultValue ( ShaderPropertyTextureDefaultValueSyntax node ) : void
node ShaderPropertyTextureDefaultValueSyntax
Résultat void

VisitShaderPropertyVectorDefaultValue() public méthode

public VisitShaderPropertyVectorDefaultValue ( ShaderPropertyVectorDefaultValueSyntax node ) : void
node ShaderPropertyVectorDefaultValueSyntax
Résultat void

VisitShaderTag() public méthode

public VisitShaderTag ( ShaderTagSyntax node ) : void
node ShaderTagSyntax
Résultat void

VisitShaderTags() public méthode

public VisitShaderTags ( ShaderTagsSyntax node ) : void
node ShaderTagsSyntax
Résultat void

VisitSkippedTokensSyntaxTrivia() public méthode

public VisitSkippedTokensSyntaxTrivia ( SkippedTokensTriviaSyntax node ) : void
node SkippedTokensTriviaSyntax
Résultat void

VisitSubShader() public méthode

public VisitSubShader ( SubShaderSyntax node ) : void
node SubShaderSyntax
Résultat void

VisitSyntaxToken() public méthode

public VisitSyntaxToken ( SyntaxToken node ) : void
node SyntaxToken
Résultat void

VisitSyntaxTrivia() public méthode

public VisitSyntaxTrivia ( SyntaxTrivia node ) : void
node SyntaxTrivia
Résultat void

VisitUsePass() public méthode

public VisitUsePass ( UsePassSyntax node ) : void
node UsePassSyntax
Résultat void

VisitVector3() public méthode

public VisitVector3 ( Vector3Syntax node ) : void
node Vector3Syntax
Résultat void

VisitVector4() public méthode

public VisitVector4 ( Vector4Syntax node ) : void
node Vector4Syntax
Résultat void