MCPcopy Create free account
hub / github.com/crossoverJie/gscript / PutTypeOfNode

Method PutTypeOfNode

resolver/annotated_tree.go:68–70  ·  view source on GitHub ↗
(ctx antlr.ParserRuleContext, t symbol.Type)

Source from the content-addressed store, hash-verified

66}
67
68func (a *AnnotatedTree) PutTypeOfNode(ctx antlr.ParserRuleContext, t symbol.Type) {
69 a.typeOfNode[ctx] = t
70}
71
72func (a *AnnotatedTree) GetTypeOfNode() map[antlr.ParserRuleContext]symbol.Type {
73 return a.typeOfNode

Callers 9

ExitTypeTypeOrVoidMethod · 0.80
ExitTypeTypeMethod · 0.80
ExitPrimitiveTypeMethod · 0.80
ExitFunctionTypeMethod · 0.80
ExitPrimaryMethod · 0.80
ExitFunctionCallMethod · 0.80
ExitExprMethod · 0.80
ExitLiteralMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected