C# Class ShaderTools.Unity.Syntax.SyntaxVisitor

Exibir arquivo Open project: tgjones/HlslTools Class Usage Examples

Public Methods

Method 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

Protected Methods

Method Description
DefaultVisit ( SyntaxNode node ) : void

Method Details

DefaultVisit() protected method

protected DefaultVisit ( SyntaxNode node ) : void
node SyntaxNode
return void

Visit() public method

public Visit ( SyntaxNode node ) : void
node SyntaxNode
return void

VisitAttributeArgumentList() public method

public VisitAttributeArgumentList ( AttributeArgumentListSyntax node ) : void
node AttributeArgumentListSyntax
return void

VisitCategory() public method

public VisitCategory ( CategorySyntax node ) : void
node CategorySyntax
return void

VisitCgInclude() public method

public VisitCgInclude ( CgIncludeSyntax node ) : void
node CgIncludeSyntax
return void

VisitCgProgram() public method

public VisitCgProgram ( CgProgramSyntax node ) : void
node CgProgramSyntax
return void

VisitCommandAlphaTestComparison() public method

public VisitCommandAlphaTestComparison ( CommandAlphaTestComparisonSyntax node ) : void
node CommandAlphaTestComparisonSyntax
return void

VisitCommandAlphaTestOff() public method

public VisitCommandAlphaTestOff ( CommandAlphaTestOffSyntax node ) : void
node CommandAlphaTestOffSyntax
return void

VisitCommandAlphaToMask() public method

public VisitCommandAlphaToMask ( CommandAlphaToMaskSyntax node ) : void
node CommandAlphaToMaskSyntax
return void

VisitCommandBindChannels() public method

public VisitCommandBindChannels ( CommandBindChannelsSyntax node ) : void
node CommandBindChannelsSyntax
return void

VisitCommandBindChannelsBind() public method

public VisitCommandBindChannelsBind ( CommandBindChannelsBindSyntax node ) : void
node CommandBindChannelsBindSyntax
return void

VisitCommandBlendColor() public method

public VisitCommandBlendColor ( CommandBlendColorSyntax node ) : void
node CommandBlendColorSyntax
return void

VisitCommandBlendColorAlpha() public method

public VisitCommandBlendColorAlpha ( CommandBlendColorAlphaSyntax node ) : void
node CommandBlendColorAlphaSyntax
return void

VisitCommandBlendOff() public method

public VisitCommandBlendOff ( CommandBlendOffSyntax node ) : void
node CommandBlendOffSyntax
return void

VisitCommandColorMask() public method

public VisitCommandColorMask ( CommandColorMaskSyntax node ) : void
node CommandColorMaskSyntax
return void

VisitCommandColorMaterial() public method

public VisitCommandColorMaterial ( CommandColorMaterialSyntax node ) : void
node CommandColorMaterialSyntax
return void

VisitCommandConstantColorValue() public method

public VisitCommandConstantColorValue ( CommandConstantColorValueSyntax node ) : void
node CommandConstantColorValueSyntax
return void

VisitCommandConstantValue() public method

public VisitCommandConstantValue ( CommandConstantValueSyntax node ) : void
node CommandConstantValueSyntax
return void

VisitCommandCull() public method

public VisitCommandCull ( CommandCullSyntax node ) : void
node CommandCullSyntax
return void

VisitCommandCustomEditor() public method

public VisitCommandCustomEditor ( CommandCustomEditorSyntax node ) : void
node CommandCustomEditorSyntax
return void

VisitCommandDependency() public method

public VisitCommandDependency ( CommandDependencySyntax node ) : void
node CommandDependencySyntax
return void

VisitCommandFallback() public method

public VisitCommandFallback ( CommandFallbackSyntax node ) : void
node CommandFallbackSyntax
return void

VisitCommandFog() public method

public VisitCommandFog ( CommandFogSyntax node ) : void
node CommandFogSyntax
return void

VisitCommandFogColor() public method

public VisitCommandFogColor ( CommandFogColorSyntax node ) : void
node CommandFogColorSyntax
return void

VisitCommandFogDensity() public method

public VisitCommandFogDensity ( CommandFogDensitySyntax node ) : void
node CommandFogDensitySyntax
return void

VisitCommandFogMode() public method

public VisitCommandFogMode ( CommandFogModeSyntax node ) : void
node CommandFogModeSyntax
return void

VisitCommandFogRange() public method

public VisitCommandFogRange ( CommandFogRangeSyntax node ) : void
node CommandFogRangeSyntax
return void

VisitCommandLighting() public method

public VisitCommandLighting ( CommandLightingSyntax node ) : void
node CommandLightingSyntax
return void

VisitCommandLod() public method

public VisitCommandLod ( CommandLodSyntax node ) : void
node CommandLodSyntax
return void

VisitCommandMaterial() public method

public VisitCommandMaterial ( CommandMaterialSyntax node ) : void
node CommandMaterialSyntax
return void

VisitCommandMaterialAmbient() public method

public VisitCommandMaterialAmbient ( CommandMaterialAmbientSyntax node ) : void
node CommandMaterialAmbientSyntax
return void

VisitCommandMaterialDiffuse() public method

public VisitCommandMaterialDiffuse ( CommandMaterialDiffuseSyntax node ) : void
node CommandMaterialDiffuseSyntax
return void

VisitCommandMaterialEmission() public method

public VisitCommandMaterialEmission ( CommandMaterialEmissionSyntax node ) : void
node CommandMaterialEmissionSyntax
return void

VisitCommandMaterialShininess() public method

public VisitCommandMaterialShininess ( CommandMaterialShininessSyntax node ) : void
node CommandMaterialShininessSyntax
return void

VisitCommandMaterialSpecular() public method

public VisitCommandMaterialSpecular ( CommandMaterialSpecularSyntax node ) : void
node CommandMaterialSpecularSyntax
return void

VisitCommandName() public method

public VisitCommandName ( CommandNameSyntax node ) : void
node CommandNameSyntax
return void

VisitCommandOffset() public method

public VisitCommandOffset ( CommandOffsetSyntax node ) : void
node CommandOffsetSyntax
return void

VisitCommandSeparateSpecular() public method

public VisitCommandSeparateSpecular ( CommandSeparateSpecularSyntax node ) : void
node CommandSeparateSpecularSyntax
return void

VisitCommandSetTexture() public method

public VisitCommandSetTexture ( CommandSetTextureSyntax node ) : void
node CommandSetTextureSyntax
return void

VisitCommandSetTextureCombine() public method

public VisitCommandSetTextureCombine ( CommandSetTextureCombineSyntax node ) : void
node CommandSetTextureCombineSyntax
return void

VisitCommandSetTextureCombineAlphaComponent() public method

public VisitCommandSetTextureCombineAlphaComponent ( CommandSetTextureCombineAlphaComponentSyntax node ) : void
node CommandSetTextureCombineAlphaComponentSyntax
return void

VisitCommandSetTextureCombineBinaryValue() public method

public VisitCommandSetTextureCombineBinaryValue ( CommandSetTextureCombineBinaryValueSyntax node ) : void
node CommandSetTextureCombineBinaryValueSyntax
return void

VisitCommandSetTextureCombineLerpValue() public method

public VisitCommandSetTextureCombineLerpValue ( CommandSetTextureCombineLerpValueSyntax node ) : void
node CommandSetTextureCombineLerpValueSyntax
return void

VisitCommandSetTextureCombineMultiplyAlphaValue() public method

public VisitCommandSetTextureCombineMultiplyAlphaValue ( CommandSetTextureCombineMultiplyAlphaValueSyntax node ) : void
node CommandSetTextureCombineMultiplyAlphaValueSyntax
return void

VisitCommandSetTextureCombineSource() public method

public VisitCommandSetTextureCombineSource ( CommandSetTextureCombineSourceSyntax node ) : void
node CommandSetTextureCombineSourceSyntax
return void

VisitCommandSetTextureCombineUnaryValue() public method

public VisitCommandSetTextureCombineUnaryValue ( CommandSetTextureCombineUnaryValueSyntax node ) : void
node CommandSetTextureCombineUnaryValueSyntax
return void

VisitCommandSetTextureConstantColor() public method

public VisitCommandSetTextureConstantColor ( CommandSetTextureConstantColorSyntax node ) : void
node CommandSetTextureConstantColorSyntax
return void

VisitCommandSetTextureMatrix() public method

public VisitCommandSetTextureMatrix ( CommandSetTextureMatrixSyntax node ) : void
node CommandSetTextureMatrixSyntax
return void

VisitCommandStencil() public method

public VisitCommandStencil ( CommandStencilSyntax node ) : void
node CommandStencilSyntax
return void

VisitCommandStencilComp() public method

public VisitCommandStencilComp ( CommandStencilCompSyntax node ) : void
node CommandStencilCompSyntax
return void

VisitCommandStencilFail() public method

public VisitCommandStencilFail ( CommandStencilFailSyntax node ) : void
node CommandStencilFailSyntax
return void

VisitCommandStencilPass() public method

public VisitCommandStencilPass ( CommandStencilPassSyntax node ) : void
node CommandStencilPassSyntax
return void

VisitCommandStencilReadMask() public method

public VisitCommandStencilReadMask ( CommandStencilReadMaskSyntax node ) : void
node CommandStencilReadMaskSyntax
return void

VisitCommandStencilRef() public method

public VisitCommandStencilRef ( CommandStencilRefSyntax node ) : void
node CommandStencilRefSyntax
return void

VisitCommandStencilWriteMask() public method

public VisitCommandStencilWriteMask ( CommandStencilWriteMaskSyntax node ) : void
node CommandStencilWriteMaskSyntax
return void

VisitCommandStencilZFail() public method

public VisitCommandStencilZFail ( CommandStencilZFailSyntax node ) : void
node CommandStencilZFailSyntax
return void

VisitCommandVariableValue() public method

public VisitCommandVariableValue ( CommandVariableValueSyntax node ) : void
node CommandVariableValueSyntax
return void

VisitCommandZTest() public method

public VisitCommandZTest ( CommandZTestSyntax node ) : void
node CommandZTestSyntax
return void

VisitCommandZWrite() public method

public VisitCommandZWrite ( CommandZWriteSyntax node ) : void
node CommandZWriteSyntax
return void

VisitCompilationUnit() public method

public VisitCompilationUnit ( CompilationUnitSyntax node ) : void
node CompilationUnitSyntax
return void

VisitEnumNameExpression() public method

public VisitEnumNameExpression ( EnumNameExpressionSyntax node ) : void
node EnumNameExpressionSyntax
return void

VisitGrabPass() public method

public VisitGrabPass ( GrabPassSyntax node ) : void
node GrabPassSyntax
return void

VisitLiteralExpression() public method

public VisitLiteralExpression ( LiteralExpressionSyntax node ) : void
node LiteralExpressionSyntax
return void

VisitPass() public method

public VisitPass ( PassSyntax node ) : void
node PassSyntax
return void

VisitPrefixUnaryExpression() public method

public VisitPrefixUnaryExpression ( PrefixUnaryExpressionSyntax node ) : void
node PrefixUnaryExpressionSyntax
return void

VisitShader() public method

public VisitShader ( ShaderSyntax node ) : void
node ShaderSyntax
return void

VisitShaderProperties() public method

public VisitShaderProperties ( ShaderPropertiesSyntax node ) : void
node ShaderPropertiesSyntax
return void

VisitShaderProperty() public method

public VisitShaderProperty ( ShaderPropertySyntax node ) : void
node ShaderPropertySyntax
return void

VisitShaderPropertyAttribute() public method

public VisitShaderPropertyAttribute ( ShaderPropertyAttributeSyntax node ) : void
node ShaderPropertyAttributeSyntax
return void

VisitShaderPropertyNumericDefaultValue() public method

public VisitShaderPropertyNumericDefaultValue ( ShaderPropertyNumericDefaultValueSyntax node ) : void
node ShaderPropertyNumericDefaultValueSyntax
return void

VisitShaderPropertyRangeType() public method

public VisitShaderPropertyRangeType ( ShaderPropertyRangeTypeSyntax node ) : void
node ShaderPropertyRangeTypeSyntax
return void

VisitShaderPropertySimpleType() public method

public VisitShaderPropertySimpleType ( ShaderPropertySimpleTypeSyntax node ) : void
node ShaderPropertySimpleTypeSyntax
return void

VisitShaderPropertyTextureDefaultValue() public method

public VisitShaderPropertyTextureDefaultValue ( ShaderPropertyTextureDefaultValueSyntax node ) : void
node ShaderPropertyTextureDefaultValueSyntax
return void

VisitShaderPropertyVectorDefaultValue() public method

public VisitShaderPropertyVectorDefaultValue ( ShaderPropertyVectorDefaultValueSyntax node ) : void
node ShaderPropertyVectorDefaultValueSyntax
return void

VisitShaderTag() public method

public VisitShaderTag ( ShaderTagSyntax node ) : void
node ShaderTagSyntax
return void

VisitShaderTags() public method

public VisitShaderTags ( ShaderTagsSyntax node ) : void
node ShaderTagsSyntax
return void

VisitSkippedTokensSyntaxTrivia() public method

public VisitSkippedTokensSyntaxTrivia ( SkippedTokensTriviaSyntax node ) : void
node SkippedTokensTriviaSyntax
return void

VisitSubShader() public method

public VisitSubShader ( SubShaderSyntax node ) : void
node SubShaderSyntax
return void

VisitSyntaxToken() public method

public VisitSyntaxToken ( SyntaxToken node ) : void
node SyntaxToken
return void

VisitSyntaxTrivia() public method

public VisitSyntaxTrivia ( SyntaxTrivia node ) : void
node SyntaxTrivia
return void

VisitUsePass() public method

public VisitUsePass ( UsePassSyntax node ) : void
node UsePassSyntax
return void

VisitVector3() public method

public VisitVector3 ( Vector3Syntax node ) : void
node Vector3Syntax
return void

VisitVector4() public method

public VisitVector4 ( Vector4Syntax node ) : void
node Vector4Syntax
return void