A B C D E F G I J L M N O P R S U
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- append(Object) - Method in interface javax0.jamal.api.Input
B
- BadSyntax - Exception in javax0.jamal.api
-
This exception, as the name suggest, is thrown when the processor or a macro finds something it cannot interpret.
- BadSyntax() - Constructor for exception javax0.jamal.api.BadSyntax
- BadSyntax(String) - Constructor for exception javax0.jamal.api.BadSyntax
- BadSyntax(String, Throwable) - Constructor for exception javax0.jamal.api.BadSyntax
- BadSyntaxAt - Exception in javax0.jamal.api
-
This exception, as the name suggest, is thrown when the processor or a macro finds something it cannot interpret.
- BadSyntaxAt() - Constructor for exception javax0.jamal.api.BadSyntaxAt
- BadSyntaxAt(String, Position) - Constructor for exception javax0.jamal.api.BadSyntaxAt
- BadSyntaxAt(String, Position, Throwable) - Constructor for exception javax0.jamal.api.BadSyntaxAt
- BadSyntaxAt(BadSyntax, Position) - Constructor for exception javax0.jamal.api.BadSyntaxAt
-
Convert a
BadSyntax
exception thrown from a macro that has no idea where the actual source code is to aBadSyntaxAt
exception using the provided reference.
C
- charAt(int) - Method in interface javax0.jamal.api.Input
- close() - Method in interface javax0.jamal.api.Delimiters
- column - Variable in class javax0.jamal.api.Position
D
- define(Identified) - Method in interface javax0.jamal.api.MacroRegister
-
Define a user defined macro in the current evaluation level.
- define(Identified) - Method in interface javax0.jamal.api.Processor
- define(Macro) - Method in interface javax0.jamal.api.MacroRegister
-
Define a macro on the current evaluation level.
- define(Macro, String) - Method in interface javax0.jamal.api.MacroRegister
-
Define a macro on the current evaluation level.
- defineGlobal(Identified) - Method in interface javax0.jamal.api.Processor
- delete(int, int) - Method in interface javax0.jamal.api.Input
- Delimiters - Interface in javax0.jamal.api
-
Simple macro delimiter string storage interface.
E
- Evaluable - Interface in javax0.jamal.api
-
Something that can be evaluated.
- evaluate(String...) - Method in interface javax0.jamal.api.Evaluable
-
Evaluate the user defined macro and return the result.
- evaluate(Input, Processor) - Method in interface javax0.jamal.api.Macro
- expectedNumberOfArguments() - Method in interface javax0.jamal.api.Evaluable
- export(String) - Method in interface javax0.jamal.api.MacroRegister
-
Export the user defined macro
id
.
F
G
- getColumn() - Method in interface javax0.jamal.api.Input
- getId() - Method in interface javax0.jamal.api.Identified
- getId() - Method in interface javax0.jamal.api.Macro
- getInstances() - Static method in interface javax0.jamal.api.Macro
- getLine() - Method in interface javax0.jamal.api.Input
- getMacro(String) - Method in interface javax0.jamal.api.MacroRegister
-
Get a macro based on the id of the macro.
- getMessage() - Method in exception javax0.jamal.api.BadSyntax
- getMessage() - Method in exception javax0.jamal.api.BadSyntaxAt
- getParameters() - Method in exception javax0.jamal.api.BadSyntax
- getPosition() - Method in exception javax0.jamal.api.BadSyntaxAt
- getPosition() - Method in interface javax0.jamal.api.Input
- getReference() - Method in interface javax0.jamal.api.Input
- getRegister() - Method in interface javax0.jamal.api.Processor
-
Get the macro register of this processor.
- getSB() - Method in interface javax0.jamal.api.Input
-
Get the
StringBuilder
that contains the characters of the input. - getUserDefined(String) - Method in interface javax0.jamal.api.MacroRegister
-
Get a user defined macro based on the id of the macro.
- global(Identified) - Method in interface javax0.jamal.api.MacroRegister
-
Define a user defined macro on the global level.
- global(Macro) - Method in interface javax0.jamal.api.MacroRegister
-
Define a macro on the global level.
- global(Macro, String) - Method in interface javax0.jamal.api.MacroRegister
-
Define a macro on the global level.
I
- Identified - Interface in javax0.jamal.api
-
Something that is usually defined by the user and as such has an identifier.
- indexOf(String) - Method in interface javax0.jamal.api.Input
- InnerScopeDependent - Interface in javax0.jamal.api
-
This is a marker interface that signals that a class implementing the
Macro
interface is a special macro that needs to be evaluated in the scope that was starting inside the macro. - Input - Interface in javax0.jamal.api
-
An input has a string builder and also a file name from where the input is coming from.
- isDefined(String) - Method in interface javax0.jamal.api.Processor
J
- jamal.api - module jamal.api
- javax0.jamal.api - package javax0.jamal.api
L
- length() - Method in interface javax0.jamal.api.Input
- line - Variable in class javax0.jamal.api.Position
M
- Macro - Interface in javax0.jamal.api
- MacroRegister - Interface in javax0.jamal.api
-
General macro registry that can be used to register built-in (Java implemented) and user defined macros.
- Marker - Interface in javax0.jamal.api
-
When a code is starting and ending a scope it has to pass a marker object to the call to
MacroRegister.pop(Marker)
andMacroRegister.push(Marker)
.
N
- newScriptMacro(String, String, String, String[]) - Method in interface javax0.jamal.api.Processor
-
Create a new user defined script.
- newUserDefinedMacro(String, String, String[]) - Method in interface javax0.jamal.api.Processor
-
Create a new user defined macro.
O
- open() - Method in interface javax0.jamal.api.Delimiters
P
- parameter(String) - Method in exception javax0.jamal.api.BadSyntax
- pop() - Method in interface javax0.jamal.api.Stackable
- pop(Marker) - Method in interface javax0.jamal.api.MacroRegister
-
See the documentation of the method
MacroRegister.push(Marker)
- Position - Class in javax0.jamal.api
-
The
Position
contains the name of a file, a line number and the column number. - Position(String) - Constructor for class javax0.jamal.api.Position
- Position(String, int) - Constructor for class javax0.jamal.api.Position
- Position(String, int, int) - Constructor for class javax0.jamal.api.Position
- process(Input) - Method in interface javax0.jamal.api.Processor
- Processor - Interface in javax0.jamal.api
- push() - Method in interface javax0.jamal.api.Stackable
- push(Marker) - Method in interface javax0.jamal.api.MacroRegister
-
Start a new macro evaluation level.
R
S
- ScriptMacro - Interface in javax0.jamal.api
- separators(String, String) - Method in interface javax0.jamal.api.Delimiters
-
Sets the opening and closing delimiter strings, or implementation may reset some old value if the arguments are
null
- separators(String, String) - Method in interface javax0.jamal.api.Processor
- Stackable - Interface in javax0.jamal.api
-
The macros that need the
push()
andpop()
call-backs when the macro level is increasing / decreasing should implement this interface. - stepColumn() - Method in interface javax0.jamal.api.Input
-
Step the column number by one.
- stepLine() - Method in interface javax0.jamal.api.Input
-
Step the line number by one and reset the column number to 1.
- subSequence(int, int) - Method in interface javax0.jamal.api.Input
- substring(int) - Method in interface javax0.jamal.api.Input
- substring(int, int) - Method in interface javax0.jamal.api.Input
U
- UserDefinedMacro - Interface in javax0.jamal.api
-
User defined macros.
All Classes All Packages