~ubuntu-branches/ubuntu/vivid/sablecc/vivid

« back to all changes in this revision

Viewing changes to src/org/sablecc/sablecc/node/NodeCast.java

  • Committer: Bazaar Package Importer
  • Author(s): Etienne M. Gagnon
  • Date: 2004-01-25 13:28:01 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040125132801-0so74ui506b30b1q
Tags: 2.18.2-1
* New upstream release.
* Keep the org.sablecc.ant.taskdef.Sablecc ant task of the upstream
  package, closes: #213020.
* Improve man page.
* Update Standards-Version to 3.6.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* This file was generated by SableCC (http://www.sablecc.org/). */
 
2
 
 
3
package org.sablecc.sablecc.node;
 
4
 
 
5
public class NodeCast implements Cast
 
6
{
 
7
  public final static NodeCast instance = new NodeCast();
 
8
 
 
9
  private NodeCast()
 
10
  {}
 
11
 
 
12
  public Object cast(Object o)
 
13
  {
 
14
    return (Node) o;
 
15
  }
 
16
}