public override void Visit(ConstantVariable constantVariable) { var identInfo = new IdentifierInfo { name = constantVariable.VariableName, typeAST = null, position = _currentNodePosition, scopeId = _currentScope.id, isConstant = true }; AddIdentInfoToSymTable(identInfo); IdentifiersToBeInferred.Add(new IdentExpr { identInfo = identInfo, expr = constantVariable.ExpressionValue, file = _symTable.FilePath }); if (_currentScope.id != 0) { return; } GlobalIdentifiers.Add(constantVariable.VariableName); }
public override void Visit(ConstantVariable constantVariable) { }
public virtual void Visit(ConstantVariable constantVariable) { }