Skip to content

Commit

Permalink
Upgrade antlr ST4 to 2.1.5
Browse files Browse the repository at this point in the history
Signed-off-by: Nikhil Nanivadekar <nikhil.nanivadekar@bnymellon.com>
  • Loading branch information
nikhilnanivadekar committed May 14, 2021
1 parent 4f420f7 commit fec256b
Show file tree
Hide file tree
Showing 31 changed files with 2 additions and 36 deletions.
2 changes: 1 addition & 1 deletion eclipse-collections-code-generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<dependency>
<groupId>org.antlr</groupId>
<artifactId>ST4</artifactId>
<version>4.0.8</version>
<version>4.3.1</version>
<exclusions>
<exclusion>
<groupId>org.antlr</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ streamMethods ::= [

allMethods() ::= <<


/**
* @since 9.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ streamMethods ::= [

allMethods() ::= <<


/**
* @since 9.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ streamMethods ::= [

allMethods() ::= <<


/**
* @since 9.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ streamMethods ::= [

allMethods() ::= <<


/**
* @since 9.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ streamMethods ::= [

allMethods() ::= <<


/**
* @since 9.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ capacityMethods ::= [

capacityMethods() ::= <<


/**
* Same as {@link #empty()}. but takes in an initial capacity
* @since 10.3
Expand All @@ -100,7 +99,6 @@ streamMethods ::= [

allMethods() ::= <<


/**
* @since 9.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ streamMethods ::= [

allMethods() ::= <<


/**
* @since 9.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ streamMethods ::= [

allMethods() ::= <<


/**
* @since 9.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ class(primitive) ::= <<
>>

collectPrimitive(fromName, fromType, toName, toType) ::= <<

/**
* @since 7.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ noMethods(type) ::= ""

flipUniqueValues(name) ::= <<


@Override
Immutable<name>ObjectMap\<K> flipUniqueValues();
>>
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ noMethods(name1, name2) ::= ""

flipUniqueValues(name1, name2) ::= <<


@Override
Immutable<name2><name1>Map flipUniqueValues();
>>
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ arithmeticMethods ::= [

allMethods(type) ::= <<


<type> addToValue(K key, <type> toBeAdded);
>>

Expand All @@ -261,7 +260,6 @@ flipUniqueValues ::= [

flipUniqueValues(name) ::= <<


@Override
Mutable<name>ObjectMap\<K> flipUniqueValues();
>>
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ arithmeticMethods ::= [

allMethods(type1, type2) ::= <<


/**
* Increments and updates the value associated with the key, if a value exists, or
* sets the value to be the specified value if one does not.
Expand Down Expand Up @@ -262,7 +261,6 @@ flipUniqueValues ::= [

flipUniqueValues(name1, name2) ::= <<


@Override
Mutable<name2><name1>Map flipUniqueValues();
>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,6 @@ arithmeticMethods ::= [

allMethods() ::= <<


<(wideType.(type))> sum();

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ arithmeticMethods ::= [
]

allMethods() ::= <<

@Override
public <type> minIfEmpty(<type> defaultValue)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ streamMethods ::= [

allMethods() ::= <<


/**
* @since 9.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ streamMethods ::= [

allMethods() ::= <<


/**
* @since 9.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ public final class <name>Predicates
return !this.negate.accept(actual);
}
}

<(intPredicateClasses.(type))()>
<(charPredicateClasses.(type))()>

private static final class AlwaysTrue<name>Predicate implements <name>Predicate
{
private static final long serialVersionUID = 1L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ private static final class <name>IsOddPredicate implements <name>Predicate
return integral % 2 != 0;
}
}

>>

charPredicateConstants ::= [
Expand Down Expand Up @@ -227,5 +226,4 @@ private static class IsUndefinedCharPredicate implements CharPredicate
return !Character.isDefined(value);
}
}

>>
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ class(primitive) ::= <<
>>

collectPrimitive(fromName, fromType, toName, toType) ::= <<

/**
* @since 7.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ streamMethods ::= [

allMethods() ::= <<


/**
* @since 9.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ streamMethods ::= [

allMethods() ::= <<


/**
* @since 9.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ streamMethods ::= [

allMethods() ::= <<


/**
* @since 9.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ capacityMethods ::= [

capacityMethods() ::= <<


@Override
public Mutable<name>Set withInitialCapacity(int capacity)
{
Expand All @@ -133,7 +132,6 @@ streamMethods ::= [

allMethods() ::= <<


/**
* @since 9.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,6 @@ arithmeticMethods ::= [

allMethods(type) ::= <<


@Override
public <wideType.(type)> sum()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ arithmeticMethods ::= [
]

allMethods(type) ::= <<

@Override
public Mutable<name>List toSortedList()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ streamMethods ::= [

allMethods() ::= <<


/**
* @since 9.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ streamMethods ::= [

allMethods() ::= <<


/**
* @since 9.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,6 @@ arithmeticMethods ::= [

allMethods() ::= <<


@Override
public <wideType.(type)> sum()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ arithmeticMethods ::= [

allMethods() ::= <<


public static <wideType.(type)> sum(<name>Iterator iterator)
{
<wideType.(type)> sum = <wideZero.(type)>;
Expand Down

0 comments on commit fec256b

Please sign in to comment.