Index

B C F G L P S T U 
All Classes and Interfaces|All Packages|Constant Field Values

B

beforeMethod(Method, Object[]) - Method in class com.github.tom65536.adelante.parser.ParserTest
 

C

check(AdelanteParser) - Method in class com.github.tom65536.adelante.parser.ParserTestScenario
Check the scenario for a given parser.
check(Node) - Method in class com.github.tom65536.adelante.parser.SyntaxTreeAssertion
Check the assertion.
check(Token) - Method in class com.github.tom65536.adelante.parser.TokenAssertion
Check a token against this exception.
com.github.tom65536.adelante.parser - package com.github.tom65536.adelante.parser
 
com.github.tom65536.adelante.symboltable - package com.github.tom65536.adelante.symboltable
 
com.github.tom65536.adelante.text - package com.github.tom65536.adelante.text
 

F

fromYamlUrl(URL) - Static method in class com.github.tom65536.adelante.parser.ParserTestScenario
Load test scenarios from YAML file.

G

getAst() - Method in class com.github.tom65536.adelante.parser.ParserTestScenario
Get the syntax tree asdertion.
getChildren() - Method in class com.github.tom65536.adelante.parser.SyntaxTreeAssertion
Get the expected list of child nodes.
getImage() - Method in class com.github.tom65536.adelante.parser.TokenAssertion
Get the token image.
getKind() - Method in class com.github.tom65536.adelante.parser.SyntaxTreeAssertion
Get the expected node kind.
getKind() - Method in class com.github.tom65536.adelante.parser.TokenAssertion
Get the expected token kind.
getProduction() - Method in class com.github.tom65536.adelante.parser.ParserTestScenario
Get the name of the production.
getSource() - Method in class com.github.tom65536.adelante.parser.ParserTestScenario
Get the source being passed to the parser.
getTestName() - Method in class com.github.tom65536.adelante.parser.ParserTest
 
getTitle() - Method in class com.github.tom65536.adelante.parser.ParserTestScenario
Get the title.
getTokens() - Method in class com.github.tom65536.adelante.parser.SyntaxTreeAssertion
Get the list of expected tokens.

L

loadScenariosFromTestResources() - Method in class com.github.tom65536.adelante.parser.ParserTest
 

P

ParserTest - Class in com.github.tom65536.adelante.parser
Unit test for the adelante parser.
ParserTest() - Constructor for class com.github.tom65536.adelante.parser.ParserTest
 
ParserTestScenario - Class in com.github.tom65536.adelante.parser
Test scenario for testing the parser.
ParserTestScenario() - Constructor for class com.github.tom65536.adelante.parser.ParserTestScenario
 

S

SENTENCE - Static variable in class com.github.tom65536.adelante.parser.UnicodeReaderTest
 
SymbolTableTest - Class in com.github.tom65536.adelante.symboltable
Tests for the SymbolTable class.
SymbolTableTest() - Constructor for class com.github.tom65536.adelante.symboltable.SymbolTableTest
 
SyntaxTreeAssertion - Class in com.github.tom65536.adelante.parser
Assertion on an AST node and its child nodes.
SyntaxTreeAssertion() - Constructor for class com.github.tom65536.adelante.parser.SyntaxTreeAssertion
 

T

TEST_FILE_PATH - Static variable in class com.github.tom65536.adelante.parser.ParserTest
Local path to the tests YAML filen
testAddAndLookup() - Method in class com.github.tom65536.adelante.symboltable.SymbolTableTest
Add some symbols and check the lookup.
testNormalizeIdentifier() - Method in class com.github.tom65536.adelante.text.TokenNormalizerTest
testScenario(ParserTestScenario) - Method in class com.github.tom65536.adelante.parser.ParserTest
Repeated test for a fiven scenario.
TokenAssertion - Class in com.github.tom65536.adelante.parser
Assertion on a token.
TokenAssertion() - Constructor for class com.github.tom65536.adelante.parser.TokenAssertion
 
TokenNormalizerTest - Class in com.github.tom65536.adelante.text
Test cases for the TokenNormalizer class.
TokenNormalizerTest() - Constructor for class com.github.tom65536.adelante.text.TokenNormalizerTest
 
toString() - Method in class com.github.tom65536.adelante.parser.ParserTestScenario
 

U

UnicodeReaderTest - Class in com.github.tom65536.adelante.parser
 
UnicodeReaderTest() - Constructor for class com.github.tom65536.adelante.parser.UnicodeReaderTest
 
B C F G L P S T U 
All Classes and Interfaces|All Packages|Constant Field Values