Top Description Constructors Methods
com.jogamp.gluegen.jcpp

public Class StringLexerSource

extends LexerSource
Class Inheritance
Imports
java.io.StringReader

A Source for lexing a String. This class is used by token pasting, but can be used by user code.

Constructor Summary

AccessConstructor and Description
public
StringLexerSource(String string, boolean
true if preprocessor directives are to be honoured within the string.
ppvalid
)

Creates a new Source for lexing the given String.

public
StringLexerSource(String string)

Creates a new Source for lexing the given String.

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from com.jogamp.gluegen.jcpp.LexerSource:
closeerrorgetColumngetLineinitisNumberedsetIncludetokenwarning

Constructor Detail

StringLexerSourceback to summary
public StringLexerSource(String string, boolean ppvalid)

Creates a new Source for lexing the given String.

Parameters
ppvalid:boolean

true if preprocessor directives are to be honoured within the string.

StringLexerSourceback to summary
public StringLexerSource(String string)

Creates a new Source for lexing the given String. By default, preprocessor directives are not honoured within the string.

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override