/** * Returns a copy of this Token. */ public Token dup() { Token token = new Token( this.type, this.text, this.startLine, this.startColumn ); token.setMeaning( this.meaning ); return token; }
/** * Sets the meaning for this node (and it's root Token). Not * valid if the node isEmpty(). Returns the node, for convenience. */ public CSTNode setMeaning( int meaning ) { getRoot().setMeaning( meaning ); return this; }
/** * Creates a token with the specified meaning. */ public static Token newPlaceholder( int type ) { Token token = new Token( Types.UNKNOWN, "", -1, -1 ); token.setMeaning( type ); return token; }
/** * Returns a copy of this Token. */ public Token dup() { Token token = new Token( this.type, this.text, this.startLine, this.startColumn ); token.setMeaning( this.meaning ); return token; }
/** * Returns a copy of this Token. */ public Token dup() { Token token = new Token( this.type, this.text, this.startLine, this.startColumn ); token.setMeaning( this.meaning ); return token; }
/** * Creates a token with the specified meaning. */ public static Token newPlaceholder( int type ) { Token token = new Token( Types.UNKNOWN, "", -1, -1 ); token.setMeaning( type ); return token; }
/** * Sets the meaning for this node (and it's root Token). Not * valid if the node isEmpty(). Returns the node, for convenience. */ public CSTNode setMeaning( int meaning ) { getRoot().setMeaning( meaning ); return this; }
/** * Creates a token with the specified meaning. */ public static Token newPlaceholder( int type ) { Token token = new Token( Types.UNKNOWN, "", -1, -1 ); token.setMeaning( type ); return token; }
/** * Returns a copy of this Token. */ public Token dup() { Token token = new Token( this.type, this.text, this.startLine, this.startColumn ); token.setMeaning( this.meaning ); return token; }
/** * Creates a token with the specified meaning. */ public static Token newPlaceholder( int type ) { Token token = new Token( Types.UNKNOWN, "", -1, -1 ); token.setMeaning( type ); return token; }
/** * Sets the meaning for this node (and it's root Token). Not * valid if the node isEmpty(). Returns the node, for convenience. */ public CSTNode setMeaning( int meaning ) { getRoot().setMeaning( meaning ); return this; }
/** * Sets the meaning for this node (and it's root Token). Not * valid if the node isEmpty(). Returns the node, for convenience. */ public CSTNode setMeaning( int meaning ) { getRoot().setMeaning( meaning ); return this; }
/** * Creates a token with the specified meaning. */ public static Token newPlaceholder( int type ) { Token token = new Token( Types.UNKNOWN, "", -1, -1 ); token.setMeaning( type ); return token; }
/** * Sets the meaning for this node (and it's root Token). Not * valid if the node isEmpty(). Returns the node, for convenience. */ public CSTNode setMeaning( int meaning ) { getRoot().setMeaning( meaning ); return this; }
/** * Returns a copy of this Token. */ public Token dup() { Token token = new Token( this.type, this.text, this.startLine, this.startColumn ); token.setMeaning( this.meaning ); return token; }