X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.basicexpression%2Fsrc%2Forg%2Fsimantics%2Fbasicexpression%2Fnode%2FTAmpersand.java;h=157909935c025072cb7eacf269812d6833abe3cb;hp=e57afe9669126ed93a2ce59fdee83fae82eb09af;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.basicexpression/src/org/simantics/basicexpression/node/TAmpersand.java b/bundles/org.simantics.basicexpression/src/org/simantics/basicexpression/node/TAmpersand.java index e57afe966..157909935 100644 --- a/bundles/org.simantics.basicexpression/src/org/simantics/basicexpression/node/TAmpersand.java +++ b/bundles/org.simantics.basicexpression/src/org/simantics/basicexpression/node/TAmpersand.java @@ -1,38 +1,38 @@ -/* This file was generated by SableCC (http://www.sablecc.org/). */ - -package org.simantics.basicexpression.node; - -import org.simantics.basicexpression.analysis.*; - -@SuppressWarnings("nls") -public final class TAmpersand extends Token -{ - public TAmpersand() - { - super.setText("&"); - } - - public TAmpersand(int line, int pos) - { - super.setText("&"); - setLine(line); - setPos(pos); - } - - @Override - public Object clone() - { - return new TAmpersand(getLine(), getPos()); - } - - public void apply(Switch sw) - { - ((Analysis) sw).caseTAmpersand(this); - } - - @Override - public void setText(@SuppressWarnings("unused") String text) - { - throw new RuntimeException("Cannot change TAmpersand text."); - } -} +/* This file was generated by SableCC (http://www.sablecc.org/). */ + +package org.simantics.basicexpression.node; + +import org.simantics.basicexpression.analysis.*; + +@SuppressWarnings("nls") +public final class TAmpersand extends Token +{ + public TAmpersand() + { + super.setText("&"); + } + + public TAmpersand(int line, int pos) + { + super.setText("&"); + setLine(line); + setPos(pos); + } + + @Override + public Object clone() + { + return new TAmpersand(getLine(), getPos()); + } + + public void apply(Switch sw) + { + ((Analysis) sw).caseTAmpersand(this); + } + + @Override + public void setText(@SuppressWarnings("unused") String text) + { + throw new RuntimeException("Cannot change TAmpersand text."); + } +}