Logo Search packages:      
Sourcecode: sablecc version File versions  Download package

AnalysisAdapter.java

/* This file was generated by SableCC (http://www.sablecc.org/). */

package org.sablecc.sablecc.analysis;

import java.util.*;
import org.sablecc.sablecc.node.*;

public class AnalysisAdapter implements Analysis
{
  private Hashtable in;
  private Hashtable out;

  public Object getIn(Node node)
  {
    if(in == null)
    {
      return null;
    }

    return in.get(node);
  }

  public void setIn(Node node, Object in)
  {
    if(this.in == null)
    {
      this.in = new Hashtable(1);
    }

    if(in != null)
    {
      this.in.put(node, in);
    }
    else
    {
      this.in.remove(node);
    }
  }

  public Object getOut(Node node)
  {
    if(out == null)
    {
      return null;
    }

    return out.get(node);
  }

  public void setOut(Node node, Object out)
  {
    if(this.out == null)
    {
      this.out = new Hashtable(1);
    }

    if(out != null)
    {
      this.out.put(node, out);
    }
    else
    {
      this.out.remove(node);
    }
  }
  public void caseStart(Start node)
  {
    defaultCase(node);
  }

  public void caseAGrammar(AGrammar node)
  {
    defaultCase(node);
  }

  public void caseAPackage(APackage node)
  {
    defaultCase(node);
  }

  public void caseAPkgName(APkgName node)
  {
    defaultCase(node);
  }

  public void caseAPkgNameTail(APkgNameTail node)
  {
    defaultCase(node);
  }

  public void caseAHelpers(AHelpers node)
  {
    defaultCase(node);
  }

  public void caseAHelperDef(AHelperDef node)
  {
    defaultCase(node);
  }

  public void caseAStates(AStates node)
  {
    defaultCase(node);
  }

  public void caseAIdList(AIdList node)
  {
    defaultCase(node);
  }

  public void caseAIdListTail(AIdListTail node)
  {
    defaultCase(node);
  }

  public void caseATokens(ATokens node)
  {
    defaultCase(node);
  }

  public void caseATokenDef(ATokenDef node)
  {
    defaultCase(node);
  }

  public void caseAStateList(AStateList node)
  {
    defaultCase(node);
  }

  public void caseAStateListTail(AStateListTail node)
  {
    defaultCase(node);
  }

  public void caseATransition(ATransition node)
  {
    defaultCase(node);
  }

  public void caseAIgnTokens(AIgnTokens node)
  {
    defaultCase(node);
  }

  public void caseALookAhead(ALookAhead node)
  {
    defaultCase(node);
  }

  public void caseARegExp(ARegExp node)
  {
    defaultCase(node);
  }

  public void caseARegExpTail(ARegExpTail node)
  {
    defaultCase(node);
  }

  public void caseAConcat(AConcat node)
  {
    defaultCase(node);
  }

  public void caseAUnExp(AUnExp node)
  {
    defaultCase(node);
  }

  public void caseACharBasic(ACharBasic node)
  {
    defaultCase(node);
  }

  public void caseASetBasic(ASetBasic node)
  {
    defaultCase(node);
  }

  public void caseAStringBasic(AStringBasic node)
  {
    defaultCase(node);
  }

  public void caseAIdBasic(AIdBasic node)
  {
    defaultCase(node);
  }

  public void caseARegExpBasic(ARegExpBasic node)
  {
    defaultCase(node);
  }

  public void caseACharChar(ACharChar node)
  {
    defaultCase(node);
  }

  public void caseADecChar(ADecChar node)
  {
    defaultCase(node);
  }

  public void caseAHexChar(AHexChar node)
  {
    defaultCase(node);
  }

  public void caseAOperationSet(AOperationSet node)
  {
    defaultCase(node);
  }

  public void caseAIntervalSet(AIntervalSet node)
  {
    defaultCase(node);
  }

  public void caseAStarUnOp(AStarUnOp node)
  {
    defaultCase(node);
  }

  public void caseAQMarkUnOp(AQMarkUnOp node)
  {
    defaultCase(node);
  }

  public void caseAPlusUnOp(APlusUnOp node)
  {
    defaultCase(node);
  }

  public void caseAPlusBinOp(APlusBinOp node)
  {
    defaultCase(node);
  }

  public void caseAMinusBinOp(AMinusBinOp node)
  {
    defaultCase(node);
  }

  public void caseAProductions(AProductions node)
  {
    defaultCase(node);
  }

  public void caseAProd(AProd node)
  {
    defaultCase(node);
  }

  public void caseAAlts(AAlts node)
  {
    defaultCase(node);
  }

  public void caseAAltsTail(AAltsTail node)
  {
    defaultCase(node);
  }

  public void caseAParsedAlt(AParsedAlt node)
  {
    defaultCase(node);
  }

  public void caseAIgnoredAlt(AIgnoredAlt node)
  {
    defaultCase(node);
  }

  public void caseAAltName(AAltName node)
  {
    defaultCase(node);
  }

  public void caseAElem(AElem node)
  {
    defaultCase(node);
  }

  public void caseAElemName(AElemName node)
  {
    defaultCase(node);
  }

  public void caseATokenSpecifier(ATokenSpecifier node)
  {
    defaultCase(node);
  }

  public void caseAProductionSpecifier(AProductionSpecifier node)
  {
    defaultCase(node);
  }

  public void caseTPkgId(TPkgId node)
  {
    defaultCase(node);
  }

  public void caseTPackage(TPackage node)
  {
    defaultCase(node);
  }

  public void caseTStates(TStates node)
  {
    defaultCase(node);
  }

  public void caseTHelpers(THelpers node)
  {
    defaultCase(node);
  }

  public void caseTTokens(TTokens node)
  {
    defaultCase(node);
  }

  public void caseTIgnored(TIgnored node)
  {
    defaultCase(node);
  }

  public void caseTProductions(TProductions node)
  {
    defaultCase(node);
  }

  public void caseTTokenSpecifier(TTokenSpecifier node)
  {
    defaultCase(node);
  }

  public void caseTProductionSpecifier(TProductionSpecifier node)
  {
    defaultCase(node);
  }

  public void caseTDot(TDot node)
  {
    defaultCase(node);
  }

  public void caseTDDot(TDDot node)
  {
    defaultCase(node);
  }

  public void caseTSemicolon(TSemicolon node)
  {
    defaultCase(node);
  }

  public void caseTEqual(TEqual node)
  {
    defaultCase(node);
  }

  public void caseTLBkt(TLBkt node)
  {
    defaultCase(node);
  }

  public void caseTRBkt(TRBkt node)
  {
    defaultCase(node);
  }

  public void caseTLPar(TLPar node)
  {
    defaultCase(node);
  }

  public void caseTRPar(TRPar node)
  {
    defaultCase(node);
  }

  public void caseTLBrace(TLBrace node)
  {
    defaultCase(node);
  }

  public void caseTRBrace(TRBrace node)
  {
    defaultCase(node);
  }

  public void caseTPlus(TPlus node)
  {
    defaultCase(node);
  }

  public void caseTMinus(TMinus node)
  {
    defaultCase(node);
  }

  public void caseTQMark(TQMark node)
  {
    defaultCase(node);
  }

  public void caseTStar(TStar node)
  {
    defaultCase(node);
  }

  public void caseTBar(TBar node)
  {
    defaultCase(node);
  }

  public void caseTComma(TComma node)
  {
    defaultCase(node);
  }

  public void caseTSlash(TSlash node)
  {
    defaultCase(node);
  }

  public void caseTArrow(TArrow node)
  {
    defaultCase(node);
  }

  public void caseTColon(TColon node)
  {
    defaultCase(node);
  }

  public void caseTId(TId node)
  {
    defaultCase(node);
  }

  public void caseTChar(TChar node)
  {
    defaultCase(node);
  }

  public void caseTDecChar(TDecChar node)
  {
    defaultCase(node);
  }

  public void caseTHexChar(THexChar node)
  {
    defaultCase(node);
  }

  public void caseTString(TString node)
  {
    defaultCase(node);
  }

  public void caseTBlank(TBlank node)
  {
    defaultCase(node);
  }

  public void caseTComment(TComment node)
  {
    defaultCase(node);
  }

  public void caseEOF(EOF node)
  {
    defaultCase(node);
  }

  public void defaultCase(Node node)
  {}
}

Generated by  Doxygen 1.6.0   Back to index