Ignore:
Timestamp:
2016-01-01T17:01:08+01:00 (9 years ago)
Author:
Don-vip
Message:

javadoc update

Location:
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java

    r9114 r9239  
    402402         * @param env the environment
    403403         * @param key the property key
     404         * @param layer layer
    404405         * @return the property value
    405406         */
     
    422423         * @param env the environment
    423424         * @param key the property key
     425         * @param layer layer
    424426         * @return {@code true} if the property is set, {@code false} otherwise
    425427         */
     
    676678         * Obtains the JOSM'key {@link org.openstreetmap.josm.data.Preferences} string for key {@code key},
    677679         * and defaults to {@code def} if that is null.
     680         * @param env the environment
    678681         * @param key Key in JOSM preference
    679682         * @param def Default value
     
    11351138        /**
    11361139         * Constructs a new {@code ParameterFunction}.
     1140         * @param m method
     1141         * @param args arguments
     1142         * @param needsEnvironment whether function needs environment
    11371143         */
    11381144        public ParameterFunction(Method m, List<Expression> args, boolean needsEnvironment) {
     
    12081214        /**
    12091215         * Constructs a new {@code ArrayFunction}.
     1216         * @param m method
     1217         * @param args arguments
    12101218         */
    12111219        public ArrayFunction(Method m, List<Expression> args) {
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParser.jj

    r9099 r9239  
    5252 *
    5353 */
    54 
    5554public class MapCSSParser {
    5655    MapCSSStyleSource sheet;
     
    7776    /**
    7877     * Constructor which initializes the parser with a certain lexical state.
     78     * @param in input
     79     * @param encoding contents encoding
     80     * @param initState initial state
    7981     */
    8082    public MapCSSParser(InputStream in, String encoding, LexicalState initState) {
     
    9597    /**
    9698     * Constructor which initializes the parser with a certain lexical state.
     99     * @param in input
     100     * @param initState initial state
    97101     */
    98102    public MapCSSParser(Reader in, LexicalState initState) {
     
    108112PARSER_END(MapCSSParser)
    109113
    110 /*************
     114/**
    111115 * Token definitions
    112116 *
     
    222226
    223227
    224 /*************
    225  *
     228/*
    226229 * Preprocessor parser definitions:
    227230 *
     
    243246/**
    244247 * root method for the preprocessor.
     248 * @param sheet MapCSS style source
     249 * @return result string
     250 * @throws ParseException in case of parsing error
    245251 */
    246252String pp_root(MapCSSStyleSource sheet):
     
    260266 *
    261267 * @param write false if this content should be skipped (@pp_media condition is not fulfilled), true otherwise
     268 * @throws ParseException in case of parsing error
    262269 */
    263270void pp_black_box(boolean write):
     
    284291 * @param ignore if the content of this rule should be ignored
    285292 * (because we are already inside a @supports block that didn't pass)
     293 * @throws ParseException in case of parsing error
    286294 */
    287295void pp_supports(boolean ignore):
     
    302310 * Unlike other parsing rules, grabs trailing whitespace.
    303311 * @return true, if the condition is fulfilled
     312 * @throws ParseException in case of parsing error
    304313 */
    305314boolean pp_supports_condition():
     
    329338 *
    330339 * @return true, if the condition is fulfilled
     340 * @throws ParseException in case of parsing error
    331341 */
    332342boolean pp_supports_condition_in_parens():
     
    350360 *
    351361 * @return true if the condition is fulfilled
     362 * @throws ParseException in case of parsing error
    352363 */
    353364boolean pp_supports_declaration_condition():
     
    411422 *
    412423 * @return true if the condition is fulfilled
     424 * @throws ParseException in case of parsing error
    413425 */
    414426// deprecated
     
    443455}
    444456
    445 /*************
    446  *
     457/*
    447458 * Parser definition for the main MapCSS parser:
    448459 *
     
    542553/**
    543554 * white-space
     555 * @throws ParseException in case of parsing error
    544556 */
    545557void s() :
     
    552564/**
    553565 * mix of white-space and comments
     566 * @throws ParseException in case of parsing error
    554567 */
    555568void w() :
     
    562575/**
    563576 * comma delimited list of floats (at least 2, all &gt;= 0)
     577 * @return list of floats
     578 * @throws ParseException in case of parsing error
    564579 */
    565580List<Float> float_array() :
     
    581596/**
    582597 * entry point for the main parser
     598 * @param sheet MapCSS style source
     599 * @throws ParseException in case of parsing error
    583600 */
    584601void sheet(MapCSSStyleSource sheet):
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Selector.java

    r9078 r9239  
    9494
    9595        /**
    96          *
     96         * Constructs a new {@code ChildOrParentSelector}.
    9797         * @param a the first selector
     98         * @param link link
    9899         * @param b the second selector
    99100         * @param type the selector type
Note: See TracChangeset for help on using the changeset viewer.