Updated Branches: refs/heads/develop cc6debfb6 -> c9ead9824
clean up rat report for falcon Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/c9ead982 Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/c9ead982 Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/c9ead982 Branch: refs/heads/develop Commit: c9ead9824b9f7339bbab6b784d40c10af74534ad Parents: cc6debf Author: Alex Harui <[email protected]> Authored: Wed Jan 15 22:17:33 2014 -0800 Committer: Alex Harui <[email protected]> Committed: Wed Jan 15 22:17:33 2014 -0800 ---------------------------------------------------------------------- compiler.tests/Hello.as | 18 ++++++++++++++++++ compiler.tests/template-unittest.properties | 19 +++++++++++++++++++ .../compiler/internal/css/CSSBaseTests.java | 19 +++++++++++++++++++ .../as/codegen/CompoundAssignmentPatterns.jbg | 19 +++++++++++++++++++ .../as/codegen/CompoundAssignmentRules.jbg | 19 +++++++++++++++++++ .../codegen/CompoundLogicalAssignmentRules.jbg | 19 +++++++++++++++++++ .../internal/as/codegen/FunctionPatterns.jbg | 19 +++++++++++++++++++ .../internal/as/codegen/FunctionRules.jbg | 19 +++++++++++++++++++ .../internal/as/codegen/SemanticErrors.jbg | 19 +++++++++++++++++++ .../as/codegen/UnknownTreeHandlerPatterns.xml | 20 ++++++++++++++++++++ .../parsing/as/ImportMetadataTokenTypes.txt | 18 ++++++++++++++++++ .../internal/parsing/as/skeleton.default | 18 ++++++++++++++++++ .../internal/parsing/as/skeleton.falcon | 18 ++++++++++++++++++ .../internal/targets/NilTargetAttributes.java | 19 +++++++++++++++++++ .../apache/flex/compiler/tree/mxml/index.html | 20 +++++++++++++++++++- 15 files changed, 282 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/c9ead982/compiler.tests/Hello.as ---------------------------------------------------------------------- diff --git a/compiler.tests/Hello.as b/compiler.tests/Hello.as index f80a8c2..487dac4 100644 --- a/compiler.tests/Hello.as +++ b/compiler.tests/Hello.as @@ -1,3 +1,21 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Licensed to the Apache Software Foundation (ASF) under one or more +// contributor license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright ownership. +// The ASF licenses this file to You under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +//////////////////////////////////////////////////////////////////////////////// package { import flash.display.Sprite; http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/c9ead982/compiler.tests/template-unittest.properties ---------------------------------------------------------------------- diff --git a/compiler.tests/template-unittest.properties b/compiler.tests/template-unittest.properties index 1b5fa11..96648da 100644 --- a/compiler.tests/template-unittest.properties +++ b/compiler.tests/template-unittest.properties @@ -1,3 +1,22 @@ +################################################################################ +## +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You under the Apache License, Version 2.0 +## (the "License"); you may not use this file except in compliance with +## the License. You may obtain a copy of the License at +## +## http://www.apache.org/licenses/LICENSE-2.0 +## +## Unless required by applicable law or agreed to in writing, software +## distributed under the License is distributed on an "AS IS" BASIS, +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +## See the License for the specific language governing permissions and +## limitations under the License. +## +################################################################################ + # copy template-unittest.properties to unittest.properties # http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/c9ead982/compiler.tests/unit-tests/org/apache/flex/compiler/internal/css/CSSBaseTests.java ---------------------------------------------------------------------- diff --git a/compiler.tests/unit-tests/org/apache/flex/compiler/internal/css/CSSBaseTests.java b/compiler.tests/unit-tests/org/apache/flex/compiler/internal/css/CSSBaseTests.java index 613331e..1e139d0 100644 --- a/compiler.tests/unit-tests/org/apache/flex/compiler/internal/css/CSSBaseTests.java +++ b/compiler.tests/unit-tests/org/apache/flex/compiler/internal/css/CSSBaseTests.java @@ -1,3 +1,22 @@ +/* + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.apache.flex.compiler.internal.css; import static org.hamcrest.core.IsNot.not; http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/c9ead982/compiler/src/org/apache/flex/compiler/internal/as/codegen/CompoundAssignmentPatterns.jbg ---------------------------------------------------------------------- diff --git a/compiler/src/org/apache/flex/compiler/internal/as/codegen/CompoundAssignmentPatterns.jbg b/compiler/src/org/apache/flex/compiler/internal/as/codegen/CompoundAssignmentPatterns.jbg index 65ed418..521205c 100644 --- a/compiler/src/org/apache/flex/compiler/internal/as/codegen/CompoundAssignmentPatterns.jbg +++ b/compiler/src/org/apache/flex/compiler/internal/as/codegen/CompoundAssignmentPatterns.jbg @@ -1,3 +1,22 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Licensed to the Apache Software Foundation (ASF) under one or more +// contributor license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright ownership. +// The ASF licenses this file to You under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +//////////////////////////////////////////////////////////////////////////////// + // x op= foo Pattern compoundAssignToName Op_COMPOUND_ASSIGN(name operand, expression expr); http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/c9ead982/compiler/src/org/apache/flex/compiler/internal/as/codegen/CompoundAssignmentRules.jbg ---------------------------------------------------------------------- diff --git a/compiler/src/org/apache/flex/compiler/internal/as/codegen/CompoundAssignmentRules.jbg b/compiler/src/org/apache/flex/compiler/internal/as/codegen/CompoundAssignmentRules.jbg index dda9482..0cd819a 100644 --- a/compiler/src/org/apache/flex/compiler/internal/as/codegen/CompoundAssignmentRules.jbg +++ b/compiler/src/org/apache/flex/compiler/internal/as/codegen/CompoundAssignmentRules.jbg @@ -1,3 +1,22 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Licensed to the Apache Software Foundation (ASF) under one or more +// contributor license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright ownership. +// The ASF licenses this file to You under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +//////////////////////////////////////////////////////////////////////////////// + void_expression = Pattern compoundAssignToName : 4 JBurg.Reduction reducer.generateCompoundAssignment(__p, operand, expr, opcode, DISCARD_VALUE); http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/c9ead982/compiler/src/org/apache/flex/compiler/internal/as/codegen/CompoundLogicalAssignmentRules.jbg ---------------------------------------------------------------------- diff --git a/compiler/src/org/apache/flex/compiler/internal/as/codegen/CompoundLogicalAssignmentRules.jbg b/compiler/src/org/apache/flex/compiler/internal/as/codegen/CompoundLogicalAssignmentRules.jbg index a207b56..510f11c 100644 --- a/compiler/src/org/apache/flex/compiler/internal/as/codegen/CompoundLogicalAssignmentRules.jbg +++ b/compiler/src/org/apache/flex/compiler/internal/as/codegen/CompoundLogicalAssignmentRules.jbg @@ -1,3 +1,22 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Licensed to the Apache Software Foundation (ASF) under one or more +// contributor license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright ownership. +// The ASF licenses this file to You under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +//////////////////////////////////////////////////////////////////////////////// + void_expression = Pattern compoundAssignToName : 4 JBurg.Reduction reducer.generateCompoundLogicalAssignment(__p, operand, expr, IsAnd, DISCARD_VALUE); http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/c9ead982/compiler/src/org/apache/flex/compiler/internal/as/codegen/FunctionPatterns.jbg ---------------------------------------------------------------------- diff --git a/compiler/src/org/apache/flex/compiler/internal/as/codegen/FunctionPatterns.jbg b/compiler/src/org/apache/flex/compiler/internal/as/codegen/FunctionPatterns.jbg index 41e4bbb..c10e313 100644 --- a/compiler/src/org/apache/flex/compiler/internal/as/codegen/FunctionPatterns.jbg +++ b/compiler/src/org/apache/flex/compiler/internal/as/codegen/FunctionPatterns.jbg @@ -1,3 +1,22 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Licensed to the Apache Software Foundation (ASF) under one or more +// contributor license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright ownership. +// The ASF licenses this file to You under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +//////////////////////////////////////////////////////////////////////////////// + // Prototype patterns for function nodes. // Getter/Setter functions specialize the // pattern with their own node ID. http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/c9ead982/compiler/src/org/apache/flex/compiler/internal/as/codegen/FunctionRules.jbg ---------------------------------------------------------------------- diff --git a/compiler/src/org/apache/flex/compiler/internal/as/codegen/FunctionRules.jbg b/compiler/src/org/apache/flex/compiler/internal/as/codegen/FunctionRules.jbg index 74ede87..14868b0 100644 --- a/compiler/src/org/apache/flex/compiler/internal/as/codegen/FunctionRules.jbg +++ b/compiler/src/org/apache/flex/compiler/internal/as/codegen/FunctionRules.jbg @@ -1,3 +1,22 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Licensed to the Apache Software Foundation (ASF) under one or more +// contributor license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright ownership. +// The ASF licenses this file to You under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +//////////////////////////////////////////////////////////////////////////////// + // Reduction actions for function support, // placed in their own .jbg file so they // can be included in a parameterized fashion. http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/c9ead982/compiler/src/org/apache/flex/compiler/internal/as/codegen/SemanticErrors.jbg ---------------------------------------------------------------------- diff --git a/compiler/src/org/apache/flex/compiler/internal/as/codegen/SemanticErrors.jbg b/compiler/src/org/apache/flex/compiler/internal/as/codegen/SemanticErrors.jbg index 6f7dc0e..8871ae7 100644 --- a/compiler/src/org/apache/flex/compiler/internal/as/codegen/SemanticErrors.jbg +++ b/compiler/src/org/apache/flex/compiler/internal/as/codegen/SemanticErrors.jbg @@ -1,3 +1,22 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Licensed to the Apache Software Foundation (ASF) under one or more +// contributor license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright ownership. +// The ASF licenses this file to You under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +//////////////////////////////////////////////////////////////////////////////// + /* * *********************** * ** Semantic Errors ** http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/c9ead982/compiler/src/org/apache/flex/compiler/internal/as/codegen/UnknownTreeHandlerPatterns.xml ---------------------------------------------------------------------- diff --git a/compiler/src/org/apache/flex/compiler/internal/as/codegen/UnknownTreeHandlerPatterns.xml b/compiler/src/org/apache/flex/compiler/internal/as/codegen/UnknownTreeHandlerPatterns.xml index 4ca1c84..2e70856 100644 --- a/compiler/src/org/apache/flex/compiler/internal/as/codegen/UnknownTreeHandlerPatterns.xml +++ b/compiler/src/org/apache/flex/compiler/internal/as/codegen/UnknownTreeHandlerPatterns.xml @@ -1,3 +1,23 @@ +<?xml version="1.0"?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + --> + <SEW> <!-- "Known malformed" patterns --> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/c9ead982/compiler/src/org/apache/flex/compiler/internal/parsing/as/ImportMetadataTokenTypes.txt ---------------------------------------------------------------------- diff --git a/compiler/src/org/apache/flex/compiler/internal/parsing/as/ImportMetadataTokenTypes.txt b/compiler/src/org/apache/flex/compiler/internal/parsing/as/ImportMetadataTokenTypes.txt index f30edf0..478e80d 100644 --- a/compiler/src/org/apache/flex/compiler/internal/parsing/as/ImportMetadataTokenTypes.txt +++ b/compiler/src/org/apache/flex/compiler/internal/parsing/as/ImportMetadataTokenTypes.txt @@ -1,3 +1,21 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Licensed to the Apache Software Foundation (ASF) under one or more +// contributor license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright ownership. +// The ASF licenses this file to You under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +//////////////////////////////////////////////////////////////////////////////// Metadata // output token type name EOF=1 TOKEN_NUMBER=4 http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/c9ead982/compiler/src/org/apache/flex/compiler/internal/parsing/as/skeleton.default ---------------------------------------------------------------------- diff --git a/compiler/src/org/apache/flex/compiler/internal/parsing/as/skeleton.default b/compiler/src/org/apache/flex/compiler/internal/parsing/as/skeleton.default index cb01e6b..a53e545 100644 --- a/compiler/src/org/apache/flex/compiler/internal/parsing/as/skeleton.default +++ b/compiler/src/org/apache/flex/compiler/internal/parsing/as/skeleton.default @@ -1,3 +1,21 @@ +/* + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ /** This character denotes the end of file */ public static final int YYEOF = -1; http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/c9ead982/compiler/src/org/apache/flex/compiler/internal/parsing/as/skeleton.falcon ---------------------------------------------------------------------- diff --git a/compiler/src/org/apache/flex/compiler/internal/parsing/as/skeleton.falcon b/compiler/src/org/apache/flex/compiler/internal/parsing/as/skeleton.falcon index 8fb74ef..f906c80 100644 --- a/compiler/src/org/apache/flex/compiler/internal/parsing/as/skeleton.falcon +++ b/compiler/src/org/apache/flex/compiler/internal/parsing/as/skeleton.falcon @@ -1,3 +1,21 @@ +/* + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ /** This character denotes the end of file */ public static final int YYEOF = -1; http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/c9ead982/compiler/src/org/apache/flex/compiler/internal/targets/NilTargetAttributes.java ---------------------------------------------------------------------- diff --git a/compiler/src/org/apache/flex/compiler/internal/targets/NilTargetAttributes.java b/compiler/src/org/apache/flex/compiler/internal/targets/NilTargetAttributes.java index 7cb8358..cc2241d 100644 --- a/compiler/src/org/apache/flex/compiler/internal/targets/NilTargetAttributes.java +++ b/compiler/src/org/apache/flex/compiler/internal/targets/NilTargetAttributes.java @@ -1,3 +1,22 @@ +/* + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.apache.flex.compiler.internal.targets; import java.util.Collections; http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/c9ead982/compiler/src/org/apache/flex/compiler/tree/mxml/index.html ---------------------------------------------------------------------- diff --git a/compiler/src/org/apache/flex/compiler/tree/mxml/index.html b/compiler/src/org/apache/flex/compiler/tree/mxml/index.html index bcf427d..04e6c56 100644 --- a/compiler/src/org/apache/flex/compiler/tree/mxml/index.html +++ b/compiler/src/org/apache/flex/compiler/tree/mxml/index.html @@ -1 +1,19 @@ -This package contains interfaces providing a read-only view of MXML-specific nodes in MXML trees. \ No newline at end of file +<!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + --> +This package contains interfaces providing a read-only view of MXML-specific nodes in MXML trees.
