Ejemplo n.º 1
0
    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);
    }
Ejemplo n.º 2
0
 protected override void Visit(Identifier node) { Visit((Reference)node); }
Ejemplo n.º 3
0
 public VariableDeclaration(Identifier identifier, WriteIdentifierExpression initialization)
   : this(identifier.Symbol, initialization)
 {
   SourceOffset = identifier.SourceOffset;
 }
Ejemplo n.º 4
0
 protected override void Visit(Identifier node)
 {
   Debug.Assert(node.Symbol != null, "Expression {0} must have a symbol", node);
   base.Visit(node);
 }