A C D E F G H I J L M N O P R S T V W X _

A

addFeature(Feature) - Method in class org.anarres.cpp.Preprocessor
Adds a feature to the feature-set of this Preprocessor.
addFeatures(Collection<Feature>) - Method in class org.anarres.cpp.Preprocessor
Adds features to the feature-set of this Preprocessor.
addInput(Source) - Method in class org.anarres.cpp.Preprocessor
Adds input for the Preprocessor.
addInput(File) - Method in class org.anarres.cpp.Preprocessor
Adds input for the Preprocessor.
addMacro(String) - Method in class org.anarres.cpp.CppReader
Defines the given name as a macro.
addMacro(String, String) - Method in class org.anarres.cpp.CppReader
Defines the given name as a macro.
addMacro(CppTask.Macro) - Method in class org.anarres.cpp.CppTask
 
addMacro(Macro) - Method in class org.anarres.cpp.Preprocessor
Adds a Macro to this Preprocessor.
addMacro(String, String) - Method in class org.anarres.cpp.Preprocessor
Defines the given name as a macro.
addMacro(String) - Method in class org.anarres.cpp.Preprocessor
Defines the given name as a macro, with the value 1.
addPaste(Token) - Method in class org.anarres.cpp.Macro
Adds a "paste" operator to the expansion of this macro.
addToken(Token) - Method in class org.anarres.cpp.Macro
Adds a token to the expansion of this macro.
addWarning(Warning) - Method in class org.anarres.cpp.Preprocessor
Adds a warning to the warning-set of this Preprocessor.
addWarnings(Collection<Warning>) - Method in class org.anarres.cpp.Preprocessor
Adds warnings to the warning-set of this Preprocessor.
AND_EQ - Static variable in class org.anarres.cpp.Token
The token type AND_EQ.
ARROW - Static variable in class org.anarres.cpp.Token
The token type ARROW.

C

CCOMMENT - Static variable in class org.anarres.cpp.Token
The token type CCOMMENT.
CHARACTER - Static variable in class org.anarres.cpp.Token
The token type CHARACTER.
ChrootFileSystem - Class in org.anarres.cpp
A virtual filesystem implementation using java.io in a virtual chroot.
ChrootFileSystem(File) - Constructor for class org.anarres.cpp.ChrootFileSystem
 
clear() - Method in class org.anarres.cpp.PreprocessorListener
 
close() - Method in class org.anarres.cpp.CppReader
 
close() - Method in class org.anarres.cpp.LexerSource
 
close() - Method in class org.anarres.cpp.Preprocessor
 
close() - Method in class org.anarres.cpp.Source
 
CPPCOMMENT - Static variable in class org.anarres.cpp.Token
The token type CPPCOMMENT.
CppReader - Class in org.anarres.cpp
A Reader wrapper around the Preprocessor.
CppReader(Reader) - Constructor for class org.anarres.cpp.CppReader
 
CppReader(Preprocessor) - Constructor for class org.anarres.cpp.CppReader
 
CppTask - Class in org.anarres.cpp
An ant task for jcpp.
CppTask() - Constructor for class org.anarres.cpp.CppTask
 

D

DEC - Static variable in class org.anarres.cpp.Token
The token type DEC.
DIV_EQ - Static variable in class org.anarres.cpp.Token
The token type DIV_EQ.

E

ELLIPSIS - Static variable in class org.anarres.cpp.Token
The token type ELLIPSIS.
EOF - Static variable in class org.anarres.cpp.Token
The token type EOF.
EQ - Static variable in class org.anarres.cpp.Token
The token type EQ.
error(int, int, String) - Method in class org.anarres.cpp.Preprocessor
Handles an error.
error(Token, String) - Method in class org.anarres.cpp.Preprocessor
Handles an error.
error(int, int, String) - Method in class org.anarres.cpp.Source
 
execute() - Method in class org.anarres.cpp.CppTask
 

F

Feature - Enum in org.anarres.cpp
Features of the Preprocessor, which may be enabled or disabled.
FileLexerSource - Class in org.anarres.cpp
A Source which lexes a file.
FileLexerSource(File, String) - Constructor for class org.anarres.cpp.FileLexerSource
Creates a new Source for lexing the given File.
FileLexerSource(File) - Constructor for class org.anarres.cpp.FileLexerSource
 
FileLexerSource(String) - Constructor for class org.anarres.cpp.FileLexerSource
 

G

GE - Static variable in class org.anarres.cpp.Token
The token type GE.
getArgs() - Method in class org.anarres.cpp.Macro
Returns the number of arguments to this macro.
getChildFile(String) - Method in interface org.anarres.cpp.VirtualFile
 
getColumn() - Method in class org.anarres.cpp.LexerSource
 
getColumn() - Method in class org.anarres.cpp.Source
Returns the current column number within this Source.
getColumn() - Method in class org.anarres.cpp.Token
Returns the column at which this token started.
getErrors() - Method in class org.anarres.cpp.PreprocessorListener
 
getFeature(Feature) - Method in class org.anarres.cpp.Preprocessor
Returns true if the given feature is in the feature-set of this Preprocessor.
getFeatures() - Method in class org.anarres.cpp.Preprocessor
Returns the feature-set for this Preprocessor.
getFile(String) - Method in class org.anarres.cpp.ChrootFileSystem
 
getFile(String, String) - Method in class org.anarres.cpp.ChrootFileSystem
 
getFile(String) - Method in class org.anarres.cpp.JavaFileSystem
 
getFile(String, String) - Method in class org.anarres.cpp.JavaFileSystem
 
getFile(String) - Method in interface org.anarres.cpp.VirtualFileSystem
 
getFile(String, String) - Method in interface org.anarres.cpp.VirtualFileSystem
 
getFileSystem() - Method in class org.anarres.cpp.Preprocessor
Returns the VirtualFileSystem used by this Preprocessor.
getFrameworksPath() - Method in class org.anarres.cpp.Preprocessor
Returns the Objective-C frameworks path used by this Preprocessor.
getLine() - Method in class org.anarres.cpp.LexerSource
 
getLine() - Method in class org.anarres.cpp.Source
Returns the current line number within this Source.
getLine() - Method in class org.anarres.cpp.Token
Returns the line at which this token started.
getListener() - Method in class org.anarres.cpp.Preprocessor
Returns the PreprocessorListener which handles events for this Preprocessor.
getMacro(String) - Method in class org.anarres.cpp.Preprocessor
Returns the named macro.
getMacros() - Method in class org.anarres.cpp.Preprocessor
Returns the Map of Macros parsed during the run of this Preprocessor.
getMajor() - Static method in class org.anarres.cpp.Version
 
getMinor() - Static method in class org.anarres.cpp.Version
 
getName() - Method in class org.anarres.cpp.Macro
Returns the name of this macro.
getName() - Method in interface org.anarres.cpp.VirtualFile
 
getParentFile() - Method in interface org.anarres.cpp.VirtualFile
 
getPatch() - Static method in class org.anarres.cpp.Version
 
getPath() - Method in interface org.anarres.cpp.VirtualFile
 
getPreprocessor() - Method in class org.anarres.cpp.CppReader
Returns the Preprocessor used by this CppReader.
getQuoteIncludePath() - Method in class org.anarres.cpp.Preprocessor
Returns the user include-path of this Preprocessor.
getSource() - Method in class org.anarres.cpp.Macro
Returns the Source from which this macro was parsed.
getSource() - Method in class org.anarres.cpp.Preprocessor
Returns the top Source on the input stack.
getSource() - Method in interface org.anarres.cpp.VirtualFile
 
getSystemIncludePath() - Method in class org.anarres.cpp.Preprocessor
Returns the system include-path of this Preprocessor.
getText() - Method in class org.anarres.cpp.Macro
 
getText() - Method in class org.anarres.cpp.Token
Returns the original or generated text of this token.
getTokenName(int) - Static method in class org.anarres.cpp.Token
Returns the descriptive name of the given token type.
getType() - Method in class org.anarres.cpp.Token
Returns the semantic type of this token.
getValue() - Method in class org.anarres.cpp.Token
Returns the semantic value of this token.
getVersion() - Static method in class org.anarres.cpp.Version
 
getWarning(Warning) - Method in class org.anarres.cpp.Preprocessor
Returns true if the given warning is in the warning-set of this Preprocessor.
getWarnings() - Method in class org.anarres.cpp.Preprocessor
Returns the warning-set for this Preprocessor.
getWarnings() - Method in class org.anarres.cpp.PreprocessorListener
 

H

handleError(Source, int, int, String) - Method in class org.anarres.cpp.PreprocessorListener
Handles an error.
handleSourceChange(Source, String) - Method in class org.anarres.cpp.PreprocessorListener
 
handleWarning(Source, int, int, String) - Method in class org.anarres.cpp.PreprocessorListener
Handles a warning.
HASH - Static variable in class org.anarres.cpp.Token
The token type HASH.
hasNext() - Method in class org.anarres.cpp.SourceIterator
Returns true if the enclosed Source has more tokens.
HEADER - Static variable in class org.anarres.cpp.Token
The token type HEADER.

I

IDENTIFIER - Static variable in class org.anarres.cpp.Token
The token type IDENTIFIER.
INC - Static variable in class org.anarres.cpp.Token
The token type INC.
InputLexerSource - Class in org.anarres.cpp
A Source which lexes a file.
InputLexerSource(InputStream) - Constructor for class org.anarres.cpp.InputLexerSource
Creates a new Source for lexing the given Reader.
INTEGER - Static variable in class org.anarres.cpp.Token
The token type INTEGER.
InternalException - Exception in org.anarres.cpp
An internal exception.
InternalException(String) - Constructor for exception org.anarres.cpp.InternalException
 
INVALID - Static variable in class org.anarres.cpp.Token
The token type INVALID.
isFile() - Method in interface org.anarres.cpp.VirtualFile
 
isFunctionLike() - Method in class org.anarres.cpp.Macro
Returns true if this is a function-like macro.
isVariadic() - Method in class org.anarres.cpp.Macro
Returns true if this is a variadic function-like macro.
iterator() - Method in class org.anarres.cpp.Source
Returns a token iterator for this Source.

J

JavaFileSystem - Class in org.anarres.cpp
A virtual filesystem implementation using java.io.
JavaFileSystem() - Constructor for class org.anarres.cpp.JavaFileSystem
 

L

LAND - Static variable in class org.anarres.cpp.Token
The token type LAND.
LAND_EQ - Static variable in class org.anarres.cpp.Token
The token type LAND_EQ.
LE - Static variable in class org.anarres.cpp.Token
The token type LE.
LexerException - Exception in org.anarres.cpp
A preprocessor exception.
LexerException(String) - Constructor for exception org.anarres.cpp.LexerException
 
LexerException(Throwable) - Constructor for exception org.anarres.cpp.LexerException
 
LexerSource - Class in org.anarres.cpp
Does not handle digraphs.
LexerSource(Reader, boolean) - Constructor for class org.anarres.cpp.LexerSource
 
LITERAL - Static variable in class org.anarres.cpp.Token
The token type LITERAL.
LOR - Static variable in class org.anarres.cpp.Token
The token type LOR.
LOR_EQ - Static variable in class org.anarres.cpp.Token
The token type LOR_EQ.
LSH - Static variable in class org.anarres.cpp.Token
The token type LSH.
LSH_EQ - Static variable in class org.anarres.cpp.Token
The token type LSH_EQ.

M

M_ARG - Static variable in class org.anarres.cpp.Token
The token type M_ARG.
M_PASTE - Static variable in class org.anarres.cpp.Token
The token type M_PASTE.
M_STRING - Static variable in class org.anarres.cpp.Token
The token type M_STRING.
Macro - Class in org.anarres.cpp
A macro object.
Macro(Source, String) - Constructor for class org.anarres.cpp.Macro
 
Macro(String) - Constructor for class org.anarres.cpp.Macro
 
Main - Class in org.anarres.cpp
(Currently a simple test class).
Main() - Constructor for class org.anarres.cpp.Main
 
main(String[]) - Static method in class org.anarres.cpp.Main
 
main(String[]) - Static method in class org.anarres.cpp.Version
 
MOD_EQ - Static variable in class org.anarres.cpp.Token
The token type MOD_EQ.
MULT_EQ - Static variable in class org.anarres.cpp.Token
The token type MULT_EQ.

N

NE - Static variable in class org.anarres.cpp.Token
The token type NE.
next() - Method in class org.anarres.cpp.SourceIterator
Returns the next token from the enclosed Source.
NL - Static variable in class org.anarres.cpp.Token
The token type NL.

O

OR_EQ - Static variable in class org.anarres.cpp.Token
The token type OR_EQ.
org.anarres.cpp - package org.anarres.cpp
 

P

P_LINE - Static variable in class org.anarres.cpp.Token
The token type P_LINE.
PASTE - Static variable in class org.anarres.cpp.Token
The token type PASTE.
PLUS_EQ - Static variable in class org.anarres.cpp.Token
The token type PLUS_EQ.
pop_source() - Method in class org.anarres.cpp.Preprocessor
Pops a Source from the input stack.
pragma(Token, List<Token>) - Method in class org.anarres.cpp.Preprocessor
 
Preprocessor - Class in org.anarres.cpp
A C Preprocessor.
Preprocessor() - Constructor for class org.anarres.cpp.Preprocessor
 
Preprocessor(Source) - Constructor for class org.anarres.cpp.Preprocessor
 
Preprocessor(File) - Constructor for class org.anarres.cpp.Preprocessor
Equivalent to 'new Preprocessor(new FileLexerSource(file))'
PreprocessorListener - Class in org.anarres.cpp
A handler for preprocessor events, primarily errors and warnings.
PreprocessorListener() - Constructor for class org.anarres.cpp.PreprocessorListener
 
print(String) - Method in class org.anarres.cpp.PreprocessorListener
 
push_source(Source, boolean) - Method in class org.anarres.cpp.Preprocessor
Pushes a Source onto the input stack.

R

RANGE - Static variable in class org.anarres.cpp.Token
The token type RANGE.
read() - Method in class org.anarres.cpp.CppReader
 
read(char[], int, int) - Method in class org.anarres.cpp.CppReader
 
remove() - Method in class org.anarres.cpp.SourceIterator
Not supported.
RSH - Static variable in class org.anarres.cpp.Token
The token type RSH.
RSH_EQ - Static variable in class org.anarres.cpp.Token
The token type RSH_EQ.
run(String[]) - Method in class org.anarres.cpp.Main
 

S

setArgs(List<String>) - Method in class org.anarres.cpp.Macro
Sets the arguments to this macro.
setFileSystem(VirtualFileSystem) - Method in class org.anarres.cpp.Preprocessor
Sets the VirtualFileSystem used by this Preprocessor.
setFrameworksPath(List<String>) - Method in class org.anarres.cpp.Preprocessor
Sets the Objective-C frameworks path used by this Preprocessor.
setInput(File) - Method in class org.anarres.cpp.CppTask
 
setListener(PreprocessorListener) - Method in class org.anarres.cpp.Preprocessor
Sets the PreprocessorListener which handles events for this Preprocessor.
setListener(PreprocessorListener) - Method in class org.anarres.cpp.Source
Sets the listener for this Source.
setOutput(File) - Method in class org.anarres.cpp.CppTask
 
setQuoteIncludePath(List<String>) - Method in class org.anarres.cpp.Preprocessor
Sets the user include path used by this Preprocessor.
setSource(Source) - Method in class org.anarres.cpp.Macro
Sets the Source from which this macro was parsed.
setSystemIncludePath(List<String>) - Method in class org.anarres.cpp.Preprocessor
Sets the system include path used by this Preprocessor.
setVariadic(boolean) - Method in class org.anarres.cpp.Macro
Sets the variadic flag on this Macro.
skipline(boolean) - Method in class org.anarres.cpp.Source
Skips tokens until the end of line.
Source - Class in org.anarres.cpp
An input to the Preprocessor.
Source() - Constructor for class org.anarres.cpp.Source
 
SourceIterator - Class in org.anarres.cpp
An Iterator for Sources, returning Tokens.
SourceIterator(Source) - Constructor for class org.anarres.cpp.SourceIterator
 
STRING - Static variable in class org.anarres.cpp.Token
The token type STRING.
StringLexerSource - Class in org.anarres.cpp
A Source for lexing a String.
StringLexerSource(String, boolean) - Constructor for class org.anarres.cpp.StringLexerSource
Creates a new Source for lexing the given String.
StringLexerSource(String) - Constructor for class org.anarres.cpp.StringLexerSource
Creates a new Source for lexing the given String.
SUB_EQ - Static variable in class org.anarres.cpp.Token
The token type SUB_EQ.

T

token() - Method in class org.anarres.cpp.LexerSource
 
token() - Method in class org.anarres.cpp.Preprocessor
Returns the next preprocessor token.
token() - Method in class org.anarres.cpp.Source
Returns the next Token parsed from this input stream.
Token - Class in org.anarres.cpp
A Preprocessor token.
Token(int, int, int, String, Object) - Constructor for class org.anarres.cpp.Token
 
Token(int, int, int, String) - Constructor for class org.anarres.cpp.Token
 
toString() - Method in class org.anarres.cpp.FileLexerSource
 
toString() - Method in class org.anarres.cpp.InputLexerSource
 
toString() - Method in class org.anarres.cpp.Macro
 
toString() - Method in class org.anarres.cpp.Preprocessor
 
toString() - Method in class org.anarres.cpp.StringLexerSource
 
toString() - Method in class org.anarres.cpp.Token
Returns a description of this token, for debugging purposes.

V

valueOf(String) - Static method in enum org.anarres.cpp.Feature
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.anarres.cpp.Warning
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.anarres.cpp.Feature
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.anarres.cpp.Warning
Returns an array containing the constants of this enum type, in the order they are declared.
Version - Class in org.anarres.cpp
System version metadata for Anarres Java C Preprocessor 1.2.5.
VirtualFile - Interface in org.anarres.cpp
An extremely lightweight virtual file interface.
VirtualFileSystem - Interface in org.anarres.cpp
An extremely lightweight virtual file system interface.

W

warning(int, int, String) - Method in class org.anarres.cpp.Preprocessor
Handles a warning.
warning(Token, String) - Method in class org.anarres.cpp.Preprocessor
Handles a warning.
warning(int, int, String) - Method in class org.anarres.cpp.Source
 
Warning - Enum in org.anarres.cpp
Warning classes which may optionally be emitted by the Preprocessor.
WHITESPACE - Static variable in class org.anarres.cpp.Token
The token type WHITESPACE.

X

XOR_EQ - Static variable in class org.anarres.cpp.Token
The token type XOR_EQ.

_

_TOKENS - Static variable in class org.anarres.cpp.Token
The number of possible semantic token types.

A C D E F G H I J L M N O P R S T V W X _

Copyright © 2007 Shevek, Anarres. All Rights Reserved.