public override void ContextVerify(IContext context) { var contextElement = context.GetElement(this.Identifier.Symbol, context); if (contextElement != null) { throw new SyntaxException("Variable with the same name is already exist", this.Identifier.Line, this.Identifier.Column); } var tlType = this.Type.Symbol.GetTLType(context.ClassContext.Packages); context.AddElement(new Variable(this.Identifier.Symbol, tlType)); }