File: ASTMyOtherID.h

package info (click to toggle)
javacc 7.0.13-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,712 kB
  • sloc: java: 27,671; xml: 2,305; cpp: 404; sh: 128; makefile: 24
file content (35 lines) | stat: -rw-r--r-- 626 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
 * ASTMyOtherID.h
 *
 *  Created on: 27 mars 2014
 *      Author: FrancisANDRE
 */

#ifndef ASTMYOTHERID_H_
#define ASTMYOTHERID_H_
#include "ParserTree.h"
#include "SimpleNode.h"

namespace @NAMESPACE@ {
class ParserVisitor;

class ASTMyOtherID:  public SimpleNode {
private:
	JAVACC_SIMPLE_STRING name;

public:
	ASTMyOtherID(int id);
	ASTMyOtherID(Parser *p, int id);
	virtual ~ASTMyOtherID();

	void setName(JAVACC_STRING_TYPE image);
	JAVACC_STRING_TYPE toString() const;

	double x;

	/** Accept the visitor. **/
	virtual void* jjtAccept(ParserVisitor *visitor, void * data) const;

};
}
#endif /* ASTMYOTHERID_H_ */