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%2FToken.java;h=dcaa46b3f76ec6e0261b65234b4903c9deaf355c;hp=a2fb353524d6a4da6f740dc788c99c3e1187853d;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.basicexpression/src/org/simantics/basicexpression/node/Token.java b/bundles/org.simantics.basicexpression/src/org/simantics/basicexpression/node/Token.java index a2fb35352..dcaa46b3f 100644 --- a/bundles/org.simantics.basicexpression/src/org/simantics/basicexpression/node/Token.java +++ b/bundles/org.simantics.basicexpression/src/org/simantics/basicexpression/node/Token.java @@ -1,59 +1,59 @@ -/* This file was generated by SableCC (http://www.sablecc.org/). */ - -package org.simantics.basicexpression.node; - -@SuppressWarnings("nls") -public abstract class Token extends Node -{ - private String text; - private int line; - private int pos; - - public String getText() - { - return this.text; - } - - public void setText(@SuppressWarnings("hiding") String text) - { - this.text = text; - } - - public int getLine() - { - return this.line; - } - - public void setLine(@SuppressWarnings("hiding") int line) - { - this.line = line; - } - - public int getPos() - { - return this.pos; - } - - public void setPos(@SuppressWarnings("hiding") int pos) - { - this.pos = pos; - } - - @Override - public String toString() - { - return this.text + " "; - } - - @Override - void removeChild(@SuppressWarnings("unused") Node child) - { - throw new RuntimeException("Not a child."); - } - - @Override - void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) - { - throw new RuntimeException("Not a child."); - } -} +/* This file was generated by SableCC (http://www.sablecc.org/). */ + +package org.simantics.basicexpression.node; + +@SuppressWarnings("nls") +public abstract class Token extends Node +{ + private String text; + private int line; + private int pos; + + public String getText() + { + return this.text; + } + + public void setText(@SuppressWarnings("hiding") String text) + { + this.text = text; + } + + public int getLine() + { + return this.line; + } + + public void setLine(@SuppressWarnings("hiding") int line) + { + this.line = line; + } + + public int getPos() + { + return this.pos; + } + + public void setPos(@SuppressWarnings("hiding") int pos) + { + this.pos = pos; + } + + @Override + public String toString() + { + return this.text + " "; + } + + @Override + void removeChild(@SuppressWarnings("unused") Node child) + { + throw new RuntimeException("Not a child."); + } + + @Override + void replaceChild(@SuppressWarnings("unused") Node oldChild, @SuppressWarnings("unused") Node newChild) + { + throw new RuntimeException("Not a child."); + } +}