MCPcopy Create free account
hub / github.com/csyonghe/Spire / IsComponentFunction

Method IsComponentFunction

Source/SpireCore/Syntax.h:1031–1031  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1029 return GetMembersOfType<ParameterSyntaxNode>();
1030 }
1031 bool IsComponentFunction() { return GetParameters().Count() != 0; }
1032 virtual RefPtr<SyntaxNode> Accept(SyntaxVisitor * visitor) override;
1033 virtual ComponentSyntaxNode * Clone(CloneContext & ctx) override;
1034 };

Callers 7

GatherComponentsFunction · 0.80
ProcessShaderMethod · 0.80
VisitReturnStatementMethod · 0.80
VisitInvokeExpressionMethod · 0.80
VisitImportMethod · 0.80
AddNewComponentSymbolMethod · 0.80
VariantIR.cppFile · 0.80

Calls 1

CountMethod · 0.45

Tested by

no test coverage detected