Exemple #1
0
        public override void Visit(LocalVariable o)
        {
            CreateSymbol(
                name: o.Name,
                kind: Kind.Variable,
                type: o.Type,

                positionAsToken: o.Tok,
                bodyStartPosAsToken: null,
                bodyEndPosAsToken: null,

                isDeclaration: true,
                declarationSymbol: null,
                addUsageAtDeclaration: false,

                canHaveChildren: false,
                canBeUsed: true
                );
        }
 public override void Leave(LocalVariable o)
 {
 }
 public override void Visit(LocalVariable o)
 {
 }