public LabelStatement(Identifier name, Statement target) { Debug.Assert(name != null, "name cannot be null"); Debug.Assert(target != null, "target cannot be null"); Name = name.Symbol.Name; Target = target; SourceOffset = name.SourceOffset; Use(Target); }
protected override void Visit(Identifier node) { Visit((Reference)node); }
public VariableDeclaration(Identifier identifier, WriteIdentifierExpression initialization) : this(identifier.Symbol, initialization) { SourceOffset = identifier.SourceOffset; }
protected override void Visit(Identifier node) { Debug.Assert(node.Symbol != null, "Expression {0} must have a symbol", node); base.Visit(node); }