hexsha
stringlengths 40
40
| size
int64 5
1.05M
| ext
stringclasses 588
values | lang
stringclasses 305
values | max_stars_repo_path
stringlengths 3
363
| max_stars_repo_name
stringlengths 5
118
| max_stars_repo_head_hexsha
stringlengths 40
40
| max_stars_repo_licenses
listlengths 1
10
| max_stars_count
float64 1
191k
⌀ | max_stars_repo_stars_event_min_datetime
stringdate 2015-01-01 00:00:35
2022-03-31 23:43:49
⌀ | max_stars_repo_stars_event_max_datetime
stringdate 2015-01-01 12:37:38
2022-03-31 23:59:52
⌀ | max_issues_repo_path
stringlengths 3
363
| max_issues_repo_name
stringlengths 5
118
| max_issues_repo_head_hexsha
stringlengths 40
40
| max_issues_repo_licenses
listlengths 1
10
| max_issues_count
float64 1
134k
⌀ | max_issues_repo_issues_event_min_datetime
stringlengths 24
24
⌀ | max_issues_repo_issues_event_max_datetime
stringlengths 24
24
⌀ | max_forks_repo_path
stringlengths 3
363
| max_forks_repo_name
stringlengths 5
135
| max_forks_repo_head_hexsha
stringlengths 40
40
| max_forks_repo_licenses
listlengths 1
10
| max_forks_count
float64 1
105k
⌀ | max_forks_repo_forks_event_min_datetime
stringdate 2015-01-01 00:01:02
2022-03-31 23:27:27
⌀ | max_forks_repo_forks_event_max_datetime
stringdate 2015-01-03 08:55:07
2022-03-31 23:59:24
⌀ | content
stringlengths 5
1.05M
| avg_line_length
float64 1.13
1.04M
| max_line_length
int64 1
1.05M
| alphanum_fraction
float64 0
1
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c5f603edd4d84b2f86dae935850793dc6ae23947
| 2,078
|
abap
|
ABAP
|
zcl_logger_settings.clas.abap
|
sbcgua/ABAP-Logger
|
54b8087258133885e0ab4b1a1252d388ce5abc80
|
[
"MIT"
] | 1
|
2022-01-14T19:13:27.000Z
|
2022-01-14T19:13:27.000Z
|
zcl_logger_settings.clas.abap
|
sbcgua/ABAP-Logger
|
54b8087258133885e0ab4b1a1252d388ce5abc80
|
[
"MIT"
] | null | null | null |
zcl_logger_settings.clas.abap
|
sbcgua/ABAP-Logger
|
54b8087258133885e0ab4b1a1252d388ce5abc80
|
[
"MIT"
] | 1
|
2022-02-04T20:57:54.000Z
|
2022-02-04T20:57:54.000Z
|
class zcl_logger_settings definition
public
final
create private
global friends zcl_logger_factory.
public section.
interfaces zif_logger_settings.
methods constructor.
protected section.
private section.
data auto_save type abap_bool.
data expiry_date type aldate_del .
data must_be_kept_until_expiry type del_before.
data max_exception_drill_down type i.
data use_2nd_db_connection type flag.
endclass.
class zcl_logger_settings implementation.
method constructor.
must_be_kept_until_expiry = abap_false.
max_exception_drill_down = 10.
use_2nd_db_connection = abap_true.
auto_save = abap_true.
endmethod.
method zif_logger_settings~get_autosave.
r_auto_save = auto_save.
endmethod.
method zif_logger_settings~set_autosave.
auto_save = i_auto_save.
r_self = me.
endmethod.
method zif_logger_settings~get_expiry_date.
r_expiry_date = expiry_date.
endmethod.
method zif_logger_settings~set_expiry_date.
expiry_date = i_expiry_date.
r_self = me.
endmethod.
method zif_logger_settings~set_expiry_in_days.
if i_num_days > 0.
expiry_date = sy-datum + i_num_days.
endif.
r_self = me.
endmethod.
method zif_logger_settings~get_must_be_kept_until_expiry.
r_must_be_kept_until_expiry = must_be_kept_until_expiry.
endmethod.
method zif_logger_settings~set_must_be_kept_until_expiry.
must_be_kept_until_expiry = i_must_be_kept_until_expiry.
r_self = me.
endmethod.
method zif_logger_settings~get_max_exception_drill_down.
r_levels = max_exception_drill_down.
endmethod.
method zif_logger_settings~set_max_exception_drill_down.
if i_levels >= 0.
max_exception_drill_down = i_levels.
endif.
r_self = me.
endmethod.
method zif_logger_settings~get_usage_of_secondary_db_conn.
r_2nd_db_connection_enabled = use_2nd_db_connection.
endmethod.
method zif_logger_settings~set_usage_of_secondary_db_conn.
use_2nd_db_connection = i_use_2nd_db_connection.
r_self = me.
endmethod.
endclass.
| 24.447059
| 60
| 0.774783
|
fa4ffb88ce2ff3f72ff68a7593c2cbb1cf525be7
| 372
|
abap
|
ABAP
|
src/zif_sat_exception_message.intf.abap
|
christianguenter2/abap-search-tools
|
b8486d0f43886b0657ecbe6afc6b844e5b12d10e
|
[
"Apache-2.0"
] | 9
|
2019-11-14T12:27:19.000Z
|
2022-01-26T16:35:09.000Z
|
src/zif_sat_exception_message.intf.abap
|
christianguenter2/abap-search-tools
|
b8486d0f43886b0657ecbe6afc6b844e5b12d10e
|
[
"Apache-2.0"
] | 13
|
2019-12-04T15:02:12.000Z
|
2021-11-25T16:43:12.000Z
|
src/zif_sat_exception_message.intf.abap
|
christianguenter2/abap-search-tools
|
b8486d0f43886b0657ecbe6afc6b844e5b12d10e
|
[
"Apache-2.0"
] | 4
|
2019-11-14T13:59:43.000Z
|
2020-08-05T09:58:30.000Z
|
INTERFACE zif_sat_exception_message
PUBLIC .
METHODS print
IMPORTING
!iv_msg_type TYPE sy-msgty DEFAULT 'S'
!iv_display_type TYPE sy-msgty DEFAULT 'E'
!if_to_screen TYPE abap_bool DEFAULT abap_true
RETURNING
VALUE(rv_message) TYPE string .
METHODS get_message
RETURNING
VALUE(result) TYPE string .
ENDINTERFACE.
| 23.25
| 56
| 0.698925
|
c6ecd06b0d18493115073ea29716d07d2e5d6c63
| 392
|
abap
|
ABAP
|
src/zcl_issue_5001_abapgit.clas.abap
|
sandraros/XSLT_ref
|
44796b891847fab9ce6f0207fe7fb20e29d18c73
|
[
"MIT"
] | null | null | null |
src/zcl_issue_5001_abapgit.clas.abap
|
sandraros/XSLT_ref
|
44796b891847fab9ce6f0207fe7fb20e29d18c73
|
[
"MIT"
] | null | null | null |
src/zcl_issue_5001_abapgit.clas.abap
|
sandraros/XSLT_ref
|
44796b891847fab9ce6f0207fe7fb20e29d18c73
|
[
"MIT"
] | null | null | null |
CLASS zcl_issue_5001_abapgit DEFINITION
PUBLIC
FINAL
CREATE PUBLIC .
PUBLIC SECTION.
METHODS get_current_time
RETURNING
VALUE(result) TYPE t.
DATA current_time TYPE t.
PROTECTED SECTION.
PRIVATE SECTION.
ENDCLASS.
CLASS ZCL_ISSUE_5001_ABAPGIT IMPLEMENTATION.
METHOD get_current_time.
GET TIME.
current_time = sy-uzeit.
ENDMETHOD.
ENDCLASS.
| 15.68
| 44
| 0.729592
|
a831feb6910734af746ea73dbd9fc75a80ee2da0
| 130
|
abap
|
ABAP
|
src/ydk_alv_fcat.fugr.lydk_alv_fcattop.abap
|
DKiyanov/ydk_alv_fcat
|
e438be091901f96f69cea54a1a3a8578abd1029b
|
[
"MIT"
] | null | null | null |
src/ydk_alv_fcat.fugr.lydk_alv_fcattop.abap
|
DKiyanov/ydk_alv_fcat
|
e438be091901f96f69cea54a1a3a8578abd1029b
|
[
"MIT"
] | null | null | null |
src/ydk_alv_fcat.fugr.lydk_alv_fcattop.abap
|
DKiyanov/ydk_alv_fcat
|
e438be091901f96f69cea54a1a3a8578abd1029b
|
[
"MIT"
] | null | null | null |
FUNCTION-POOL YDK_ALV_FCAT. "MESSAGE-ID ..
* INCLUDE LYDK_ALV_FCATD... " Local class definition
| 32.5
| 69
| 0.569231
|
33296cad7eeac399047750e842bccfdf939e9350
| 598
|
abap
|
ABAP
|
src/zcl_ooa1_mlz_ewm.clas.abap
|
keremkoseoglu/MAR2022
|
1761a16ce4d180e9102d78b70859f69e56aeef04
|
[
"MIT"
] | null | null | null |
src/zcl_ooa1_mlz_ewm.clas.abap
|
keremkoseoglu/MAR2022
|
1761a16ce4d180e9102d78b70859f69e56aeef04
|
[
"MIT"
] | null | null | null |
src/zcl_ooa1_mlz_ewm.clas.abap
|
keremkoseoglu/MAR2022
|
1761a16ce4d180e9102d78b70859f69e56aeef04
|
[
"MIT"
] | null | null | null |
CLASS zcl_ooa1_mlz_ewm DEFINITION
INHERITING FROM zcl_ooa1_mlz_json_sistem
PUBLIC
FINAL
CREATE PUBLIC .
PUBLIC SECTION.
METHODS: zif_ooa1_mlz_hedef_sistem~baglanti_testi_yap REDEFINITION.
PROTECTED SECTION.
METHODS: karsi_sisteme_gonder REDEFINITION.
PRIVATE SECTION.
ENDCLASS.
CLASS zcl_ooa1_mlz_ewm IMPLEMENTATION.
METHOD zif_ooa1_mlz_hedef_sistem~baglanti_testi_yap.
##todo. " Geçici kod
WRITE: 'EWM bağlantı testi başarılı'.
ENDMETHOD.
METHOD karsi_sisteme_gonder.
##todo. " Geçici kod
WRITE: 'EWM sistemine veri gitti'.
ENDMETHOD.
ENDCLASS.
| 21.357143
| 71
| 0.770903
|
0cafde186cf635684e137e6773122c7648595a92
| 2,758
|
abap
|
ABAP
|
src/Unique Templates/Work Orders/zpm_r_createworkorder_top.prog.abap
|
X8r/Reusable-Knowledge
|
2c6c673f9832a87d31d14740697256680cf48dd2
|
[
"MIT"
] | null | null | null |
src/Unique Templates/Work Orders/zpm_r_createworkorder_top.prog.abap
|
X8r/Reusable-Knowledge
|
2c6c673f9832a87d31d14740697256680cf48dd2
|
[
"MIT"
] | null | null | null |
src/Unique Templates/Work Orders/zpm_r_createworkorder_top.prog.abap
|
X8r/Reusable-Knowledge
|
2c6c673f9832a87d31d14740697256680cf48dd2
|
[
"MIT"
] | null | null | null |
*&---------------------------------------------------------------------*
*& Include ZPM_R_CREATEWORKORDER_TOP
*&---------------------------------------------------------------------*
***********************************************************************
"START OF DATA DECLARATIONS
***********************************************************************
* Structures declarations * -------------------------------------------
* Internal Tables & Workareas declarations * --------------------------
DATA : lit_method_table TYPE STANDARD TABLE OF bapi_alm_order_method, " table & work area to hold methods
lwa_method_table LIKE LINE OF lit_method_table,
lit_header TYPE STANDARD TABLE OF bapi_alm_order_headers_i, " table & work area to hold bapi header information
lwa_header LIKE LINE OF lit_header,
lit_operation TYPE STANDARD TABLE OF bapi_alm_order_operation, " table & work area to hold operation inofrmation
lwa_operation LIKE LINE OF lit_operation,
lit_textlines type STANDARD TABLE OF BAPI_ALM_TEXT_LINES,
lit_output TYPE STANDARD TABLE OF bapi_alm_numbers. " table to hold created work order number
DATA : lit_return TYPE STANDARD TABLE OF bapiret2, " table & work area to hold erros if any
lwa_return LIKE LINE OF lit_return.
data : lit_fcat TYPE slis_t_fieldcat_alv, " table & work area to hold field catalog details
lwa_fcat LIKE LINE OF lit_fcat,
lit_events TYPE slis_t_event, " table & work area to hold details of events used in alv
lwa_events LIKE LINE OF lit_events,
lit_title TYPE slis_t_listheader, " table & work area to hold details of title
lwa_title LIKE LINE OF lit_title,
lwa_layout TYPE slis_layout_alv. " work area to hold layout details
DATA : lwa_qmel TYPE qmel, " work area to hold notification details
lwa_crhd TYPE crhd. " work area to hold work center & planning plant details
* Variables & Constants declarations * --------------------------------
DATA : c_x TYPE c VALUE 'X', " variable to hold value 'X'.
c_one TYPE c VALUE '1'. " variable to hold value '1'.
DATA : lv_tplnr TYPE iloa-tplnr, " variable to hold value of TPLNR.
lv_iloan TYPE qmih-iloan. " variable to hold value of ILOAN.
| 57.458333
| 131
| 0.50145
|
5cd8b44d979d21c09e31b19c3deacd3b03220100
| 866
|
abap
|
ABAP
|
src/profiles/y_if_list.intf.abap
|
thomham/code-pal-for-abap
|
c58c4333f236a17937335871d9261b0897209399
|
[
"Apache-2.0"
] | 2
|
2020-06-23T13:27:21.000Z
|
2020-11-03T12:19:18.000Z
|
src/profiles/y_if_list.intf.abap
|
thomham/code-pal-for-abap
|
c58c4333f236a17937335871d9261b0897209399
|
[
"Apache-2.0"
] | null | null | null |
src/profiles/y_if_list.intf.abap
|
thomham/code-pal-for-abap
|
c58c4333f236a17937335871d9261b0897209399
|
[
"Apache-2.0"
] | null | null | null |
INTERFACE y_if_list
PUBLIC .
METHODS append
IMPORTING line TYPE any.
METHODS delete_all.
METHODS delete_at
IMPORTING index TYPE i.
METHODS get_line_at
IMPORTING index TYPE i
RETURNING VALUE(result) TYPE REF TO data.
METHODS insert_at
IMPORTING line TYPE any
index TYPE i.
METHODS modify_at
IMPORTING line TYPE any
index TYPE i.
METHODS lines
RETURNING VALUE(result) TYPE i.
METHODS is_contained
IMPORTING line TYPE any
RETURNING VALUE(result) TYPE abap_bool.
METHODS set_table
IMPORTING table TYPE STANDARD TABLE.
METHODS get_table
RETURNING VALUE(result) TYPE REF TO data.
METHODS get_type_name
RETURNING VALUE(result) TYPE string.
METHODS get_line_index
IMPORTING line TYPE any
RETURNING VALUE(result) TYPE i.
ENDINTERFACE.
| 20.139535
| 45
| 0.69746
|
fc52c830b9ce214325df2899da9cc21730922800
| 5,957
|
abap
|
ABAP
|
src/mbc/zcl_mqba_shm_context_root.clas.abap
|
MDJoerg/MQBA
|
25214fcba497a2a753ca104f1adb41cf9a091222
|
[
"MIT"
] | 10
|
2018-08-29T07:07:26.000Z
|
2021-07-09T06:27:04.000Z
|
src/mbc/zcl_mqba_shm_context_root.clas.abap
|
MDJoerg/MQBA
|
25214fcba497a2a753ca104f1adb41cf9a091222
|
[
"MIT"
] | 6
|
2018-08-29T11:01:54.000Z
|
2019-02-16T15:14:11.000Z
|
src/mbc/zcl_mqba_shm_context_root.clas.abap
|
MDJoerg/MQBA
|
25214fcba497a2a753ca104f1adb41cf9a091222
|
[
"MIT"
] | 7
|
2018-08-29T11:34:34.000Z
|
2020-06-22T04:16:22.000Z
|
class ZCL_MQBA_SHM_CONTEXT_ROOT definition
public
create public
shared memory enabled .
public section.
interfaces IF_SHM_BUILD_INSTANCE .
interfaces ZIF_MQBA_SHM_CONTEXT .
protected section.
data MT_CACHE type ZMQBA_MBC_T_DATA .
data MV_GROUP type STRING .
methods GET_GROUP
importing
!IV_GROUP type DATA
returning
value(RV_GROUP) type ZMQBA_PARAM_GROUP .
private section.
ENDCLASS.
CLASS ZCL_MQBA_SHM_CONTEXT_ROOT IMPLEMENTATION.
METHOD get_group.
rv_group = COND #( WHEN iv_group IS NOT INITIAL
THEN iv_group
ELSE mv_group ).
ENDMETHOD.
METHOD if_shm_build_instance~build.
* local data
DATA: lr_root TYPE REF TO zcl_mqba_shm_context_root.
DATA: lx_exc TYPE REF TO cx_root.
TRY.
* get handle for
DATA(lr_area) = zcl_mqba_shm_context_area=>attach_for_write( inst_name = cl_shm_area=>default_instance ).
* create new data instance
CREATE OBJECT lr_root AREA HANDLE lr_area.
* set root and detach
lr_area->set_root( lr_root ).
lr_area->detach_commit( ).
CATCH cx_shm_exclusive_lock_active
cx_shm_version_limit_exceeded
cx_shm_change_lock_active
cx_shm_parameter_error
cx_shm_pending_lock_removed
INTO lx_exc.
DATA(lv_error) = lx_exc->get_text( ).
LOG-POINT ID zmqba_shm
SUBKEY 'build_shma_context_failed'
FIELDS lv_error.
MESSAGE lv_error TYPE 'E'.
ENDTRY.
IF invocation_mode = cl_shm_area=>invocation_mode_auto_build.
CALL FUNCTION 'DB_COMMIT'.
ENDIF.
ENDMETHOD.
METHOD zif_mqba_shm_context~calc_int.
DATA(lv_group) = get_group( iv_group ).
READ TABLE mt_cache ASSIGNING FIELD-SYMBOL(<lfs_row>)
WITH KEY param_group = lv_group
param_name = iv_param.
IF sy-subrc EQ 0
AND <lfs_row> IS ASSIGNED.
rv_int = <lfs_row>-param_value.
ADD iv_delta TO rv_int.
<lfs_row>-param_value = rv_int.
ELSE.
DATA: ls_row LIKE LINE OF mt_cache.
ls_row-param_group = lv_group.
ls_row-param_name = iv_param.
ls_row-param_value = iv_delta.
INSERT ls_row INTO TABLE mt_cache.
rv_int = iv_delta.
ENDIF.
ENDMETHOD.
METHOD zif_mqba_shm_context~clear.
DATA(lv_group) = get_group( iv_group ).
DESCRIBE TABLE mt_cache LINES DATA(lv_old).
DELETE mt_cache WHERE param_group = lv_group.
DESCRIBE TABLE mt_cache LINES DATA(lv_new).
rv_success = COND #( WHEN lv_old = lv_new
THEN abap_false
ELSE abap_true ).
ENDMETHOD.
METHOD zif_mqba_shm_context~get.
DATA(lv_group) = get_group( iv_group ).
READ TABLE mt_cache ASSIGNING FIELD-SYMBOL(<lfs_row>)
WITH KEY param_group = lv_group
param_name = iv_param.
IF sy-subrc EQ 0
AND <lfs_row> IS ASSIGNED.
rv_value = <lfs_row>-param_value.
ENDIF.
ENDMETHOD.
METHOD zif_mqba_shm_context~get_count.
DATA(lv_group) = get_group( iv_group ).
LOOP AT mt_cache TRANSPORTING NO FIELDS
WHERE param_group EQ lv_group.
ADD 1 TO rv_count.
ENDLOOP.
ENDMETHOD.
METHOD zif_mqba_shm_context~get_groups.
LOOP AT mt_cache ASSIGNING FIELD-SYMBOL(<lfs_cache>).
READ TABLE rt_groups TRANSPORTING NO FIELDS
WITH KEY table_line = <lfs_cache>-param_group.
IF sy-subrc NE 0.
APPEND INITIAL LINE TO rt_groups ASSIGNING FIELD-SYMBOL(<lfs_out>).
<lfs_out> = <lfs_cache>-param_group.
ENDIF.
ENDLOOP.
ENDMETHOD.
METHOD zif_mqba_shm_context~get_names.
DATA(lv_group) = get_group( iv_group ).
LOOP AT mt_cache ASSIGNING FIELD-SYMBOL(<lfs_row>)
WHERE param_group EQ lv_group.
APPEND INITIAL LINE TO rt_names ASSIGNING FIELD-SYMBOL(<lfs_name>).
<lfs_name> = <lfs_row>-param_name.
ENDLOOP.
ENDMETHOD.
METHOD zif_mqba_shm_context~get_tab.
DATA: ls_out LIKE LINE OF rt_param.
DATA(lv_group) = get_group( iv_group ).
LOOP AT mt_cache ASSIGNING FIELD-SYMBOL(<lfs_cache>)
WHERE param_group = lv_group.
IF it_param[] IS NOT INITIAL.
READ TABLE it_param TRANSPORTING NO FIELDS
WITH KEY table_line = <lfs_cache>-param_name.
IF sy-subrc NE 0.
CONTINUE.
ENDIF.
ENDIF.
MOVE-CORRESPONDING <lfs_cache> TO ls_out.
INSERT ls_out INTO TABLE rt_param.
ENDLOOP.
ENDMETHOD.
METHOD zif_mqba_shm_context~put.
DATA(lv_group) = get_group( iv_group ).
READ TABLE mt_cache ASSIGNING FIELD-SYMBOL(<lfs_row>)
WITH KEY param_group = lv_group
param_name = iv_param.
IF sy-subrc EQ 0
AND <lfs_row> IS ASSIGNED.
<lfs_row>-param_value = iv_value.
ELSE.
DATA ls_row LIKE LINE OF mt_cache.
ls_row-param_group = lv_group.
ls_row-param_name = iv_param.
ls_row-param_value = iv_value.
INSERT ls_row INTO TABLE mt_cache.
ENDIF.
rv_success = abap_true.
ENDMETHOD.
METHOD zif_mqba_shm_context~put_tab.
DATA(lv_group) = get_group( iv_group ).
rv_success = abap_true.
LOOP AT it_param ASSIGNING FIELD-SYMBOL(<lfs_row>).
IF zif_mqba_shm_context~put(
iv_group = lv_group
iv_param = <lfs_row>-param_name
iv_value = <lfs_row>-param_value ) EQ abap_false.
rv_success = abap_false.
ENDIF.
ENDLOOP.
ENDMETHOD.
METHOD zif_mqba_shm_context~remove.
DATA ls_row LIKE LINE OF mt_cache.
DATA(lv_group) = get_group( iv_group ).
ls_row-param_group = lv_group.
ls_row-param_name = iv_param.
DELETE TABLE mt_cache FROM ls_row.
rv_success = COND #( WHEN sy-subrc = 0
THEN abap_true
ELSE abap_false ).
ENDMETHOD.
METHOD zif_mqba_shm_context~set_group.
mv_group = iv_group.
rr_self = me.
ENDMETHOD.
ENDCLASS.
| 24.924686
| 115
| 0.664596
|
9d02755f527bfd79a97b0fbdb8e1daa1de67f9da
| 2,744
|
abap
|
ABAP
|
src/yif_addict_ticketing_system.intf.abap
|
kuzeydev/addict
|
9f69227b0771e6c416657fc853267e058b5746f0
|
[
"Apache-2.0"
] | 1
|
2020-12-17T19:37:37.000Z
|
2020-12-17T19:37:37.000Z
|
src/yif_addict_ticketing_system.intf.abap
|
kuzeydev/addict
|
9f69227b0771e6c416657fc853267e058b5746f0
|
[
"Apache-2.0"
] | null | null | null |
src/yif_addict_ticketing_system.intf.abap
|
kuzeydev/addict
|
9f69227b0771e6c416657fc853267e058b5746f0
|
[
"Apache-2.0"
] | null | null | null |
INTERFACE yif_addict_ticketing_system
PUBLIC .
TYPES string_list TYPE STANDARD TABLE OF string WITH EMPTY KEY.
TYPES tcode_list TYPE STANDARD TABLE OF tcode WITH KEY table_line.
TYPES ticket_id_list TYPE STANDARD TABLE OF yd_addict_ticket_id WITH KEY table_line.
TYPES status_id_list TYPE STANDARD TABLE OF yd_addict_ticket_status_id WITH KEY table_line.
TYPES: BEGIN OF status_dict,
status_id TYPE yd_addict_ticket_status_id,
status_text TYPE yd_addict_ticket_status_text,
END OF status_dict.
CONSTANTS: BEGIN OF class,
me TYPE seoclsname VALUE 'YIF_ADDICT_TICKETING_SYSTEM',
END OF class.
METHODS is_ticket_id_valid
IMPORTING !ticket_id TYPE yd_addict_ticket_id
RETURNING VALUE(output) TYPE abap_bool
RAISING ycx_addict_ticketing_system.
METHODS get_ticket_header
IMPORTING !ticket_id TYPE yd_addict_ticket_id
RETURNING VALUE(output) TYPE ysaddict_ticket_header
RAISING ycx_addict_ticketing_system.
METHODS get_transport_instructions
IMPORTING !ticket_id TYPE yd_addict_ticket_id
RETURNING VALUE(instructions) TYPE string_list
RAISING ycx_addict_ticketing_system.
METHODS get_sub_tickets
IMPORTING !parent TYPE yd_addict_ticket_id
RETURNING VALUE(children) TYPE ticket_id_list
RAISING ycx_addict_ticketing_system.
METHODS get_linked_tickets
IMPORTING !ticket_id TYPE yd_addict_ticket_id
RETURNING VALUE(tickets) TYPE ticket_id_list
RAISING ycx_addict_ticketing_system.
METHODS get_related_tcodes
IMPORTING !ticket_id TYPE yd_addict_ticket_id
RETURNING VALUE(tcodes) TYPE tcode_list
RAISING ycx_addict_ticketing_system.
METHODS get_tickets_related_to_tcodes
IMPORTING !tcodes TYPE tcode_list
RETURNING VALUE(tickets) TYPE ticket_id_list
RAISING ycx_addict_ticketing_system.
METHODS get_earliest_status
IMPORTING !statuses TYPE status_id_list
RETURNING VALUE(earliest) TYPE status_dict
RAISING ycx_addict_ticketing_system.
METHODS set_ticket_status
IMPORTING !ticket_id TYPE yd_addict_ticket_id
!status_id TYPE yd_addict_ticket_status_id
RAISING ycx_addict_ticketing_system.
METHODS set_ticket_assignee
IMPORTING !ticket_id TYPE yd_addict_ticket_id
!assignee TYPE clike
RAISING ycx_addict_ticketing_system.
METHODS set_ticket_assignee_for_status
IMPORTING !ticket_id TYPE yd_addict_ticket_id
!status_id TYPE yd_addict_ticket_status_id
RAISING ycx_addict_ticketing_system.
METHODS display_ticket
IMPORTING !ticket_id TYPE yd_addict_ticket_id
RAISING ycx_addict_ticketing_system.
ENDINTERFACE.
| 35.636364
| 93
| 0.774417
|
a11611e6cc982aa45974fe2b62cab6fbce17c76d
| 1,067
|
abap
|
ABAP
|
src/zif_agc_ui.intf.abap
|
FreHu/abapGitcustomizing
|
111503e6c786ab0d89d051aa83991c5b6d4e78e0
|
[
"MIT"
] | null | null | null |
src/zif_agc_ui.intf.abap
|
FreHu/abapGitcustomizing
|
111503e6c786ab0d89d051aa83991c5b6d4e78e0
|
[
"MIT"
] | null | null | null |
src/zif_agc_ui.intf.abap
|
FreHu/abapGitcustomizing
|
111503e6c786ab0d89d051aa83991c5b6d4e78e0
|
[
"MIT"
] | null | null | null |
INTERFACE zif_agc_ui
PUBLIC .
TYPES: BEGIN OF ty_customizing_ui,
objecttype TYPE trobjtype,
objectname TYPE trobj_name,
path TYPE string,
bcset_id TYPE string,
container_local TYPE REF TO cl_bcfg_bcset_config_container,
container_remote TYPE REF TO cl_bcfg_bcset_config_container,
container_result TYPE REF TO if_bcfg_result_apply,
import_log TYPE icon_d,
difference TYPE icon_d,
celltype TYPE salv_t_int4_column,
color TYPE lvc_t_scol,
END OF ty_customizing_ui.
TYPES ty_t_customizing_ui TYPE STANDARD TABLE OF ty_customizing_ui WITH DEFAULT KEY.
METHODS display
IMPORTING
iv_repository_key TYPE char12
RAISING zcx_agc_ui.
METHODS get_selected_customizing
RETURNING VALUE(rt_customizing_ui) TYPE ty_t_customizing_ui.
METHODS get_repository
RETURNING VALUE(ro_repository) TYPE REF TO zcl_abapgit_repo_online.
ENDINTERFACE.
| 33.34375
| 86
| 0.67104
|
e70eaea6f52b81aae273b0408ce43124cc01ccfb
| 2,463
|
abap
|
ABAP
|
src/zcl_xml_static.clas.abap
|
ivangurin/abapXML
|
c1d148e2fc0aa4563e94f1764737f79632e90c36
|
[
"MIT"
] | null | null | null |
src/zcl_xml_static.clas.abap
|
ivangurin/abapXML
|
c1d148e2fc0aa4563e94f1764737f79632e90c36
|
[
"MIT"
] | null | null | null |
src/zcl_xml_static.clas.abap
|
ivangurin/abapXML
|
c1d148e2fc0aa4563e94f1764737f79632e90c36
|
[
"MIT"
] | null | null | null |
class zcl_xml_static definition
public
final
create public .
*"* public components of class ZCL_XML_STATIC
*"* do not include other source files here!!!
public section.
type-pools abap .
constants true type text5 value 'true' ##NO_TEXT.
constants false type text5 value 'false' ##NO_TEXT.
class-methods date_in
importing
!i_date type simple
returning
value(e_date) type d .
class-methods date_time_in
importing
!i_date_time type simple
returning
value(e_timestamp) type timestamp .
class-methods date_time_out
importing
!i_timestamp type timestamp
returning
value(e_date_time) type string .
class-methods bool_in
importing
!i_value type simple
returning
value(e_bool) type abap_bool .
class-methods guid_in
importing
!i_guid type simple
returning
value(e_guid) type guid .
class-methods guid_out
importing
!i_guid type guid
returning
value(e_guid) type string .
protected section.
*"* protected components of class ZCL_XML_STATIC
*"* do not include other source files here!!!
private section.
*"* private components of class ZCL_XML_STATIC
*"* do not include other source files here!!!
ENDCLASS.
CLASS ZCL_XML_STATIC IMPLEMENTATION.
method bool_in.
check i_value is not initial.
cl_gdt_conversion=>indicator_inbound(
exporting
im_value = i_value
importing
ex_value = e_bool ).
endmethod.
method date_in.
data l_date(10).
l_date = i_date.
replace all occurrences of '-' in l_date with ``.
e_date = l_date.
endmethod.
method date_time_in.
cl_gdt_conversion=>date_time_inbound(
exporting
im_value = i_date_time
importing
ex_value_short = e_timestamp ).
endmethod.
method date_time_out.
cl_gdt_conversion=>date_time_outbound(
exporting
im_value_short = i_timestamp
importing
ex_value = e_date_time ).
endmethod.
method guid_in.
cl_gdt_conversion=>guid_inbound(
exporting
im_value = i_guid
importing
ex_guid_x = e_guid ).
endmethod.
method guid_out.
cl_gdt_conversion=>guid_outbound(
exporting
im_guid_x = i_guid
importing
ex_value = e_guid ).
endmethod.
ENDCLASS.
| 19.704
| 55
| 0.645148
|
cbff2cddf069a66c700dbc3fa032007f496373e5
| 855
|
abap
|
ABAP
|
src/legacy/#dmo#flight_travel_api30.fugr.#dmo#saplflight_travel_api30.abap
|
SAP-Cloud-Platform/flight30
|
452f9c62a52d24fc8305e648dd238677b0c9812d
|
[
"BSD-Source-Code"
] | 1
|
2020-07-16T22:28:09.000Z
|
2020-07-16T22:28:09.000Z
|
src/legacy/#dmo#flight_travel_api30.fugr.#dmo#saplflight_travel_api30.abap
|
SAP-Cloud-Platform/flight30
|
452f9c62a52d24fc8305e648dd238677b0c9812d
|
[
"BSD-Source-Code"
] | null | null | null |
src/legacy/#dmo#flight_travel_api30.fugr.#dmo#saplflight_travel_api30.abap
|
SAP-Cloud-Platform/flight30
|
452f9c62a52d24fc8305e648dd238677b0c9812d
|
[
"BSD-Source-Code"
] | 1
|
2020-05-26T14:03:49.000Z
|
2020-05-26T14:03:49.000Z
|
*******************************************************************
* System-defined Include-files. *
*******************************************************************
INCLUDE /DMO/LFLIGHT_TRAVEL_API30TOP. " Global Declarations
INCLUDE /DMO/LFLIGHT_TRAVEL_API30UXX. " Function Modules
*******************************************************************
* User-defined Include-files (if necessary). *
*******************************************************************
* INCLUDE /DMO/LFLIGHT_TRAVEL_API30F... " Subroutines
* INCLUDE /DMO/LFLIGHT_TRAVEL_API30O... " PBO-Modules
* INCLUDE /DMO/LFLIGHT_TRAVEL_API30I... " PAI-Modules
* INCLUDE /DMO/LFLIGHT_TRAVEL_API30E... " Events
* INCLUDE /DMO/LFLIGHT_TRAVEL_API30P... " Local class implement.
| 57
| 71
| 0.431579
|
000e4c144de07aedcb8cec74eba1b228864fd3a0
| 4,596
|
abap
|
ABAP
|
src/pgp/zcl_abappgp_convert.clas.abap
|
larshp/abapPGP
|
82cb07e17ad1c402275bb9e01f1b7bc3d1b2021f
|
[
"MIT"
] | 5
|
2016-11-19T14:35:50.000Z
|
2022-03-16T03:09:49.000Z
|
src/pgp/zcl_abappgp_convert.clas.abap
|
MikeSidorochkin/abapPGP
|
da3216c3511e341a9f6de790150d07801f3bd48a
|
[
"MIT"
] | 34
|
2016-09-29T18:06:29.000Z
|
2022-01-19T06:41:02.000Z
|
src/pgp/zcl_abappgp_convert.clas.abap
|
MikeSidorochkin/abapPGP
|
da3216c3511e341a9f6de790150d07801f3bd48a
|
[
"MIT"
] | 3
|
2018-12-07T15:30:46.000Z
|
2021-04-13T18:38:53.000Z
|
CLASS zcl_abappgp_convert DEFINITION
PUBLIC
FINAL
CREATE PUBLIC .
PUBLIC SECTION.
CLASS-METHODS base64_decode
IMPORTING
!iv_encoded TYPE string
RETURNING
VALUE(rv_bin) TYPE xstring .
CLASS-METHODS base64_encode
IMPORTING
!iv_bin TYPE xstring
RETURNING
VALUE(rv_encoded) TYPE string .
CLASS-METHODS bits_to_big_integer
IMPORTING
!iv_bits TYPE string
RETURNING
VALUE(ro_integer) TYPE REF TO zcl_abappgp_integer .
CLASS-METHODS bits_to_integer
IMPORTING
!iv_bits TYPE string
RETURNING
VALUE(rv_int) TYPE i .
CLASS-METHODS string_to_utf8
IMPORTING
!iv_data TYPE clike
RETURNING
VALUE(rv_data) TYPE xstring .
CLASS-METHODS to_bits
IMPORTING
!iv_data TYPE xsequence
RETURNING
VALUE(rv_bits) TYPE string .
CLASS-METHODS utf8_to_string
IMPORTING
!iv_data TYPE xstring
RETURNING
VALUE(rv_data) TYPE string .
PROTECTED SECTION.
PRIVATE SECTION.
ENDCLASS.
CLASS ZCL_ABAPPGP_CONVERT IMPLEMENTATION.
METHOD base64_decode.
CALL FUNCTION 'SSFC_BASE64_DECODE'
EXPORTING
b64data = iv_encoded
IMPORTING
bindata = rv_bin
EXCEPTIONS
ssf_krn_error = 1
ssf_krn_noop = 2
ssf_krn_nomemory = 3
ssf_krn_opinv = 4
ssf_krn_input_data_error = 5
ssf_krn_invalid_par = 6
ssf_krn_invalid_parlen = 7
OTHERS = 8.
ASSERT sy-subrc = 0.
ENDMETHOD.
METHOD base64_encode.
CALL FUNCTION 'SSFC_BASE64_ENCODE'
EXPORTING
bindata = iv_bin
IMPORTING
b64data = rv_encoded
EXCEPTIONS
ssf_krn_error = 1
ssf_krn_noop = 2
ssf_krn_nomemory = 3
ssf_krn_opinv = 4
ssf_krn_input_data_error = 5
ssf_krn_invalid_par = 6
ssf_krn_invalid_parlen = 7
OTHERS = 8.
ASSERT sy-subrc = 0.
ENDMETHOD.
METHOD bits_to_big_integer.
DATA: lv_bits TYPE string,
lo_multi TYPE REF TO zcl_abappgp_integer.
CREATE OBJECT lo_multi
EXPORTING
iv_integer = 1.
CREATE OBJECT ro_integer
EXPORTING
iv_integer = 0.
lv_bits = reverse( iv_bits ).
WHILE strlen( lv_bits ) > 0.
CASE lv_bits(1).
WHEN '0'.
WHEN '1'.
ro_integer = ro_integer->add( lo_multi ).
WHEN OTHERS.
ASSERT 0 = 1.
ENDCASE.
lv_bits = lv_bits+1.
lo_multi = lo_multi->multiply_int( 2 ).
ENDWHILE.
ENDMETHOD.
METHOD bits_to_integer.
DATA: lv_bits TYPE string,
lv_multi TYPE i VALUE 1.
lv_bits = reverse( iv_bits ).
WHILE strlen( lv_bits ) > 0.
CASE lv_bits(1).
WHEN '0'.
WHEN '1'.
rv_int = rv_int + lv_multi.
WHEN OTHERS.
ASSERT 0 = 1.
ENDCASE.
lv_bits = lv_bits+1.
lv_multi = lv_multi * 2.
ENDWHILE.
ENDMETHOD.
METHOD string_to_utf8.
DATA: lo_obj TYPE REF TO cl_abap_conv_out_ce.
TRY.
lo_obj = cl_abap_conv_out_ce=>create( encoding = 'UTF-8' ).
lo_obj->convert( EXPORTING data = iv_data
IMPORTING buffer = rv_data ).
CATCH cx_parameter_invalid_range
cx_sy_codepage_converter_init
cx_sy_conversion_codepage
cx_parameter_invalid_type. "#EC NO_HANDLER
ENDTRY.
ENDMETHOD.
METHOD to_bits.
DATA: lv_char TYPE c LENGTH 1,
lv_length TYPE i.
lv_length = xstrlen( iv_data ) * 8.
DO lv_length TIMES.
GET BIT sy-index OF iv_data INTO lv_char.
CONCATENATE rv_bits lv_char INTO rv_bits.
ENDDO.
ENDMETHOD.
METHOD utf8_to_string.
DATA: lv_len TYPE i,
lo_obj TYPE REF TO cl_abap_conv_in_ce.
TRY.
lo_obj = cl_abap_conv_in_ce=>create(
input = iv_data
encoding = 'UTF-8' ).
lv_len = xstrlen( iv_data ).
lo_obj->read( EXPORTING n = lv_len
IMPORTING data = rv_data ).
CATCH cx_parameter_invalid_range
cx_sy_codepage_converter_init
cx_sy_conversion_codepage
cx_parameter_invalid_type. "#EC NO_HANDLER
ENDTRY.
ENDMETHOD.
ENDCLASS.
| 22.202899
| 71
| 0.574413
|
be389359bb847f2b76dd50c6b6d841f77cb2dfdb
| 18,989
|
abap
|
ABAP
|
src/zcl_abap_seltab_to_where.clas.testclasses.abap
|
abapChaoLiu/seltab_to_where
|
08260bbe9959d56b5a8e7a193b0de575c9b9199b
|
[
"MIT"
] | 11
|
2019-03-21T18:38:13.000Z
|
2022-02-16T14:01:29.000Z
|
src/zcl_abap_seltab_to_where.clas.testclasses.abap
|
abapChaoLiu/seltab_to_where
|
08260bbe9959d56b5a8e7a193b0de575c9b9199b
|
[
"MIT"
] | 1
|
2021-11-03T16:50:30.000Z
|
2021-11-03T16:50:30.000Z
|
src/zcl_abap_seltab_to_where.clas.testclasses.abap
|
abapChaoLiu/seltab_to_where
|
08260bbe9959d56b5a8e7a193b0de575c9b9199b
|
[
"MIT"
] | 4
|
2020-12-14T16:41:58.000Z
|
2022-03-22T12:42:15.000Z
|
*"* use this source file for your ABAP unit test classes
CLASS zcl_abap_ut_seltab_to_where DEFINITION DEFERRED.
CLASS zcl_abap_seltab_to_where DEFINITION LOCAL FRIENDS zcl_abap_ut_seltab_to_where.
CLASS zcl_abap_ut_seltab_to_where DEFINITION
FOR TESTING
DURATION SHORT
RISK LEVEL HARMLESS
.
*?<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
*?<asx:values>
*?<TESTCLASS_OPTIONS>
*?<TEST_CLASS>zcl_abap_ut_seltab_to_where
*?</TEST_CLASS>
*?<TEST_MEMBER>f_Cut
*?</TEST_MEMBER>
*?<OBJECT_UNDER_TEST>zcl_abap_seltab_to_where
*?</OBJECT_UNDER_TEST>
*?<OBJECT_IS_LOCAL/>
*?<GENERATE_FIXTURE>X
*?</GENERATE_FIXTURE>
*?<GENERATE_CLASS_FIXTURE>X
*?</GENERATE_CLASS_FIXTURE>
*?<GENERATE_INVOCATION/>
*?<GENERATE_ASSERT_EQUAL>X
*?</GENERATE_ASSERT_EQUAL>
*?</TESTCLASS_OPTIONS>
*?</asx:values>
*?</asx:abap>
PRIVATE SECTION.
CLASS-DATA: mt_seltab TYPE zcl_abap_seltab_to_where=>tt_named_seltables.
* mt_sflight TYPE STANDARD TABLE OF sflight.
CONSTANTS: mc_db_table TYPE tabname VALUE 'SFLIGHT'.
CLASS-METHODS: class_setup.
CLASS-METHODS: class_teardown.
METHODS: setup.
METHODS: teardown.
METHODS: combine_seltabs_01 FOR TESTING.
METHODS: combine_seltabs_02 FOR TESTING.
METHODS: combine_seltabs_03 FOR TESTING.
METHODS: combine_seltabs_04 FOR TESTING.
METHODS: combine_seltabs_05 FOR TESTING.
METHODS: combine_seltabs_06 FOR TESTING.
METHODS: combine_seltabs_07 FOR TESTING.
METHODS: combine_seltabs_08 FOR TESTING.
METHODS: combine_seltabs_09 FOR TESTING.
METHODS: combine_seltabs_10 FOR TESTING.
* METHODS: combine_seltabs_07 FOR TESTING.
ENDCLASS. "zcl_abap_ut_seltab_to_where
CLASS zcl_abap_ut_seltab_to_where IMPLEMENTATION.
METHOD class_setup.
DATA: lr_ref TYPE REF TO data.
*
DATA: lo_struct TYPE REF TO cl_abap_structdescr,
lt_comp TYPE cl_abap_structdescr=>component_table,
lt_comp_rng TYPE cl_abap_structdescr=>component_table,
ls_comp LIKE LINE OF lt_comp.
DATA: ls_seltab TYPE zcl_abap_seltab_to_where=>ts_named_seltable.
DATA: lt_sflight TYPE STANDARD TABLE OF sflight.
FIELD-SYMBOLS: <ls_data> TYPE any.
***********************************************************************
**initial variables
***********************************************************************
lo_struct ?= cl_abap_typedescr=>describe_by_name( mc_db_table ).
lt_comp = lo_struct->get_components( ).
CLEAR lo_struct.
* "step 2
LOOP AT lt_comp INTO ls_comp.
CLEAR lt_comp_rng.
ls_seltab-name = ls_comp-name.
ls_comp-name = 'LOW'.
APPEND ls_comp TO lt_comp_rng.
ls_comp-name = 'HIGH'.
APPEND ls_comp TO lt_comp_rng.
ls_comp-name = 'SIGN'.
ls_comp-type ?= cl_abap_elemdescr=>get_c( p_length = 1 ).
APPEND ls_comp TO lt_comp_rng.
ls_comp-name = 'OPTION'.
ls_comp-type ?= cl_abap_elemdescr=>get_c( p_length = 2 ).
APPEND ls_comp TO lt_comp_rng.
lo_struct = cl_abap_structdescr=>get( p_components = lt_comp_rng p_strict = abap_false ).
*construct range table of a field
CREATE DATA lr_ref TYPE HANDLE lo_struct.
ASSIGN lr_ref->* TO <ls_data>.
CREATE DATA ls_seltab-dref LIKE TABLE OF <ls_data>.
APPEND ls_seltab TO mt_seltab.
ENDLOOP.
ENDMETHOD.
METHOD class_teardown.
ENDMETHOD.
METHOD combine_seltabs_01.
DATA: lv_where_src TYPE string,
lv_where_tgt TYPE string,
lt_sfl_src TYPE STANDARD TABLE OF sflight,
lt_sfl_tgt TYPE STANDARD TABLE OF sflight,
lt_rng_carrid TYPE RANGE OF sflight-carrid.
DATA: lt_seltab LIKE mt_seltab.
FIELD-SYMBOLS: <ls_seltab> TYPE zcl_abap_seltab_to_where=>ts_named_seltable.
**********************************************************************
*Test Case 1.
*Simple EQ condition
**********************************************************************
lt_seltab = mt_seltab.
lv_where_src = |( CARRID EQ 'PDB' )|.
READ TABLE lt_seltab WITH KEY name = 'CARRID' ASSIGNING <ls_seltab>.
IF sy-subrc = 0.
lt_rng_carrid = VALUE #( sign = 'I' option = 'EQ' ( low = 'PDB' ) ).
<ls_seltab>-dref = ref #( lt_rng_carrid ).
ENDIF.
lv_where_tgt = zcl_abap_seltab_to_where=>combine_seltabs(
it_named_seltabs = lt_seltab
)
.
cl_aunit_assert=>assert_equals(
exp = lv_where_src
act = lv_where_tgt
msg = |SRC: { lv_where_src }, TGT: { lv_where_tgt }.|
).
ENDMETHOD.
METHOD combine_seltabs_02.
DATA: lv_where_src TYPE string,
lv_where_tgt TYPE string,
lt_rng_carrid TYPE RANGE OF sflight-carrid.
DATA: lt_seltab LIKE mt_seltab.
FIELD-SYMBOLS: <ls_seltab> TYPE zcl_abap_seltab_to_where=>ts_named_seltable.
**********************************************************************
*Test Case 2.
*Simple NE condition
**********************************************************************
lt_seltab = mt_seltab.
lv_where_src = |( CARRID NE 'PDB' )|.
READ TABLE lt_seltab WITH KEY name = 'CARRID' ASSIGNING <ls_seltab>.
IF sy-subrc = 0.
lt_rng_carrid = VALUE #( sign = 'I' option = 'NE' ( low = 'PDB' ) ).
<ls_seltab>-dref = ref #( lt_rng_carrid ).
ENDIF.
lv_where_tgt = zcl_abap_seltab_to_where=>combine_seltabs(
it_named_seltabs = lt_seltab
)
.
cl_aunit_assert=>assert_equals(
exp = lv_where_src
act = lv_where_tgt
msg = |CASE 2. SRC: { lv_where_src }, TGT: { lv_where_tgt }.|
).
ENDMETHOD.
METHOD combine_seltabs_03.
DATA: lv_where_src TYPE string,
lv_where_tgt TYPE string,
lt_sfl_src TYPE STANDARD TABLE OF sflight,
lt_sfl_tgt TYPE STANDARD TABLE OF sflight,
lt_rng_carrid TYPE RANGE OF sflight-carrid.
DATA: lt_seltab LIKE mt_seltab.
FIELD-SYMBOLS: <ls_seltab> TYPE zcl_abap_seltab_to_where=>ts_named_seltable.
**********************************************************************
*Test Case 3.
*SIGN = 'E' and OPTION = 'EQ'.
**********************************************************************
lt_seltab = mt_seltab.
lv_where_src = |( NOT ( CARRID EQ 'PDB' ) )|.
READ TABLE lt_seltab WITH KEY name = 'CARRID' ASSIGNING <ls_seltab>.
IF sy-subrc = 0.
lt_rng_carrid = VALUE #( sign = 'E' option = 'EQ' ( low = 'PDB' ) ).
<ls_seltab>-dref = ref #( lt_rng_carrid ).
ENDIF.
lv_where_tgt = zcl_abap_seltab_to_where=>combine_seltabs(
it_named_seltabs = lt_seltab
)
.
cl_aunit_assert=>assert_equals(
exp = lv_where_src
act = lv_where_tgt
msg = |SRC: { lv_where_src }, TGT: { lv_where_tgt }.|
).
ENDMETHOD.
METHOD combine_seltabs_04.
DATA: lv_where_src TYPE string,
lv_where_tgt TYPE string,
lt_sfl_src TYPE STANDARD TABLE OF sflight,
lt_sfl_tgt TYPE STANDARD TABLE OF sflight,
lt_rng_carrid TYPE RANGE OF sflight-carrid.
DATA: lt_seltab LIKE mt_seltab.
FIELD-SYMBOLS: <ls_seltab> TYPE zcl_abap_seltab_to_where=>ts_named_seltable,
<lt_sfl_src> TYPE STANDARD TABLE,
<lt_sfl_tgt> TYPE STANDARD TABLE.
**********************************************************************
*Test Case 4.
*Handle NULL in DB.
**********************************************************************
lt_seltab = mt_seltab.
lv_where_src = |( CARRID EQ '' OR CARRID IS NULL )|.
READ TABLE lt_seltab WITH KEY name = 'CARRID' ASSIGNING <ls_seltab>.
IF sy-subrc = 0.
lt_rng_carrid = VALUE #( sign = 'I' option = 'EQ' ( low = '' ) ).
<ls_seltab>-dref = ref #( lt_rng_carrid ).
ENDIF.
lv_where_tgt = zcl_abap_seltab_to_where=>combine_seltabs(
it_named_seltabs = lt_seltab
)
.
cl_aunit_assert=>assert_equals(
exp = lv_where_src
act = lv_where_tgt
msg = |SRC: { lv_where_src }, TGT: { lv_where_tgt }.|
).
ENDMETHOD.
METHOD combine_seltabs_05.
DATA: lv_where_src TYPE string,
lv_where_tgt TYPE string,
lt_sfl_src TYPE STANDARD TABLE OF sflight,
lt_sfl_tgt TYPE STANDARD TABLE OF sflight,
lt_rng_carrid TYPE RANGE OF sflight-carrid,
lt_rng_connid TYPE RANGE OF sflight-connid.
DATA: lt_seltab LIKE mt_seltab.
FIELD-SYMBOLS: <ls_seltab> TYPE zcl_abap_seltab_to_where=>ts_named_seltable,
<lt_sfl_src> TYPE STANDARD TABLE,
<lt_sfl_tgt> TYPE STANDARD TABLE.
**********************************************************************
*Test Case 5.
*Condition on two fields.
**********************************************************************
lt_seltab = mt_seltab.
lv_where_src = |( CARRID EQ '' OR CARRID IS NULL ) AND ( CONNID EQ '0820' )|.
READ TABLE lt_seltab WITH KEY name = 'CARRID' ASSIGNING <ls_seltab>.
IF sy-subrc = 0.
lt_rng_carrid = VALUE #( sign = 'I' option = 'EQ' ( low = '' ) ).
<ls_seltab>-dref = ref #( lt_rng_carrid ).
ENDIF.
READ TABLE lt_seltab WITH KEY name = 'CONNID' ASSIGNING <ls_seltab>.
IF sy-subrc = 0.
lt_rng_connid = VALUE #( sign = 'I' option = 'EQ' ( low = '0820' ) ).
<ls_seltab>-dref = ref #( lt_rng_connid ).
ENDIF.
lv_where_tgt = zcl_abap_seltab_to_where=>combine_seltabs(
it_named_seltabs = lt_seltab
)
.
cl_aunit_assert=>assert_equals(
exp = lv_where_src
act = lv_where_tgt
msg = |SRC: { lv_where_src }, TGT: { lv_where_tgt }.|
).
ENDMETHOD.
METHOD combine_seltabs_06.
DATA: lv_where_src TYPE string,
lv_where_tgt TYPE string,
lt_sfl_src TYPE STANDARD TABLE OF sflight,
lt_sfl_tgt TYPE STANDARD TABLE OF sflight,
lt_rng_carrid TYPE RANGE OF sflight-carrid,
lt_rng_connid TYPE RANGE OF sflight-connid.
DATA: lt_seltab LIKE mt_seltab.
FIELD-SYMBOLS: <ls_seltab> TYPE zcl_abap_seltab_to_where=>ts_named_seltable,
<lt_sfl_src> TYPE STANDARD TABLE,
<lt_sfl_tgt> TYPE STANDARD TABLE.
**********************************************************************
*Test Case 6.
*Condition on two fields. Two values are selected on the first field.
**********************************************************************
lt_seltab = mt_seltab.
lv_where_src = |( CARRID EQ 'AC' OR CARRID EQ 'LH' ) AND ( CONNID EQ '0820' )|.
READ TABLE lt_seltab WITH KEY name = 'CARRID' ASSIGNING <ls_seltab>.
IF sy-subrc = 0.
lt_rng_carrid = VALUE #( sign = 'I' option = 'EQ' ( low = 'AC' )
( low = 'LH' ) ).
<ls_seltab>-dref = ref #( lt_rng_carrid ).
ENDIF.
READ TABLE lt_seltab WITH KEY name = 'CONNID' ASSIGNING <ls_seltab>.
IF sy-subrc = 0.
lt_rng_connid = VALUE #( sign = 'I' option = 'EQ' ( low = '0820' ) ).
<ls_seltab>-dref = ref #( lt_rng_connid ).
ENDIF.
lv_where_tgt = zcl_abap_seltab_to_where=>combine_seltabs(
it_named_seltabs = lt_seltab
)
.
cl_aunit_assert=>assert_equals(
exp = lv_where_src
act = lv_where_tgt
msg = |SRC: { lv_where_src }, TGT: { lv_where_tgt }.|
).
ENDMETHOD.
METHOD combine_seltabs_07.
DATA: lv_where_src TYPE string,
lv_where_tgt TYPE string,
lt_sfl_src TYPE STANDARD TABLE OF sflight,
lt_sfl_tgt TYPE STANDARD TABLE OF sflight,
lt_rng_fldate TYPE RANGE OF sflight-fldate.
.
DATA: lt_seltab LIKE mt_seltab.
FIELD-SYMBOLS: <ls_seltab> TYPE zcl_abap_seltab_to_where=>ts_named_seltable,
<lt_sfl_src> TYPE STANDARD TABLE,
<lt_sfl_tgt> TYPE STANDARD TABLE.
**********************************************************************
*Test Case 7.
*Select a single date .
**********************************************************************
lt_seltab = mt_seltab.
lv_where_src = |( FLDATE EQ '20190319' )|.
READ TABLE lt_seltab WITH KEY name = 'FLDATE' ASSIGNING <ls_seltab>.
IF sy-subrc = 0.
lt_rng_fldate = VALUE #( sign = 'I' option = 'EQ' ( low = '20190319' ) ).
<ls_seltab>-dref = ref #( lt_rng_fldate ).
ENDIF.
lv_where_tgt = zcl_abap_seltab_to_where=>combine_seltabs(
it_named_seltabs = lt_seltab
)
.
cl_aunit_assert=>assert_equals(
exp = lv_where_src
act = lv_where_tgt
msg = |SRC: { lv_where_src }, TGT: { lv_where_tgt }.|
).
ENDMETHOD.
METHOD combine_seltabs_08.
DATA: lv_where_src TYPE string,
lv_where_tgt TYPE string,
lt_sfl_src TYPE STANDARD TABLE OF sflight,
lt_sfl_tgt TYPE STANDARD TABLE OF sflight,
lt_rng_fldate TYPE RANGE OF sflight-fldate.
.
DATA: lt_seltab LIKE mt_seltab.
FIELD-SYMBOLS: <ls_seltab> TYPE zcl_abap_seltab_to_where=>ts_named_seltable,
<lt_sfl_src> TYPE STANDARD TABLE,
<lt_sfl_tgt> TYPE STANDARD TABLE.
**********************************************************************
*Test Case 8.
*Select on date range
**********************************************************************
lt_seltab = mt_seltab.
lv_where_src = |( FLDATE BETWEEN '20190319' AND '20191231' )|.
READ TABLE lt_seltab WITH KEY name = 'FLDATE' ASSIGNING <ls_seltab>.
IF sy-subrc = 0.
lt_rng_fldate = VALUE #( sign = 'I' option = 'BT' ( low = '20190319' high = '20191231' ) ).
<ls_seltab>-dref = ref #( lt_rng_fldate ).
ENDIF.
lv_where_tgt = zcl_abap_seltab_to_where=>combine_seltabs(
it_named_seltabs = lt_seltab
)
.
cl_aunit_assert=>assert_equals(
exp = lv_where_src
act = lv_where_tgt
msg = |SRC: { lv_where_src }, TGT: { lv_where_tgt }.|
).
ENDMETHOD.
METHOD combine_seltabs_09.
DATA: lv_where_src TYPE string,
lv_where_tgt TYPE string,
lt_sfl_src TYPE STANDARD TABLE OF sflight,
lt_sfl_tgt TYPE STANDARD TABLE OF sflight,
lt_rng_carrid TYPE RANGE OF sflight-carrid,
lt_rng_connid TYPE RANGE OF sflight-connid,
lt_rng_currency TYPE RANGE OF sflight-currency,
lt_rng_fldate TYPE RANGE OF sflight-fldate.
.
DATA: lt_seltab LIKE mt_seltab.
FIELD-SYMBOLS: <ls_seltab> TYPE zcl_abap_seltab_to_where=>ts_named_seltable,
<lt_sfl_src> TYPE STANDARD TABLE,
<lt_sfl_tgt> TYPE STANDARD TABLE.
**********************************************************************
*Test Case 9.
*include wildcard characters
**********************************************************************
lt_seltab = mt_seltab.
lv_where_src = |( CARRID LIKE 'L%' )|.
lv_where_src = |{ lv_where_src } AND ( CURRENCY NOT LIKE 'US_' )|.
READ TABLE lt_seltab WITH KEY name = 'CARRID' ASSIGNING <ls_seltab>.
IF sy-subrc = 0.
lt_rng_carrid = VALUE #( sign = 'I' option = 'CP' ( low = 'L*' ) ).
<ls_seltab>-dref = ref #( lt_rng_carrid ).
ENDIF.
READ TABLE lt_seltab WITH KEY name = 'CURRENCY' ASSIGNING <ls_seltab>.
IF sy-subrc = 0.
lt_rng_currency = VALUE #( sign = 'I' option = 'NP' ( low = 'US+' ) ).
<ls_seltab>-dref = ref #( lt_rng_currency ).
ENDIF.
lv_where_tgt = zcl_abap_seltab_to_where=>combine_seltabs(
it_named_seltabs = lt_seltab
)
.
cl_aunit_assert=>assert_equals(
exp = lv_where_src
act = lv_where_tgt
msg = |SRC: { lv_where_src }, TGT: { lv_where_tgt }.|
).
ENDMETHOD.
METHOD combine_seltabs_10.
DATA: lv_where_src TYPE string,
lv_where_tgt TYPE string,
lt_sfl_src TYPE STANDARD TABLE OF sflight,
lt_sfl_tgt TYPE STANDARD TABLE OF sflight,
lt_rng_carrid TYPE RANGE OF sflight-carrid,
lt_rng_connid TYPE RANGE OF sflight-connid,
lt_rng_currency TYPE RANGE OF sflight-currency,
lt_rng_fldate TYPE RANGE OF sflight-fldate.
.
DATA: lt_seltab LIKE mt_seltab.
FIELD-SYMBOLS: <ls_seltab> TYPE zcl_abap_seltab_to_where=>ts_named_seltable,
<lt_sfl_src> TYPE STANDARD TABLE,
<lt_sfl_tgt> TYPE STANDARD TABLE.
**********************************************************************
*Test Case 10.
*Complex conditions
**********************************************************************
lt_seltab = mt_seltab.
lv_where_src = |( CARRID EQ 'LH' OR CARRID EQ 'AC' OR CARRID LIKE 'L%' )|.
lv_where_src = |{ lv_where_src } AND ( CONNID NE '1111' )|.
lv_where_src = |{ lv_where_src } AND ( FLDATE BETWEEN '20190319' AND '20191231' )|.
lv_where_src = |{ lv_where_src } AND ( ( CURRENCY NOT LIKE 'AB_' ) AND NOT ( CURRENCY NE 'USD' ) )|.
READ TABLE lt_seltab WITH KEY name = 'CARRID' ASSIGNING <ls_seltab>.
IF sy-subrc = 0.
lt_rng_carrid = VALUE #( ( sign = 'I' option = 'EQ' low = 'LH' )
( sign = 'I' option = 'EQ' low = 'AC' )
( sign = 'I' option = 'CP' low = 'L*' ) ).
<ls_seltab>-dref = ref #( lt_rng_carrid ).
ENDIF.
READ TABLE lt_seltab WITH KEY name = 'CURRENCY' ASSIGNING <ls_seltab>.
IF sy-subrc = 0.
lt_rng_currency = VALUE #( ( sign = 'I' option = 'NP' low = 'AB+' )
( sign = 'E' option = 'NE' low = 'USD' ) ).
<ls_seltab>-dref = ref #( lt_rng_currency ).
ENDIF.
READ TABLE lt_seltab WITH KEY name = 'CONNID' ASSIGNING <ls_seltab>.
IF sy-subrc = 0.
lt_rng_connid = VALUE #( sign = 'I' option = 'NE' ( low = '1111' ) ).
<ls_seltab>-dref = ref #( lt_rng_connid ).
ENDIF.
READ TABLE lt_seltab WITH KEY name = 'FLDATE' ASSIGNING <ls_seltab>.
IF sy-subrc = 0.
lt_rng_fldate = VALUE #( sign = 'I' option = 'BT' ( low = '20190319' high = '20191231' ) ).
<ls_seltab>-dref = ref #( lt_rng_fldate ).
ENDIF.
lv_where_tgt = zcl_abap_seltab_to_where=>combine_seltabs(
it_named_seltabs = lt_seltab
)
.
cl_aunit_assert=>assert_equals(
exp = lv_where_src
act = lv_where_tgt
msg = |SRC: { lv_where_src }, TGT: { lv_where_tgt }.|
).
ENDMETHOD.
METHOD setup.
* .
ENDMETHOD.
METHOD teardown.
ENDMETHOD.
ENDCLASS.
| 33.372583
| 104
| 0.568908
|
280bc1aca90f49a0657b5129f55a7b4619e1809d
| 477
|
abap
|
ABAP
|
src/pufletestview.fugr.lpufletestviewi00.abap
|
filak-sap/abapgit_table_view_maitenance
|
ce1d608eaa44fff4f3d6ab0e907a63f12ac71ea2
|
[
"Apache-2.0"
] | null | null | null |
src/pufletestview.fugr.lpufletestviewi00.abap
|
filak-sap/abapgit_table_view_maitenance
|
ce1d608eaa44fff4f3d6ab0e907a63f12ac71ea2
|
[
"Apache-2.0"
] | null | null | null |
src/pufletestview.fugr.lpufletestviewi00.abap
|
filak-sap/abapgit_table_view_maitenance
|
ce1d608eaa44fff4f3d6ab0e907a63f12ac71ea2
|
[
"Apache-2.0"
] | null | null | null |
*---------------------------------------------------------------------*
* view related PAI modules
* generation date: 03/21/2021 at 18:29:58
* view maintenance generator version: #001407#
*---------------------------------------------------------------------*
*...processing: PUFLE_TESTV.....................................*
*---------------------------------------------------------------------*
*---------------------------------------------------------------------*
| 53
| 71
| 0.228512
|
399e5240fee452548b5a5ed08c0458ea6cc30293
| 328
|
abap
|
ABAP
|
kapitel_05/zbook_location.fugr.z_book_location_get_data.abap
|
abapkochbuch/Sources
|
159775b787fcbc4c6b7eff01e505144b7c33a437
|
[
"MIT"
] | 12
|
2018-06-22T10:55:06.000Z
|
2022-03-22T12:10:48.000Z
|
kapitel_05/zbook_location.fugr.z_book_location_get_data.abap
|
abapkochbuch/Sources
|
159775b787fcbc4c6b7eff01e505144b7c33a437
|
[
"MIT"
] | 5
|
2018-06-25T11:45:26.000Z
|
2019-09-04T19:41:55.000Z
|
kapitel_05/zbook_location.fugr.z_book_location_get_data.abap
|
abapkochbuch/Sources
|
159775b787fcbc4c6b7eff01e505144b7c33a437
|
[
"MIT"
] | 7
|
2018-07-02T14:20:28.000Z
|
2022-03-25T19:33:33.000Z
|
FUNCTION z_book_location_get_data.
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*" EXPORTING
*" REFERENCE(LOCATION) TYPE ZBOOK_LOCATION
*"----------------------------------------------------------------------
PERFORM radio2location changing location.
ENDFUNCTION.
| 29.818182
| 72
| 0.435976
|
88f9e42fea6f2e4126934746f7f1692c0419f189
| 2,909
|
abap
|
ABAP
|
src/zcl_binary_to_integer.clas.abap
|
MBartsch71/abap-binary-tools
|
5cbb8bd6f4f3760f686a1b77c0f3a5e3f11460d9
|
[
"MIT"
] | null | null | null |
src/zcl_binary_to_integer.clas.abap
|
MBartsch71/abap-binary-tools
|
5cbb8bd6f4f3760f686a1b77c0f3a5e3f11460d9
|
[
"MIT"
] | null | null | null |
src/zcl_binary_to_integer.clas.abap
|
MBartsch71/abap-binary-tools
|
5cbb8bd6f4f3760f686a1b77c0f3a5e3f11460d9
|
[
"MIT"
] | null | null | null |
CLASS zcl_binary_to_integer DEFINITION
PUBLIC
CREATE PUBLIC .
PUBLIC SECTION.
INTERFACES zif_from_binary.
PRIVATE SECTION.
CONSTANTS c_binary_base TYPE i VALUE 2.
CONSTANTS c_one_binary_digit TYPE i VALUE 1.
CONSTANTS c_value_one TYPE i VALUE 1.
CONSTANTS c_no_offset TYPE i VALUE 0.
DATA current_power TYPE i.
DATA binary_number TYPE string.
METHODS save_input_as_binary_number IMPORTING input TYPE string.
METHODS convert_from_binary IMPORTING input TYPE string
RETURNING VALUE(result) TYPE i.
METHODS extract_leading_digit IMPORTING i_binary_number TYPE string
RETURNING VALUE(result) TYPE string.
METHODS string_has_multiple_digits IMPORTING binary_number TYPE string
RETURNING VALUE(result) TYPE abap_bool.
METHODS shorten_binary_number_left.
METHODS compute_power_of_two_for_digit IMPORTING binary_digit TYPE string
RETURNING VALUE(result) TYPE i.
METHODS compute_current_power_of_two RETURNING VALUE(result) TYPE i.
METHODS increase_current_power_by_one.
METHODS referencing IMPORTING number TYPE i
RETURNING VALUE(result) TYPE REF TO data.
ENDCLASS.
CLASS zcl_binary_to_integer IMPLEMENTATION.
METHOD zif_from_binary~convert.
save_input_as_binary_number( input ).
result = referencing( convert_from_binary( input ) ).
ENDMETHOD.
METHOD save_input_as_binary_number.
binary_number = input.
ENDMETHOD.
METHOD convert_from_binary.
DATA(binary_digit) = extract_leading_digit( binary_number ).
IF string_has_multiple_digits( binary_number ).
shorten_binary_number_left( ).
result = convert_from_binary( binary_number ).
ENDIF.
result = result + ( binary_digit * compute_power_of_two_for_digit( binary_digit ) ).
ENDMETHOD.
METHOD extract_leading_digit.
result = substring( val = i_binary_number off = c_no_offset len = c_value_one ).
ENDMETHOD.
METHOD string_has_multiple_digits.
result = xsdbool( strlen( binary_number ) > c_one_binary_digit ).
ENDMETHOD.
METHOD shorten_binary_number_left.
SHIFT binary_number LEFT BY c_value_one PLACES.
ENDMETHOD.
METHOD compute_power_of_two_for_digit.
result = binary_digit * compute_current_power_of_two( ).
increase_current_power_by_one( ).
ENDMETHOD.
METHOD compute_current_power_of_two.
result = c_binary_base ** current_power.
ENDMETHOD.
METHOD increase_current_power_by_one.
current_power = current_power + c_value_one.
ENDMETHOD.
METHOD referencing.
CREATE DATA result TYPE i.
ASSIGN result->* TO FIELD-SYMBOL(<result>).
<result> = number.
ENDMETHOD.
ENDCLASS.
| 30.621053
| 88
| 0.696459
|
822a0abec90ab9c998bacb893ff056fc56167581
| 415
|
abap
|
ABAP
|
src/zguidrasil_control_icon.fugr.lzguidrasil_control_iconi02.abap
|
christianguenter2/guidrasil
|
afb2a15c1aa7ddc3a041a4ff58b9c4f4476c0e18
|
[
"MIT"
] | 9
|
2018-10-11T15:14:09.000Z
|
2022-03-19T06:50:29.000Z
|
src/zguidrasil_control_icon.fugr.lzguidrasil_control_iconi02.abap
|
christianguenter2/guidrasil
|
afb2a15c1aa7ddc3a041a4ff58b9c4f4476c0e18
|
[
"MIT"
] | 7
|
2018-10-11T15:30:25.000Z
|
2019-01-16T16:04:34.000Z
|
src/zguidrasil_control_icon.fugr.lzguidrasil_control_iconi02.abap
|
christianguenter2/guidrasil
|
afb2a15c1aa7ddc3a041a4ff58b9c4f4476c0e18
|
[
"MIT"
] | 3
|
2018-10-11T15:30:59.000Z
|
2020-06-02T21:55:39.000Z
|
*----------------------------------------------------------------------*
***INCLUDE LZGUIDRASIL_CONTROL_ICONI02.
*----------------------------------------------------------------------*
*&---------------------------------------------------------------------*
*& Module F4_ICON INPUT
*&---------------------------------------------------------------------*
MODULE f4_icon INPUT.
perform f4_icon.
ENDMODULE.
| 41.5
| 72
| 0.224096
|
6b66fed6c3ee445e29f97412718eddfd3f24200e
| 579
|
abap
|
ABAP
|
src/ui/zaoc_naming.fugr.lzaoc_namingf02.abap
|
DennstedtB/abapOpenChecks
|
551dad876ce09d6b7cca32dd166827f1cdbf33e5
|
[
"MIT"
] | 199
|
2015-02-17T07:08:01.000Z
|
2022-03-23T09:50:05.000Z
|
src/ui/zaoc_naming.fugr.lzaoc_namingf02.abap
|
DennstedtB/abapOpenChecks
|
551dad876ce09d6b7cca32dd166827f1cdbf33e5
|
[
"MIT"
] | 769
|
2015-01-03T07:09:11.000Z
|
2022-03-21T11:59:53.000Z
|
src/ui/zaoc_naming.fugr.lzaoc_namingf02.abap
|
DennstedtB/abapOpenChecks
|
551dad876ce09d6b7cca32dd166827f1cdbf33e5
|
[
"MIT"
] | 109
|
2015-03-09T10:22:34.000Z
|
2022-03-08T08:47:41.000Z
|
*----------------------------------------------------------------------*
***INCLUDE LZAOC_NAMINGF02.
*----------------------------------------------------------------------*
AT SELECTION-SCREEN.
lcl_screen2000=>handle_command( ).
AT SELECTION-SCREEN OUTPUT.
lcl_screen2000=>at_output( ).
AT SELECTION-SCREEN ON EXIT-COMMAND.
lcl_screen2000=>handle_command( ).
LOAD-OF-PROGRAM.
button_1 = 'Prefixes'(002).
button_2 = 'Globals'(003).
button_3 = 'Locals'(004).
button_4 = 'Procedural'(005).
button_5 = 'Object Oriented'(006).
button_6 = 'Other Settings'(007).
| 27.571429
| 72
| 0.531952
|
ff68accc1751d7cb9ef0e33ceea90e4df7669fc6
| 229
|
abap
|
ABAP
|
src/zrapcloud_uuid_four_levels/zbp_i_af_demolevel4_01.clas.abap
|
SAP-samples/abap-platform-code-samples-cloud
|
9bc0a977a318643a7d53dcb28b5ed3c2c9fef3ed
|
[
"Apache-2.0"
] | 5
|
2021-09-21T22:24:50.000Z
|
2022-02-23T16:36:03.000Z
|
src/zrapcloud_uuid_four_levels/zbp_i_af_demolevel4_01.clas.abap
|
SAP-samples/abap-platform-code-samples-cloud
|
9bc0a977a318643a7d53dcb28b5ed3c2c9fef3ed
|
[
"Apache-2.0"
] | null | null | null |
src/zrapcloud_uuid_four_levels/zbp_i_af_demolevel4_01.clas.abap
|
SAP-samples/abap-platform-code-samples-cloud
|
9bc0a977a318643a7d53dcb28b5ed3c2c9fef3ed
|
[
"Apache-2.0"
] | null | null | null |
class ZBP_I_AF_DEMOLEVEL4_01 definition
public
abstract
final
for behavior of ZI_AF_DEMOLEVEL1_01 .
public section.
protected section.
private section.
ENDCLASS.
CLASS ZBP_I_AF_DEMOLEVEL4_01 IMPLEMENTATION.
ENDCLASS.
| 14.3125
| 44
| 0.820961
|
e3efa6c61ecafda35f6a77f4e6e588d7cb3eb125
| 1,402
|
abap
|
ABAP
|
src/objects/core/zabapgit_parallel.fugr.z_abapgit_serialize_package.abap
|
gepparta/abapGit
|
79da4eb38520facea52e1f5a1b2a189f208de4e9
|
[
"MIT"
] | 797
|
2015-02-06T15:38:41.000Z
|
2020-09-23T02:57:02.000Z
|
src/objects/core/zabapgit_parallel.fugr.z_abapgit_serialize_package.abap
|
gepparta/abapGit
|
79da4eb38520facea52e1f5a1b2a189f208de4e9
|
[
"MIT"
] | 2,776
|
2015-01-13T03:59:55.000Z
|
2020-09-23T21:46:34.000Z
|
src/objects/core/zabapgit_parallel.fugr.z_abapgit_serialize_package.abap
|
gepparta/abapGit
|
79da4eb38520facea52e1f5a1b2a189f208de4e9
|
[
"MIT"
] | 499
|
2015-01-13T03:41:36.000Z
|
2020-09-22T11:50:54.000Z
|
FUNCTION z_abapgit_serialize_package.
*"----------------------------------------------------------------------
*"*"Local Interface:
*" IMPORTING
*" VALUE(IV_PACKAGE) TYPE DEVCLASS
*" VALUE(IV_FOLDER_LOGIC) TYPE STRING DEFAULT 'PREFIX'
*" VALUE(IV_MAIN_LANG_ONLY) TYPE FLAG DEFAULT ''
*" VALUE(IV_SHOW_LOG) TYPE FLAG DEFAULT ''
*" EXPORTING
*" VALUE(EV_XSTRING) TYPE XSTRING
*" EXCEPTIONS
*" ERROR
*"----------------------------------------------------------------------
DATA:
lx_error TYPE REF TO zcx_abapgit_exception,
lv_text TYPE c LENGTH 200,
ls_local_settings TYPE zif_abapgit_persistence=>ty_repo-local_settings,
lo_dot_abapgit TYPE REF TO zcl_abapgit_dot_abapgit.
TRY.
ls_local_settings-main_language_only = iv_main_lang_only.
lo_dot_abapgit = zcl_abapgit_dot_abapgit=>build_default( ).
lo_dot_abapgit->set_folder_logic( iv_folder_logic ).
ev_xstring = zcl_abapgit_zip=>export(
is_local_settings = ls_local_settings
iv_package = iv_package
iv_show_log = iv_show_log
io_dot_abapgit = lo_dot_abapgit ).
CATCH zcx_abapgit_exception INTO lx_error.
lv_text = lx_error->get_text( ).
MESSAGE s000(oo) RAISING error WITH
lv_text+0(50)
lv_text+50(50)
lv_text+100(50)
lv_text+150(50).
ENDTRY.
ENDFUNCTION.
| 32.604651
| 75
| 0.61127
|
41edd3ebcbb963a0ec6462040ba706210f157956
| 1,562
|
abap
|
ABAP
|
src/#usi#exception_demo/#usi#exception_demo_txt_getp01.prog.abap
|
SchwarzIT/sap-usi-exception
|
d2cbc7dd29410c5f5ddf23ba059e312250f30085
|
[
"Apache-2.0"
] | 1
|
2022-01-27T08:12:09.000Z
|
2022-01-27T08:12:09.000Z
|
src/#usi#exception_demo/#usi#exception_demo_txt_getp01.prog.abap
|
SchwarzIT/sap-usi-exception
|
d2cbc7dd29410c5f5ddf23ba059e312250f30085
|
[
"Apache-2.0"
] | null | null | null |
src/#usi#exception_demo/#usi#exception_demo_txt_getp01.prog.abap
|
SchwarzIT/sap-usi-exception
|
d2cbc7dd29410c5f5ddf23ba059e312250f30085
|
[
"Apache-2.0"
] | null | null | null |
*&---------------------------------------------------------------------*
*& Include /USI/EXCEPTION_DEMO_TXT_GETP01
*&---------------------------------------------------------------------*
CLASS lcl_exception_factory IMPLEMENTATION.
METHOD add_t100_exception.
DATA textid TYPE scx_t100key.
textid-msgid = i_msgid.
textid-msgno = i_msgno.
textid-attr1 = 'PARAM1'.
textid-attr2 = 'PARAM2'.
textid-attr3 = 'PARAM3'.
textid-attr4 = 'PARAM4'.
TRY.
RAISE EXCEPTION TYPE /usi/cx_exception
EXPORTING
previous = the_exception
textid = textid
param1 = i_param1
param2 = i_param2
param3 = i_param3
param4 = i_param4.
CATCH /usi/cx_exception INTO the_exception.
RETURN.
ENDTRY.
ENDMETHOD.
METHOD add_otr_conversion_no_number.
TRY.
RAISE EXCEPTION TYPE cx_sy_conversion_no_number
EXPORTING
previous = the_exception
textid = cx_sy_conversion_no_number=>cx_sy_conversion_no_number
value = i_value.
CATCH cx_sy_conversion_no_number INTO the_exception.
RETURN.
ENDTRY.
ENDMETHOD.
METHOD add_otr_unknown_type.
TRY.
RAISE EXCEPTION TYPE cx_sy_unknown_type
EXPORTING
previous = the_exception
textid = cx_sy_unknown_type=>cx_sy_unknown_type
type_name = i_type_name.
CATCH cx_sy_unknown_type INTO the_exception.
RETURN.
ENDTRY.
ENDMETHOD.
ENDCLASS.
| 29.471698
| 77
| 0.573624
|
f5afe92045b689a7b3e96aae33b92d642b9563fa
| 18,383
|
abap
|
ABAP
|
src/objects/zcl_abapgit_object_srvd.clas.abap
|
bigld/abapG
|
928300a5c26f2e32e0a6f3710544fd5fb2bf3225
|
[
"MIT"
] | null | null | null |
src/objects/zcl_abapgit_object_srvd.clas.abap
|
bigld/abapG
|
928300a5c26f2e32e0a6f3710544fd5fb2bf3225
|
[
"MIT"
] | 14
|
2021-12-01T00:08:45.000Z
|
2022-03-01T00:04:09.000Z
|
src/objects/zcl_abapgit_object_srvd.clas.abap
|
opesus/abapGit
|
f4ee4562d6c6061c85b78838013993a5e425da41
|
[
"MIT"
] | null | null | null |
CLASS zcl_abapgit_object_srvd DEFINITION PUBLIC INHERITING FROM zcl_abapgit_objects_super FINAL.
PUBLIC SECTION.
INTERFACES zif_abapgit_object.
ALIASES mo_files FOR zif_abapgit_object~mo_files.
METHODS:
constructor
IMPORTING
is_item TYPE zif_abapgit_definitions=>ty_item
iv_language TYPE spras
RAISING
zcx_abapgit_exception.
PROTECTED SECTION.
PRIVATE SECTION.
DATA mv_service_definition_key TYPE seu_objkey .
DATA mr_service_definition TYPE REF TO data .
CONSTANTS mc_source_file TYPE string VALUE 'srvdsrv' ##NO_TEXT.
CONSTANTS mc_xml_parent_name TYPE string VALUE 'SRVD' ##NO_TEXT.
DATA mo_object_operator TYPE REF TO object .
METHODS clear_fields
CHANGING
!cs_metadata TYPE any .
METHODS clear_field
IMPORTING
!iv_fieldname TYPE csequence
CHANGING
!cs_metadata TYPE any .
METHODS get_object_data
IMPORTING
!io_xml TYPE REF TO zif_abapgit_xml_input
RETURNING
VALUE(ro_object_data) TYPE REF TO if_wb_object_data_model
RAISING
zcx_abapgit_exception .
METHODS get_transport_req_if_needed
IMPORTING
!iv_package TYPE devclass
RETURNING
VALUE(rv_transport_request) TYPE trkorr
RAISING
zcx_abapgit_exception .
METHODS get_wb_object_operator
RETURNING
VALUE(ro_object_operator) TYPE REF TO object
RAISING
zcx_abapgit_exception .
METHODS merge_object_data
IMPORTING
!io_object_data TYPE REF TO object
RETURNING
VALUE(ro_object_data_merged) TYPE REF TO if_wb_object_data_model
RAISING
zcx_abapgit_exception .
METHODS is_ddic
RETURNING
VALUE(rv_ddic) TYPE abap_bool .
METHODS is_delete_tadir
RETURNING
VALUE(rv_delete_tadir) TYPE abap_bool .
ENDCLASS.
CLASS ZCL_ABAPGIT_OBJECT_SRVD IMPLEMENTATION.
METHOD constructor.
super->constructor( is_item = is_item
iv_language = iv_language ).
mv_service_definition_key = ms_item-obj_name.
TRY.
CREATE DATA mr_service_definition TYPE ('CL_SRVD_WB_OBJECT_DATA=>TY_SRVD_OBJECT_DATA').
CATCH cx_sy_create_error.
zcx_abapgit_exception=>raise( |SRVD not supported by your NW release| ).
ENDTRY.
ENDMETHOD.
METHOD zif_abapgit_object~changed_by.
DATA:
li_object_data_model TYPE REF TO if_wb_object_data_model,
li_wb_object_operator TYPE REF TO object,
lx_error TYPE REF TO cx_root.
li_wb_object_operator = get_wb_object_operator( ).
TRY.
CALL METHOD li_wb_object_operator->('IF_WB_OBJECT_OPERATOR~READ')
IMPORTING
eo_object_data = li_object_data_model.
rv_user = li_object_data_model->get_changed_by( ).
CATCH cx_root INTO lx_error.
zcx_abapgit_exception=>raise_with_text( lx_error ).
ENDTRY.
ENDMETHOD.
METHOD zif_abapgit_object~delete.
DATA:
lx_error TYPE REF TO cx_root,
li_wb_object_operator TYPE REF TO object,
lv_transport_request TYPE trkorr.
lv_transport_request = get_transport_req_if_needed( iv_package ).
li_wb_object_operator = get_wb_object_operator( ).
TRY.
CALL METHOD li_wb_object_operator->('IF_WB_OBJECT_OPERATOR~DELETE')
EXPORTING
transport_request = lv_transport_request.
CATCH cx_root INTO lx_error.
zcx_abapgit_exception=>raise_with_text( lx_error ).
ENDTRY.
ENDMETHOD.
METHOD zif_abapgit_object~deserialize.
DATA:
lo_object_data TYPE REF TO if_wb_object_data_model,
lx_error TYPE REF TO cx_root,
lv_transport_request TYPE trkorr,
lo_wb_object_operator TYPE REF TO object,
lo_merged_data_all TYPE REF TO if_wb_object_data_model,
lo_merged_data_prop TYPE REF TO if_wb_object_data_model,
lo_merged_data_cont TYPE REF TO if_wb_object_data_model,
lr_wbobjtype TYPE REF TO data,
lr_category TYPE REF TO data.
FIELD-SYMBOLS:
<ls_wbobjtype> TYPE any,
<lv_category> TYPE any,
<lv_field> TYPE any.
TRY.
lo_object_data = get_object_data( io_xml ).
lv_transport_request = get_transport_req_if_needed( iv_package ).
lo_wb_object_operator = get_wb_object_operator( ).
CREATE DATA lr_wbobjtype TYPE ('WBOBJTYPE').
ASSIGN lr_wbobjtype->* TO <ls_wbobjtype>.
ASSIGN COMPONENT 'OBJTYPE_TR' OF STRUCTURE <ls_wbobjtype> TO <lv_field>.
<lv_field> = 'SRVD'.
ASSIGN COMPONENT 'SUBTYPE_WB' OF STRUCTURE <ls_wbobjtype> TO <lv_field>.
<lv_field> = 'SRV'.
CREATE DATA lr_category TYPE ('WBADT_RESOURCE_CATEGORY').
ASSIGN lr_category->* TO <lv_category>.
CALL METHOD ('CL_BLUE_WB_UTILITY')=>('GET_RESOURCE_CATEGORY')
EXPORTING
is_object_type = <ls_wbobjtype>
RECEIVING
result = <lv_category>.
lo_wb_object_operator = get_wb_object_operator( ).
tadir_insert( iv_package ).
IF zif_abapgit_object~exists( ) = abap_false.
CASE <lv_category>.
WHEN '1'. "if_wb_adt_plugin_resource_co=>co_sfs_res_category_atomic.
CALL METHOD lo_wb_object_operator->('IF_WB_OBJECT_OPERATOR~CREATE')
EXPORTING
io_object_data = lo_object_data
data_selection = 'AL' "if_wb_object_data_selection_co=>c_all_data
version = 'I' "swbm_version_inactive
package = iv_package
transport_request = lv_transport_request.
WHEN '2'. "if_wb_adt_plugin_resource_co=>co_sfs_res_category_compound_s.
CALL METHOD lo_wb_object_operator->('IF_WB_OBJECT_OPERATOR~CREATE')
EXPORTING
io_object_data = lo_object_data
data_selection = 'P' "if_wb_object_data_selection_co=>c_properties
version = 'I' "swbm_version_inactive
package = iv_package
transport_request = lv_transport_request.
CALL METHOD lo_wb_object_operator->('IF_WB_OBJECT_OPERATOR~UPDATE')
EXPORTING
io_object_data = lo_object_data
data_selection = 'D' "if_wb_object_data_selection_co=>c_data_content
version = 'I' "swbm_version_inactive
transport_request = lv_transport_request.
WHEN OTHERS.
zcx_abapgit_exception=>raise( |Category '{ <lv_category> }' not supported| ).
ENDCASE.
ELSE.
CASE <lv_category>.
WHEN '1'. "if_wb_adt_plugin_resource_co=>co_sfs_res_category_atomic.
lo_merged_data_all = merge_object_data( lo_object_data ).
CALL METHOD lo_wb_object_operator->('IF_WB_OBJECT_OPERATOR~UPDATE')
EXPORTING
io_object_data = lo_merged_data_all
data_selection = 'AL' "if_wb_object_data_selection_co=>c_all_data
version = 'I' "swbm_version_inactive
transport_request = lv_transport_request.
WHEN '2'. "if_wb_adt_plugin_resource_co=>co_sfs_res_category_compound_s.
lo_merged_data_prop = merge_object_data( lo_object_data ).
lo_merged_data_cont = merge_object_data( lo_object_data ).
CALL METHOD lo_wb_object_operator->('IF_WB_OBJECT_OPERATOR~UPDATE')
EXPORTING
io_object_data = lo_merged_data_prop
data_selection = 'P' "if_wb_object_data_selection_co=>c_properties
version = 'I' "swbm_version_inactive
transport_request = lv_transport_request.
CALL METHOD lo_wb_object_operator->('IF_WB_OBJECT_OPERATOR~UPDATE')
EXPORTING
io_object_data = lo_merged_data_cont
data_selection = 'D' "if_wb_object_data_selection_co=>c_data_content
version = 'I' "swbm_version_inactive
transport_request = lv_transport_request.
WHEN OTHERS.
zcx_abapgit_exception=>raise( |Category '{ <lv_category> }' not supported| ).
ENDCASE.
ENDIF.
corr_insert( iv_package ).
CATCH cx_root INTO lx_error.
zcx_abapgit_exception=>raise_with_text( lx_error ).
ENDTRY.
zcl_abapgit_objects_activation=>add_item( ms_item ).
ENDMETHOD.
METHOD zif_abapgit_object~exists.
DATA lo_object_data TYPE REF TO if_wb_object_data_model.
DATA lo_wb_object_operator TYPE REF TO object.
TRY.
lo_wb_object_operator = get_wb_object_operator( ).
CALL METHOD lo_wb_object_operator->('IF_WB_OBJECT_OPERATOR~READ')
EXPORTING
data_selection = 'P'
IMPORTING
eo_object_data = lo_object_data.
rv_bool = boolc( lo_object_data IS NOT INITIAL AND lo_object_data->get_object_key( ) IS NOT INITIAL ).
CATCH cx_root.
rv_bool = abap_false.
ENDTRY.
ENDMETHOD.
METHOD zif_abapgit_object~get_comparator.
RETURN.
ENDMETHOD.
METHOD zif_abapgit_object~get_deserialize_steps.
APPEND zif_abapgit_object=>gc_step_id-abap TO rt_steps.
ENDMETHOD.
METHOD zif_abapgit_object~get_metadata.
rs_metadata = get_metadata( ).
rs_metadata-ddic = is_ddic( ).
rs_metadata-delete_tadir = is_delete_tadir( ).
ENDMETHOD.
METHOD zif_abapgit_object~is_active.
rv_active = is_active( ).
ENDMETHOD.
METHOD zif_abapgit_object~is_locked.
rv_is_locked = exists_a_lock_entry_for( iv_lock_object = 'ESWB_EO'
iv_argument = |{ ms_item-obj_type }{ ms_item-obj_name }| ).
ENDMETHOD.
METHOD zif_abapgit_object~jump.
CALL FUNCTION 'RS_TOOL_ACCESS'
EXPORTING
operation = 'SHOW'
object_name = ms_item-obj_name
object_type = ms_item-obj_type
in_new_window = abap_true
EXCEPTIONS
not_executed = 1
invalid_object_type = 2
OTHERS = 3.
IF sy-subrc <> 0.
zcx_abapgit_exception=>raise( |RC={ sy-subrc } from RS_TOOL_ACCESS| ).
ENDIF.
ENDMETHOD.
METHOD zif_abapgit_object~serialize.
DATA:
li_object_data_model TYPE REF TO if_wb_object_data_model,
li_wb_object_operator TYPE REF TO object,
lx_error TYPE REF TO cx_root,
lv_source TYPE string.
FIELD-SYMBOLS:
<ls_service_definition> TYPE any,
<lv_metadata> TYPE any,
<lv_source> TYPE string.
ASSIGN mr_service_definition->* TO <ls_service_definition>.
ASSERT sy-subrc = 0.
TRY.
li_wb_object_operator = get_wb_object_operator( ).
CALL METHOD li_wb_object_operator->('IF_WB_OBJECT_OPERATOR~READ')
EXPORTING
version = 'A'
data_selection = 'AL'
IMPORTING
"data = <ls_service_definition>
eo_object_data = li_object_data_model.
CALL METHOD li_object_data_model->('GET_DATA')
IMPORTING
p_data = <ls_service_definition>.
ASSIGN COMPONENT 'METADATA' OF STRUCTURE <ls_service_definition> TO <lv_metadata>.
ASSERT sy-subrc = 0.
clear_fields( CHANGING cs_metadata = <lv_metadata> ).
ASSIGN COMPONENT 'CONTENT-SOURCE' OF STRUCTURE <ls_service_definition> TO <lv_source>.
ASSERT sy-subrc = 0.
lv_source = <lv_source>.
io_xml->add(
iv_name = mc_xml_parent_name
ig_data = <lv_metadata> ).
mo_files->add_string(
iv_ext = mc_source_file
iv_string = lv_source ).
CATCH cx_root INTO lx_error.
zcx_abapgit_exception=>raise_with_text( lx_error ).
ENDTRY.
ENDMETHOD.
METHOD merge_object_data.
DATA:
lo_object_data TYPE REF TO object,
lo_object_data_old TYPE REF TO if_wb_object_data_model,
lr_new TYPE REF TO data,
lr_old TYPE REF TO data,
lo_wb_object_operator TYPE REF TO object.
FIELD-SYMBOLS:
<ls_new> TYPE any,
<ls_old> TYPE any,
<lv_field_old> TYPE any,
<lv_field_new> TYPE any.
CREATE OBJECT lo_object_data TYPE ('CL_SRVD_WB_OBJECT_DATA').
lo_object_data = io_object_data.
CREATE DATA lr_new TYPE ('CL_SRVD_WB_OBJECT_DATA=>TY_SRVD_OBJECT_DATA').
ASSIGN lr_new->* TO <ls_new>.
ASSERT sy-subrc = 0.
CREATE DATA lr_old TYPE ('CL_SRVD_WB_OBJECT_DATA=>TY_SRVD_OBJECT_DATA').
ASSIGN lr_old->* TO <ls_old>.
ASSERT sy-subrc = 0.
CALL METHOD lo_object_data->('IF_WB_OBJECT_DATA_MODEL~GET_DATA')
EXPORTING
p_metadata_only = abap_false
p_data_selection = 'AL'
IMPORTING
p_data = <ls_new>.
lo_wb_object_operator = get_wb_object_operator( ).
CALL METHOD lo_wb_object_operator->('IF_WB_OBJECT_OPERATOR~READ')
EXPORTING
data_selection = 'AL' " if_wb_object_data_selection_co=>c_all_data
IMPORTING
eo_object_data = lo_object_data_old.
CALL METHOD lo_object_data_old->('GET_DATA')
EXPORTING
p_metadata_only = abap_false
p_data_selection = 'AL' " if_wb_object_data_selection_co=>c_all_data
IMPORTING
p_data = <ls_old>.
ASSIGN COMPONENT 'METADATA-DESCRIPTION' OF STRUCTURE <ls_old> TO <lv_field_old>.
ASSIGN COMPONENT 'METADATA-DESCRIPTION' OF STRUCTURE <ls_new> TO <lv_field_new>.
<lv_field_old> = <lv_field_new>.
ASSIGN COMPONENT 'CONTENT-SOURCE' OF STRUCTURE <ls_old> TO <lv_field_old>.
ASSIGN COMPONENT 'CONTENT-SOURCE' OF STRUCTURE <ls_new> TO <lv_field_new>.
<lv_field_old> = <lv_field_new>.
CREATE OBJECT ro_object_data_merged TYPE ('CL_SRVD_WB_OBJECT_DATA').
CALL METHOD ro_object_data_merged->('SET_DATA')
EXPORTING
p_data = <ls_old>.
ENDMETHOD.
METHOD is_delete_tadir.
rv_delete_tadir = abap_true.
ENDMETHOD.
METHOD is_ddic.
rv_ddic = abap_false.
ENDMETHOD.
METHOD get_wb_object_operator.
DATA:
ls_object_type TYPE wbobjtype,
lx_error TYPE REF TO cx_root.
IF mo_object_operator IS BOUND.
ro_object_operator = mo_object_operator.
ENDIF.
ls_object_type-objtype_tr = 'SRVD'.
ls_object_type-subtype_wb = 'SRV'.
TRY.
CALL METHOD ('CL_WB_OBJECT_OPERATOR')=>('CREATE_INSTANCE')
EXPORTING
object_type = ls_object_type
object_key = mv_service_definition_key
RECEIVING
result = mo_object_operator.
CATCH cx_root INTO lx_error.
zcx_abapgit_exception=>raise_with_text( lx_error ).
ENDTRY.
ro_object_operator = mo_object_operator.
ENDMETHOD.
METHOD get_transport_req_if_needed.
DATA: li_sap_package TYPE REF TO zif_abapgit_sap_package.
li_sap_package = zcl_abapgit_factory=>get_sap_package( iv_package ).
IF li_sap_package->are_changes_recorded_in_tr_req( ) = abap_true.
rv_transport_request = zcl_abapgit_default_transport=>get_instance( )->get( )-ordernum.
ENDIF.
ENDMETHOD.
METHOD get_object_data.
DATA:
lr_metadata TYPE REF TO data,
lr_data TYPE REF TO data.
FIELD-SYMBOLS:
<lv_metadata_node> TYPE any,
<ls_metadata> TYPE any,
<lv_source> TYPE any,
<lg_data> TYPE any.
CREATE DATA lr_data TYPE ('CL_SRVD_WB_OBJECT_DATA=>TY_SRVD_OBJECT_DATA').
ASSIGN lr_data->* TO <lg_data>.
ASSERT sy-subrc = 0.
ASSIGN COMPONENT 'METADATA' OF STRUCTURE <lg_data> TO <lv_metadata_node>.
ASSERT sy-subrc = 0.
CREATE DATA lr_metadata TYPE ('CL_SRVD_WB_OBJECT_DATA=>TY_METADATA_EXTENDED').
ASSIGN lr_metadata->* TO <ls_metadata>.
ASSERT sy-subrc = 0.
io_xml->read(
EXPORTING
iv_name = mc_xml_parent_name
CHANGING
cg_data = <ls_metadata> ).
<lv_metadata_node> = <ls_metadata>.
ASSIGN COMPONENT 'CONTENT-SOURCE' OF STRUCTURE <lg_data> TO <lv_source>.
ASSERT sy-subrc = 0.
<lv_source> = mo_files->read_string( mc_source_file ).
IF <lv_source> IS INITIAL.
<lv_source> = mo_files->read_string( 'assrvd' ).
ENDIF.
CREATE OBJECT ro_object_data TYPE ('CL_SRVD_WB_OBJECT_DATA').
ro_object_data->set_data( p_data = <lg_data> ).
ENDMETHOD.
METHOD clear_fields.
clear_field(
EXPORTING
iv_fieldname = 'VERSION'
CHANGING
cs_metadata = cs_metadata ).
clear_field(
EXPORTING
iv_fieldname = 'CREATED_AT'
CHANGING
cs_metadata = cs_metadata ).
clear_field(
EXPORTING
iv_fieldname = 'CREATED_BY'
CHANGING
cs_metadata = cs_metadata ).
clear_field(
EXPORTING
iv_fieldname = 'CHANGED_AT'
CHANGING
cs_metadata = cs_metadata ).
clear_field(
EXPORTING
iv_fieldname = 'CHANGED_BY'
CHANGING
cs_metadata = cs_metadata ).
clear_field(
EXPORTING
iv_fieldname = 'RESPONSIBLE'
CHANGING
cs_metadata = cs_metadata ).
clear_field(
EXPORTING
iv_fieldname = 'PACKAGE_REF'
CHANGING
cs_metadata = cs_metadata ).
clear_field(
EXPORTING
iv_fieldname = 'MASTER_SYSTEM'
CHANGING
cs_metadata = cs_metadata ).
clear_field(
EXPORTING
iv_fieldname = 'DT_UUID'
CHANGING
cs_metadata = cs_metadata ).
clear_field(
EXPORTING
iv_fieldname = 'ABAP_LANGUAGE_VERSION'
CHANGING
cs_metadata = cs_metadata ).
clear_field(
EXPORTING
iv_fieldname = 'LINKS'
CHANGING
cs_metadata = cs_metadata ).
ENDMETHOD.
METHOD clear_field.
FIELD-SYMBOLS: <lv_value> TYPE data.
ASSIGN COMPONENT iv_fieldname OF STRUCTURE cs_metadata
TO <lv_value>.
ASSERT sy-subrc = 0.
CLEAR: <lv_value>.
ENDMETHOD.
ENDCLASS.
| 29.988581
| 110
| 0.646304
|
65cdf8b3f5ad67e9092e7228d86a9cf2f32357a9
| 8,367
|
abap
|
ABAP
|
src/cds/zif_todo_c.intf.abap
|
mrsimpson/abap-todos
|
2124be85bf4976065f249dc66f62ed46329bcc16
|
[
"Apache-2.0"
] | 1
|
2019-09-27T20:33:03.000Z
|
2019-09-27T20:33:03.000Z
|
src/cds/zif_todo_c.intf.abap
|
mrsimpson/abap-todos
|
2124be85bf4976065f249dc66f62ed46329bcc16
|
[
"Apache-2.0"
] | null | null | null |
src/cds/zif_todo_c.intf.abap
|
mrsimpson/abap-todos
|
2124be85bf4976065f249dc66f62ed46329bcc16
|
[
"Apache-2.0"
] | null | null | null |
interface ZIF_TODO_C
public .
interfaces /BOBF/IF_LIB_CONSTANTS .
constants:
BEGIN OF SC_ACTION,
BEGIN OF ZTODO,
ACTIVATION TYPE /BOBF/ACT_KEY VALUE '0242AC1100021EE9B8A33FA70988ABC5',
CREATE_ZTODO TYPE /BOBF/ACT_KEY VALUE '0242AC1100021EE9B8A33F8D0AECCBC5',
DELETE_ZTODO TYPE /BOBF/ACT_KEY VALUE '0242AC1100021EE9B8A33F8D0AED4BC5',
EDIT TYPE /BOBF/ACT_KEY VALUE '0242AC1100021EE9B8A33FA709888BC5',
LOCK_ZTODO TYPE /BOBF/ACT_KEY VALUE '0242AC1100021EE9B8A33F8D0AEC0BC5',
PREPARATION TYPE /BOBF/ACT_KEY VALUE '0242AC1100021EE9B8A33FA70988EBC5',
SAVE_ZTODO TYPE /BOBF/ACT_KEY VALUE '0242AC1100021EE9B8A33F8D0AEDCBC5',
UNLOCK_ZTODO TYPE /BOBF/ACT_KEY VALUE '0242AC1100021EE9B8A33F8D0AEC4BC5',
UPDATE_ZTODO TYPE /BOBF/ACT_KEY VALUE '0242AC1100021EE9B8A33F8D0AED0BC5',
VALIDATE_ZTODO TYPE /BOBF/ACT_KEY VALUE '0242AC1100021EE9B8A33F8D0AED8BC5',
VALIDATION TYPE /BOBF/ACT_KEY VALUE '0242AC1100021EE9B8A33FA70988CBC5',
END OF ZTODO,
END OF SC_ACTION .
constants:
BEGIN OF SC_ACTION_ATTRIBUTE,
BEGIN OF ZTODO,
BEGIN OF EDIT,
PRESERVE_CHANGES TYPE STRING VALUE 'PRESERVE_CHANGES',
END OF EDIT,
BEGIN OF LOCK_ZTODO,
GENERIC TYPE STRING VALUE 'GENERIC',
EDIT_MODE TYPE STRING VALUE 'EDIT_MODE',
ALL_NONE TYPE STRING VALUE 'ALL_NONE',
SCOPE TYPE STRING VALUE 'SCOPE',
FORCE_INVALIDATION TYPE STRING VALUE 'FORCE_INVALIDATION',
LOCK_PARAMETER_BUFFER TYPE STRING VALUE 'LOCK_PARAMETER_BUFFER',
END OF LOCK_ZTODO,
BEGIN OF PREPARATION,
SIDEEFFECTSQUALIFIER TYPE STRING VALUE 'SIDEEFFECTSQUALIFIER',
END OF PREPARATION,
BEGIN OF UNLOCK_ZTODO,
GENERIC TYPE STRING VALUE 'GENERIC',
EDIT_MODE TYPE STRING VALUE 'EDIT_MODE',
ALL_NONE TYPE STRING VALUE 'ALL_NONE',
SCOPE TYPE STRING VALUE 'SCOPE',
FORCE_INVALIDATION TYPE STRING VALUE 'FORCE_INVALIDATION',
LOCK_PARAMETER_BUFFER TYPE STRING VALUE 'LOCK_PARAMETER_BUFFER',
END OF UNLOCK_ZTODO,
BEGIN OF VALIDATION,
SIDEEFFECTSQUALIFIER TYPE STRING VALUE 'SIDEEFFECTSQUALIFIER',
END OF VALIDATION,
END OF ZTODO,
END OF SC_ACTION_ATTRIBUTE .
constants:
BEGIN OF SC_ALTERNATIVE_KEY,
BEGIN OF ZTODO,
ACTIVE_ENTITY_KEY TYPE /BOBF/OBM_ALTKEY_KEY VALUE '0242AC1100021EE9B8A33FA709886BC5',
END OF ZTODO,
END OF SC_ALTERNATIVE_KEY .
constants:
BEGIN OF SC_ASSOCIATION,
BEGIN OF ZTODO,
LOCK TYPE /BOBF/OBM_ASSOC_KEY VALUE '0242AC1100021EE9B8A33F8D0AEBEBC5',
MESSAGE TYPE /BOBF/OBM_ASSOC_KEY VALUE '0242AC1100021EE9B8A33F8D0AEBABC5',
PROPERTY TYPE /BOBF/OBM_ASSOC_KEY VALUE '0242AC1100021EE9B8A33F8D0AECABC5',
END OF ZTODO,
BEGIN OF ZTODO_LOCK,
TO_PARENT TYPE /BOBF/OBM_ASSOC_KEY VALUE '0242AC1100021EE9B8A33F8D0AEE2BC5',
END OF ZTODO_LOCK,
BEGIN OF ZTODO_MESSAGE,
TO_PARENT TYPE /BOBF/OBM_ASSOC_KEY VALUE '0242AC1100021EE9B8A33F8D0AEE0BC5',
END OF ZTODO_MESSAGE,
BEGIN OF ZTODO_PROPERTY,
TO_PARENT TYPE /BOBF/OBM_ASSOC_KEY VALUE '0242AC1100021EE9B8A33F8D0AEE4BC5',
END OF ZTODO_PROPERTY,
END OF SC_ASSOCIATION .
constants:
BEGIN OF SC_ASSOCIATION_ATTRIBUTE,
BEGIN OF ZTODO,
BEGIN OF PROPERTY,
ALL_NODE_PROPERTY TYPE STRING VALUE 'ALL_NODE_PROPERTY',
ALL_NODE_ATTRIBUTE_PROPERTY TYPE STRING VALUE 'ALL_NODE_ATTRIBUTE_PROPERTY',
ALL_ASSOCIATION_PROPERTY TYPE STRING VALUE 'ALL_ASSOCIATION_PROPERTY',
ALL_ASSOCIATION_ATTRIBUTE_PROP TYPE STRING VALUE 'ALL_ASSOCIATION_ATTRIBUTE_PROP',
ALL_ACTION_PROPERTY TYPE STRING VALUE 'ALL_ACTION_PROPERTY',
ALL_ACTION_ATTRIBUTE_PROPERTY TYPE STRING VALUE 'ALL_ACTION_ATTRIBUTE_PROPERTY',
ALL_QUERY_PROPERTY TYPE STRING VALUE 'ALL_QUERY_PROPERTY',
ALL_QUERY_ATTRIBUTE_PROPERTY TYPE STRING VALUE 'ALL_QUERY_ATTRIBUTE_PROPERTY',
ALL_SUBTREE_PROPERTY TYPE STRING VALUE 'ALL_SUBTREE_PROPERTY',
END OF PROPERTY,
END OF ZTODO,
END OF SC_ASSOCIATION_ATTRIBUTE .
constants:
SC_BO_KEY TYPE /BOBF/OBM_BO_KEY VALUE '0242AC1100021EE9B8A33F8D0AEB0BC5' .
constants:
SC_BO_NAME TYPE /BOBF/OBM_NAME VALUE 'ZTODO' .
constants:
BEGIN OF SC_DETERMINATION,
BEGIN OF ZTODO,
ACTION_AND_FIELD_CONTROL TYPE /BOBF/DET_KEY VALUE '0242AC1100021EE9B8A33FA709890BC5',
ADMINISTRATIVE_DATA TYPE /BOBF/DET_KEY VALUE '0242AC1100021EE9B8A33FA709892BC5',
CENTRAL_ADMIN_DATA TYPE /BOBF/DET_KEY VALUE '0242AC1100021EE9B8A33FA709894BC5',
DELETE_DRAFT_WHN_ACTIVE_DELETE TYPE /BOBF/DET_KEY VALUE '0242AC1100021EE9B8A33FA7098A2BC5',
DRAFT_ACTION_CONTROL TYPE /BOBF/DET_KEY VALUE '0242AC1100021EE9B8A33FA7098A0BC5',
DRAFT_SYS_ADMIN_DATA TYPE /BOBF/DET_KEY VALUE '0242AC1100021EE9B8A33FA709896BC5',
DURABLE_LOCK_CLEANUP_CLEANUP TYPE /BOBF/DET_KEY VALUE '0242AC1100021EE9B8A33FA70989EBC5',
DURABLE_LOCK_CLEANUP_DELETE TYPE /BOBF/DET_KEY VALUE '0242AC1100021EE9B8A33FA709898BC5',
DURABLE_LOCK_CLEANUP_FAIL_SAVE TYPE /BOBF/DET_KEY VALUE '0242AC1100021EE9B8A33FA70989CBC5',
DURABLE_LOCK_CLEANUP_SUCC_SAVE TYPE /BOBF/DET_KEY VALUE '0242AC1100021EE9B8A33FA70989ABC5',
END OF ZTODO,
END OF SC_DETERMINATION .
constants:
BEGIN OF SC_GROUP,
DRAFT_CONSISTENCY TYPE /BOBF/OBM_GROUP_KEY VALUE '0242AC1100021EE9B8A33F8D0AEE8BC5',
END OF SC_GROUP .
constants:
SC_MODEL_VERSION TYPE /BOBF/CONF_VERSION VALUE '00000' .
constants:
BEGIN OF SC_NODE,
ZTODO TYPE /BOBF/OBM_NODE_KEY VALUE '0242AC1100021EE9B8A33F8D0AEB4BC5',
ZTODO_LOCK TYPE /BOBF/OBM_NODE_KEY VALUE '0242AC1100021EE9B8A33F8D0AEBCBC5',
ZTODO_MESSAGE TYPE /BOBF/OBM_NODE_KEY VALUE '0242AC1100021EE9B8A33F8D0AEB8BC5',
ZTODO_PROPERTY TYPE /BOBF/OBM_NODE_KEY VALUE '0242AC1100021EE9B8A33F8D0AEC8BC5',
END OF SC_NODE .
constants:
BEGIN OF SC_NODE_ATTRIBUTE,
BEGIN OF ZTODO,
NODE_DATA TYPE STRING VALUE 'NODE_DATA',
TITLE TYPE STRING VALUE 'TITLE',
STATUS TYPE STRING VALUE 'STATUS',
ASSIGNEE TYPE STRING VALUE 'ASSIGNEE',
DUEDATE TYPE STRING VALUE 'DUEDATE',
CREATEDBY TYPE STRING VALUE 'CREATEDBY',
CREATEDAT TYPE STRING VALUE 'CREATEDAT',
CHANGEDBY TYPE STRING VALUE 'CHANGEDBY',
CHANGEDAT TYPE STRING VALUE 'CHANGEDAT',
AGE TYPE STRING VALUE 'AGE',
OVERDUE TYPE STRING VALUE 'OVERDUE',
ACTIVEUUID TYPE STRING VALUE 'ACTIVEUUID',
HASACTIVEENTITY TYPE STRING VALUE 'HASACTIVEENTITY',
DRAFTENTITYCREATIONDATETIME TYPE STRING VALUE 'DRAFTENTITYCREATIONDATETIME',
DRAFTENTITYLASTCHANGEDATETIME TYPE STRING VALUE 'DRAFTENTITYLASTCHANGEDATETIME',
DRAFTENTITYCONSISTENCYSTATUS TYPE STRING VALUE 'DRAFTENTITYCONSISTENCYSTATUS',
ISACTIVEENTITY TYPE STRING VALUE 'ISACTIVEENTITY',
END OF ZTODO,
END OF SC_NODE_ATTRIBUTE .
constants:
BEGIN OF SC_NODE_CATEGORY,
BEGIN OF ZTODO,
ROOT TYPE /BOBF/OBM_NODE_CAT_KEY VALUE '0242AC1100021EE9B8A33F8D0AEB6BC5',
END OF ZTODO,
END OF SC_NODE_CATEGORY .
constants:
BEGIN OF SC_STATUS_VARIABLE,
BEGIN OF ZTODO,
DRAFT_CONSISTENCY_STATUS TYPE /BOBF/STA_VAR_KEY VALUE '0242AC1100021EE9B8A33F8D0AEE6BC5',
END OF ZTODO,
END OF SC_STATUS_VARIABLE .
constants:
BEGIN OF SC_VALIDATION,
BEGIN OF ZTODO,
DURABLE_LOCK_CREATE_FOR_NEW TYPE /BOBF/VAL_KEY VALUE '0242AC1100021EE9B8A33FA7098A4BC5',
END OF ZTODO,
END OF SC_VALIDATION .
endinterface.
| 50.709091
| 101
| 0.679694
|
71c3e853049ec1e53a363349faa7011f8da31c92
| 227
|
abap
|
ABAP
|
src/unmanaged/#dmo#bp_booking_u23.clas.abap
|
SAP-Cloud-Platform/flight23
|
4fe32c861902d67abba5877442499405575530b4
|
[
"BSD-Source-Code"
] | null | null | null |
src/unmanaged/#dmo#bp_booking_u23.clas.abap
|
SAP-Cloud-Platform/flight23
|
4fe32c861902d67abba5877442499405575530b4
|
[
"BSD-Source-Code"
] | null | null | null |
src/unmanaged/#dmo#bp_booking_u23.clas.abap
|
SAP-Cloud-Platform/flight23
|
4fe32c861902d67abba5877442499405575530b4
|
[
"BSD-Source-Code"
] | null | null | null |
CLASS /dmo/bp_booking_u23 DEFINITION
PUBLIC
ABSTRACT
FINAL
FOR BEHAVIOR OF /dmo/i_travel_u23 .
PUBLIC SECTION.
PROTECTED SECTION.
PRIVATE SECTION.
ENDCLASS.
CLASS /dmo/bp_booking_u23 IMPLEMENTATION.
ENDCLASS.
| 14.1875
| 41
| 0.76652
|
ed571ce9d50cbbeb0bf68390d07fcc32e13e2715
| 323
|
abap
|
ABAP
|
src/zif_markdown_symbols.intf.abap
|
kamalkorlapati/abapGit_bunkai_Weinheim
|
b99e94d510018612a4322c926bf73e9168cd352a
|
[
"MIT"
] | 38
|
2015-03-15T07:28:48.000Z
|
2021-08-31T08:31:21.000Z
|
src/zif_markdown_symbols.intf.abap
|
kamalkorlapati/abapGit_bunkai_Weinheim
|
b99e94d510018612a4322c926bf73e9168cd352a
|
[
"MIT"
] | 3
|
2017-01-14T10:38:46.000Z
|
2018-09-26T19:05:06.000Z
|
src/zif_markdown_symbols.intf.abap
|
kamalkorlapati/abapGit_bunkai_Weinheim
|
b99e94d510018612a4322c926bf73e9168cd352a
|
[
"MIT"
] | 14
|
2016-12-27T11:55:48.000Z
|
2020-05-11T13:53:31.000Z
|
INTERFACE zif_markdown_symbols
PUBLIC .
CONSTANTS: c_header1 TYPE char1 VALUE '#',
c_header2 TYPE char2 VALUE '##',
c_header3 TYPE char3 VALUE '###',
c_header4 TYPE char4 VALUE '####',
c_unordered_list TYPE char1 VALUE '#'.
ENDINTERFACE.
| 32.3
| 54
| 0.551084
|
421a6946efb59036252722d462111d1eacb23f2d
| 1,389
|
ash
|
AGS Script
|
Source/relay/TourGuide/Items of the Month/2020/Box O Ghosts.ash
|
CheeseyPickle/TourGuide
|
5a452a40db52b152c4dc33da495078d056f073fa
|
[
"Unlicense"
] | 2
|
2021-12-13T20:18:14.000Z
|
2022-03-14T20:30:41.000Z
|
Source/relay/TourGuide/Items of the Month/2020/Box O Ghosts.ash
|
CheeseyPickle/TourGuide
|
5a452a40db52b152c4dc33da495078d056f073fa
|
[
"Unlicense"
] | 5
|
2021-09-21T14:37:40.000Z
|
2021-12-27T21:42:21.000Z
|
Source/relay/TourGuide/Items of the Month/2020/Box O Ghosts.ash
|
CheeseyPickle/TourGuide
|
5a452a40db52b152c4dc33da495078d056f073fa
|
[
"Unlicense"
] | 7
|
2021-09-07T19:34:46.000Z
|
2022-03-14T23:38:39.000Z
|
//Ghost of Crimbo Commerce
RegisterTaskGenerationFunction("IOTMCommerceGhostGenerateTasks");
void IOTMCommerceGhostGenerateTasks(ChecklistEntry [int] task_entries, ChecklistEntry [int] optional_task_entries, ChecklistEntry [int] future_task_entries)
{
item commerce_item = get_property_item("commerceGhostItem");
int commerce_statgain1 = my_level() * 20;
int commerce_statgain2 = my_level() * 25;
if (commerce_item != $item[none])
{
string [int] description;
string title = "Give yourself the gift of getting!";
description.listAppend(HTMLGenerateSpanFont("Buy", "red") + " " + HTMLGenerateSpanFont("buy ", "green") + " " + HTMLGenerateSpanFont("buy", "red") + " " + HTMLGenerateSpanFont("buy ", "green") + " " + HTMLGenerateSpanFont("buy!", "red"));
string url = "mall.php?justitems=0&pudnuggler=%22" + commerce_item + "%22";
description.listAppend("Buy " + commerce_item + " to get ~" + commerce_statgain1 + "-" + commerce_statgain2 + " to all 3 substats!");
description.listAppend(HTMLGenerateSpanFont("Buy", "green") + " " + HTMLGenerateSpanFont("buy ", "red") + " " + HTMLGenerateSpanFont("buy ", "green") + " " + HTMLGenerateSpanFont("buy", "red") + " " + HTMLGenerateSpanFont("buy!", "green"));
task_entries.listAppend(ChecklistEntryMake("__familiar Ghost of Crimbo Commerce", url, ChecklistSubentryMake(title, description), -11));
}
}
| 66.142857
| 243
| 0.707703
|
e65279675f952893287efca2d1413d074ee402f9
| 15,959
|
ash
|
AGS Script
|
Source/relay/Guide/Quests/Pirate.ash
|
uthuluc/TourGuide
|
f584f984d25301a3ea4409923ad9deff7c0c7d6b
|
[
"Unlicense"
] | null | null | null |
Source/relay/Guide/Quests/Pirate.ash
|
uthuluc/TourGuide
|
f584f984d25301a3ea4409923ad9deff7c0c7d6b
|
[
"Unlicense"
] | null | null | null |
Source/relay/Guide/Quests/Pirate.ash
|
uthuluc/TourGuide
|
f584f984d25301a3ea4409923ad9deff7c0c7d6b
|
[
"Unlicense"
] | null | null | null |
void QPirateInit()
{
//questM12Pirate ?
//lastPirateInsult1 through lastPirateInsult8
QuestState state;
QuestStateParseMafiaQuestProperty(state, "questM12Pirate");
state.quest_name = "Pirate Quest";
state.image_name = "pirate quest";
state.state_boolean["valid"] = true;
if (__misc_state["mysterious island available"] && !(myPathId() == PATH_COMMUNITY_SERVICE || __misc_state["in aftercore"]))
{
state.startable = true;
if (!state.in_progress && !state.finished)
{
QuestStateParseMafiaQuestPropertyValue(state, "started");
}
}
boolean hot_wings_relevant = knoll_available() || $item[frilly skirt].available_amount() > 0 || !in_hardcore();
if (state.mafia_internal_step >= 4) //done that already
hot_wings_relevant = false;
boolean need_more_hot_wings = $item[hot wing].available_amount() <3 && hot_wings_relevant;
state.state_boolean["hot wings relevant"] = hot_wings_relevant;
state.state_boolean["need more hot wings"] = need_more_hot_wings;
int insult_count = 0;
for i from 1 to 8
{
if (get_property_boolean("lastPirateInsult" + i))
insult_count += 1;
}
state.state_int["insult count"] = insult_count;
if ($item[Orcish Frat House blueprints].available_amount() > 0 && state.mafia_internal_step <3 )
QuestStateParseMafiaQuestPropertyValue(state, "step2");
//Certain characters are in weird states, I think?
if ($item[pirate fledges].available_amount() > 0 || $item[talisman o\' namsilat].available_amount() > 0)
QuestStateParseMafiaQuestPropertyValue(state, "finished");
__quest_state["Pirate Quest"] = state;
if (myPathId() == PATH_POCKET_FAMILIARS || myPathId() == PATH_G_LOVER || true)
{
state.state_boolean["valid"] = false;
state.state_boolean["hot wings relevant"] = false;
state.state_boolean["need more hot wings"] = false;
}
}
void QPirateGenerateTasks(ChecklistEntry [int] task_entries, ChecklistEntry [int] optional_task_entries, ChecklistEntry [int] future_task_entries)
{
if (!__quest_state["Pirate Quest"].in_progress)
return;
if (!__quest_state["Pirate Quest"].state_boolean["valid"] && !(get_property_boolean("kingLiberated") && $locations[Barrrney's Barrr,The F'c'le,The Poop Deck,Belowdecks] contains __last_adventure_location))
return;
QuestState base_quest_state = __quest_state["Pirate Quest"];
ChecklistSubentry subentry;
subentry.header = base_quest_state.quest_name;
string url = "";
boolean have_outfit = have_outfit_components("Swashbuckling Getup");
if ($item[pirate fledges].available_amount() > 0)
have_outfit = true;
int insult_count = base_quest_state.state_int["insult count"];
float [int] insult_success_likelyhood;
//haven't verified these numbers, need to double-check
insult_success_likelyhood[0] = 0.0;
insult_success_likelyhood[1] = 0.0;
insult_success_likelyhood[2] = 0.0;
insult_success_likelyhood[3] = 0.0179;
insult_success_likelyhood[4] = 0.071;
insult_success_likelyhood[5] = 0.1786;
insult_success_likelyhood[6] = 0.357;
insult_success_likelyhood[7] = 0.625;
insult_success_likelyhood[8] = 1.0;
boolean delay_for_future = false;
boolean can_acquire_cocktail_napkins = false;
if (in_ronin() && $item[Talisman o\' Namsilat].available_amount() == 0)
subentry.entries.listAppend(HTMLGenerateSpanFont("Pirates won't help you in-run anymore.", "red"));
if (!have_outfit)
{
url = "island.php";
string line = "Acquire outfit.";
item [int] outfit_pieces = outfit_pieces("Swashbuckling Getup");
item [int] outfit_pieces_needed;
foreach key in outfit_pieces
{
item piece = outfit_pieces[key];
if (piece.available_amount() == 0)
outfit_pieces_needed.listAppend(piece);
}
line += " Need " + outfit_pieces_needed.listJoinComponents(", ", "and") + ".";
subentry.entries.listAppend(line);
subentry.modifiers.listAppend("+item");
subentry.modifiers.listAppend("-combat");
if ($familiar[slimeling].familiar_is_usable())
subentry.modifiers.listAppend("slimeling?");
int ncs_relevant = 0; //out of six
if ($item[stuffed shoulder parrot].available_amount() == 0 || $item[eyepatch].available_amount() == 0)
ncs_relevant += 1;
if ($item[eyepatch].available_amount() == 0 || $item[swashbuckling pants].available_amount() == 0)
ncs_relevant += 1;
if ($item[swashbuckling pants].available_amount() == 0 || $item[stuffed shoulder parrot].available_amount() == 0)
ncs_relevant += 1;
float average_combat_rate = clampNormalf(.6 + combat_rate_modifier() / 100.0);
float average_nc_rate = 1.0 - average_combat_rate;
float average_useful_nc_rate = average_nc_rate * (ncs_relevant.to_float() / 6.0);
//FIXME make this more accurate
float turns_remaining = -1.0;
if (average_useful_nc_rate != 0.0)
turns_remaining = outfit_pieces_needed.count().to_float() / average_useful_nc_rate;
subentry.entries.listAppend("Run -combat in the obligatory pirate's cove." + "|~" + turns_remaining.roundForOutput(1) + " turns remain at " + combat_rate_modifier().floor() + "% combat.");
if (!__quest_state["Manor Unlock"].state_boolean["ballroom song effectively set"])
{
subentry.entries.listAppend(HTMLGenerateSpanOfClass("Wait until -combat ballroom song set.", "r_bold"));
delay_for_future = true;
}
}
else
{
url = "place.php?whichplace=cove";
if (!is_wearing_outfit("Swashbuckling Getup") && $item[pirate fledges].equipped_amount() == 0)
url = "inventory.php?which=2";
boolean have_all_fcle_items = false;
if (base_quest_state.mafia_internal_step == 1)
{
can_acquire_cocktail_napkins = true;
//caronch gave you a map
if ($item[Cap'm Caronch's nasty booty].available_amount() == 0 && $item[Cap'm Caronch's Map].available_amount() > 0)
{
url = "inventory.php?ftext=cap'm+caronch's+map";
subentry.entries.listAppend("Use Cap'm Caronch's Map, fight a booty crab.");
subentry.entries.listAppend("Possibly run +meat. (300 base drop)");
subentry.modifiers.listAppend("+meat");
}
else if (have_outfit)
{
subentry.modifiers.listAppend("-combat");
subentry.entries.listAppend("Find Cap'm Caronch in Barrrney's Barrr.");
}
}
else if (base_quest_state.mafia_internal_step == 2)
{
can_acquire_cocktail_napkins = true;
//give booty back to caronch
subentry.entries.listAppend("Find Cap'm Caronch in Barrrney's Barrr.");
}
else if (base_quest_state.mafia_internal_step == 3)
{
can_acquire_cocktail_napkins = true;
//have blueprints, catburgle
string line = "Use the Orcish Frat House blueprints";
if (insult_count < 6)
{
subentry.modifiers.listAppend("+20% combat");
line += ", once you have at least six insults"; //in certain situations five might be slightly faster? but that skips a lot of combats, so probably not
}
line += ".";
string method;
if (have_outfit_components("Frat Boy Ensemble") && __misc_state["can equip just about any weapon"])
{
string [int] todo;
if (!is_wearing_outfit("Frat Boy Ensemble"))
todo.listAppend("wear frat boy ensemble");
todo.listAppend("attempt a frontal assault");
method = todo.listJoinComponents(", ", "then").capitaliseFirstLetter() + ".";
}
else if ($item[mullet wig].available_amount() > 0 && $item[briefcase].available_amount() > 0)
{
string [int] todo;
if ($item[mullet wig].equipped_amount() == 0)
todo.listAppend("wear mullet wig");
todo.listAppend("go in through the side door");
method = todo.listJoinComponents(", ", "then").capitaliseFirstLetter() + ".";
}
else if (knoll_available() || ($item[frilly skirt].available_amount() > 0 && $item[hot wing].available_amount() >= 3))
{
string [int] todo;
if (insult_count < 6)
todo.listAppend("acquire at least six insults");
if ($item[hot wing].available_amount() <3 )
todo.listAppend("acquire " + pluralise((3 - $item[hot wing].available_amount()), "more hot wing", "more hot wings"));
if ($item[frilly skirt].equipped_amount() == 0)
todo.listAppend("wear frilly skirt");
todo.listAppend("catburgle");
string line2 = todo.listJoinComponents(", ", "then").capitaliseFirstLetter() + ".";
method = line2;
}
else
{
//Non-knoll sign.
//I think the fastest method is frilly skirt?
if ($item[hot wing].available_amount() >= 3 && my_familiar() != $familiar[black cat])
method = "Farm a frilly skirt in the knoll gym. (+300% item)";
else
{
method = "Acquire a frat boy outfit in the frat house? (-combat" + (my_level() < 9 ? " after level 9" : "") + ")";
if (!__quest_state["Level 6"].finished)
method += "|Or collect hot wings from the friar demons" + ($item[frilly skirt].available_amount() == 0 ? ", and frilly skirt from the knoll gym" : "") + ".";
}
}
line += "|" + method;
subentry.entries.listAppend(line);
}
else if (base_quest_state.mafia_internal_step == 4)
{
//acquired teeth, give them back
subentry.entries.listAppend("Find Cap'm Caronch in Barrrney's Barrr. (next adventure)");
}
else if (base_quest_state.mafia_internal_step == 5)
{
//ricketing
subentry.entries.listAppend("Play beer pong.");
subentry.entries.listAppend("If you want more insults now, adventure in the Obligatory Pirate's Cove, not in the Barrr.");
}
else if (base_quest_state.mafia_internal_step == 6)
{
//f'c'le
//We can't tell them which ones they need, precisely, since they may have already used them.
//We can tell them which ones they have... but it's still unreliable. I guess a single message if they have all three?
string line = "F'c'le.";
string additional_line = "";
item [int] missing_washing_items = $items[rigging shampoo,mizzenmast mop,ball polish].items_missing();
if (missing_washing_items.count() == 0)
{
have_all_fcle_items = true;
//url = "inventory.php?which=3";
line += " Adventure once to complete quest.";
//line += " " + HTMLGenerateSpanFont("Use rigging shampoo, mizzenmast mop, and ball polish", "red") + ", then adventure to complete quest.";
}
else
{
subentry.modifiers.listAppend("+234% item");
subentry.modifiers.listAppend("+20% combat");
line += " Run +234% item, +combat, and collect " + missing_washing_items.listJoinComponents(", ", "and") + ".";
if ($location[the f'c'le].item_drop_modifier_for_location() < 234.0)
additional_line = "This location can be a nightmare without +234% item.";
subentry.modifiers.listAppend("banish chatty/crusty pirate");
if (myPathId() == PATH_ACTUALLY_ED_THE_UNDYING)
{
monster [int] monsters_left;
if ($item[rigging shampoo].available_amount() == 0)
monsters_left.listAppend($monster[cleanly pirate]);
if ($item[mizzenmast mop].available_amount() == 0)
monsters_left.listAppend($monster[curmudgeonly pirate]);
if ($item[ball polish].available_amount() == 0)
monsters_left.listAppend($monster[creamy pirate]);
if (monsters_left.count() > 0)
{
string [int] monsters_left_string;
foreach key, m in monsters_left
{
if (last_monster() == m)
monsters_left_string.listAppend(HTMLGenerateSpanOfClass(m, "r_bold"));
else
monsters_left_string.listAppend(m);
}
string line2 = "Use";
if ($item[Talisman of Renenutet].available_amount() == 0)
line2 = "Acquire and use";
line2 += " the Talisman of Renenutet on " + monsters_left_string.listJoinComponents(", ", "and") + ".";
if ($item[Talisman of Renenutet].available_amount() == 0)
line2 = HTMLGenerateSpanFont(line2, "red");
subentry.entries.listAppend(line2);
}
}
}
subentry.entries.listAppend(line);
if (additional_line != "")
subentry.entries.listAppend(additional_line);
if (!($monster[clingy pirate (female)].is_banished() || $monster[clingy pirate (male)].is_banished()) && $item[cocktail napkin].available_amount() > 0 && !have_all_fcle_items)
{
subentry.entries.listAppend("Use cocktail napkin on clingy pirate to " + (__misc_state["free runs usable"] ? "free run/" : "") + "banish.");
}
}
if (base_quest_state.mafia_internal_step <= 3 && my_inebriety() > 0)
{
subentry.entries.listAppend("Could wait until rollover; one of the non-combats can become a combat at zero drunkenness.");
}
if (__misc_state["free runs available"] && !can_acquire_cocktail_napkins && !have_all_fcle_items)
subentry.modifiers.listAppend("free runs");
}
boolean should_output_insult_data = false;
if ($item[the big book of pirate insults].available_amount() > 0 || have_outfit)
should_output_insult_data = true;
if (base_quest_state.mafia_internal_step >= 6)
should_output_insult_data = false;
if (should_output_insult_data)
{
string line = "At " + pluralise(insult_count, "insult", "insults") + ". " + roundForOutput(insult_success_likelyhood[insult_count] * 100, 1) + "% chance of beer pong success.";
if (insult_count < 8)
line += "|Insult every pirate with the big book of pirate insults.";
subentry.entries.listAppend(line);
}
if ($item[the big book of pirate insults].available_amount() == 0 && base_quest_state.mafia_internal_step < 6 && have_outfit)
subentry.entries.listAppend(HTMLGenerateSpanFont("Buy the big book of pirate insults.", "red"));
if (can_acquire_cocktail_napkins && $item[cocktail napkin].available_amount() == 0)
{
subentry.modifiers.listAppend("+item");
subentry.entries.listAppend("Try to acquire a cocktail napkin to speed up F'c'le. (10% drop, marginal)");
}
if (!is_wearing_outfit("Swashbuckling Getup") && have_outfit)
{
string [int] stats_needed;
if (my_basestat($stat[moxie]) < 25)
stats_needed.listAppend("moxie");
if (my_basestat($stat[mysticality]) < 25)
stats_needed.listAppend("mysticality");
string line = "Wear swashbuckling getup.";
if (stats_needed.count() > 0)
{
delay_for_future = true;
line += HTMLGenerateSpanOfClass(" Need 25 " + stats_needed.listJoinComponents(", ", "and"), "r_bold") + ".";
}
subentry.entries.listAppend(line);
}
if (delay_for_future)
future_task_entries.listAppend(ChecklistEntryMake(base_quest_state.image_name, url, subentry, $locations[the obligatory pirate's cove, barrrney's barrr, the f'c'le]));
else
task_entries.listAppend(ChecklistEntryMake(base_quest_state.image_name, url, subentry, $locations[the obligatory pirate's cove, barrrney's barrr, the f'c'le]));
}
| 44.578212
| 209
| 0.630616
|
904a009b03da34f3cb19d200098eee960b5a96e4
| 61,488
|
ash
|
AGS Script
|
RELEASE/scripts/autoscend/quests/level_12.ash
|
phulin/autoscend
|
5b2e0fd08342c6b27a50227fd6aeec3b453426bb
|
[
"MIT"
] | null | null | null |
RELEASE/scripts/autoscend/quests/level_12.ash
|
phulin/autoscend
|
5b2e0fd08342c6b27a50227fd6aeec3b453426bb
|
[
"MIT"
] | null | null | null |
RELEASE/scripts/autoscend/quests/level_12.ash
|
phulin/autoscend
|
5b2e0fd08342c6b27a50227fd6aeec3b453426bb
|
[
"MIT"
] | null | null | null |
script "level_12.ash"
string auto_warSide()
{
//returns the side you are fighting for in the form of a string.
//this is used to check checking mafia's sidequest tracking, as they use these string values to indicate which side completed which quest.
if(get_property("auto_hippyInstead").to_boolean())
{
return "hippy";
}
else
{
return "fratboy";
}
}
int auto_warSideQuestsDone()
{
//counts how many sidequests you have completed for the side for which you are fighting in the war.
int sidequests_done = 0;
if(get_property("sidequestArenaCompleted") == auto_warSide())
{
sidequests_done++;
}
if(get_property("sidequestJunkyardCompleted") == auto_warSide())
{
sidequests_done++;
}
if(get_property("sidequestLighthouseCompleted") == auto_warSide())
{
sidequests_done++;
}
if(get_property("sidequestOrchardCompleted") == auto_warSide())
{
sidequests_done++;
}
if(get_property("sidequestNunsCompleted") == auto_warSide())
{
sidequests_done++;
}
if(get_property("sidequestFarmCompleted") == auto_warSide())
{
sidequests_done++;
}
return sidequests_done;
}
WarPlan auto_warSideQuestsState()
{
// Returns a record indicating current completion state of the war sidequests.
WarPlan ret;
ret.do_arena = get_property("sidequestArenaCompleted") == auto_warSide();
ret.do_junkyard = get_property("sidequestJunkyardCompleted") == auto_warSide();
ret.do_lighthouse = get_property("sidequestLighthouseCompleted") == auto_warSide();
ret.do_orchard = get_property("sidequestOrchardCompleted") == auto_warSide();
ret.do_nuns = get_property("sidequestNunsCompleted") == auto_warSide();
ret.do_farm = get_property("sidequestFarmCompleted") == auto_warSide();
return ret;
}
int auto_warEnemiesRemaining()
{
// Returns the number of enemies left to defeat in the fratboy-hippy war.
int enemiesRemaining = 1000;
if(auto_my_path() == "Pocket Familiars")
{
//Pokefam only has 500 total to defeat with all 6 sidequests immediately accessible.
//TODO: find out if pokefam starts with 500 enemies defeated out of 1000 total. or 0 defeated out of 500 total
//current code assumes it starts with 0 defeated out of 500 total. this is a guess.
if(auto_warSide() == "hippy")
{
enemiesRemaining = 500 - get_property("fratboysDefeated").to_int();
}
else
{
enemiesRemaining = 500 - get_property("hippiesDefeated").to_int();
}
}
else
{
if(auto_warSide() == "hippy")
{
enemiesRemaining = 1000 - get_property("fratboysDefeated").to_int();
}
else
{
enemiesRemaining = 1000 - get_property("hippiesDefeated").to_int();
}
}
return enemiesRemaining;
}
int auto_warKillsPerBattle()
{
// returns how many enemies you will kill per battle at hippy-fratboy war at your current number of sidequests done.
return auto_warKillsPerBattle(auto_warSideQuestsDone());
}
int auto_warKillsPerBattle(int sidequests)
{
// returns how many enemies you will kill per battle at hippy-fratboy war at a specified number of sidequests done.
int kills = 2**sidequests;
// Avatar of Sneaky Pete has a motorbike mod that gives +3 kills/battle.
if(get_property("peteMotorbikeCowling") == "Rocket Launcher")
{
kills += 3;
}
//License to Adventure Path specific check
//TODO add it. it deals +3 kills per battle
return kills;
}
int auto_estimatedAdventuresForChaosButterfly()
{
// Returns an ESTIMATE of how manny adventures it will take to acquire a chaos butterfly.
if(get_property("chaosButterflyThrown").to_boolean() || item_amount($item[chaos butterfly]) > 0)
{
return 0;
}
if(canPull($item[chaos butterfly]))
{
return 0;
}
// 4 enemies in [The Castle in the Clouds in the Sky (Ground Floor)] ~25% chance to encounter the one we want.
// roughly estimate 4 turns per possibility giant encounter. at base drop this means ~20 adv needed.
int expected_turns_until_fight = 4;
if(canYellowRay())
{
return expected_turns_until_fight;
}
// This function is called frequently (especially by auto_bestWarPlan), so
// to avoid adding a maximizer call to every single adventure at the war
// sidequests, estimate this value the first time this function is called
// during each execution of the script.
static float expectedItemDropMulti;
static {
auto_log_info("Estimating adventures needed to obtain chaos butterfly.", "green");
handleFamiliar("item");
simMaximizeWith("20 item");
expectedItemDropMulti = 1 + simValue("Item Drop")/100;
}
float butterfly_drop_rate = 0.2;
float expected_fights_until_drop = max(1.0, 1.0/(expectedItemDropMulti * butterfly_drop_rate));
int ret = ceil(expected_turns_until_fight * expected_fights_until_drop);
auto_log_info("I estimate it will take " + ret + " fights for a chaos butterfly to drop.", "green");
return ret;
}
int auto_estimatedAdventuresForDooks()
{
int advCost = 40;
//TODO account for having done free fights in those zones
advCost -= $location[McMillicancuddy's Barn].turns_spent;
advCost -= $location[McMillicancuddy's Pond].turns_spent;
advCost -= $location[McMillicancuddy's Back 40].turns_spent;
advCost -= $location[McMillicancuddy's Other Back 40].turns_spent;
//these paths cannot use butterfly
if(auto_my_path() == "Bees Hate You" || auto_my_path() == "Pocket Familiars")
{
return advCost;
}
//chaos butterfly calculations
int advToGetCB = auto_estimatedAdventuresForChaosButterfly();
if(get_property("chaosButterflyThrown").to_boolean() || item_amount($item[chaos butterfly]) > 0)
{
advCost -= 15;
}
else if(advToGetCB < 15)
{
advCost = advCost - 15 + advToGetCB;
}
return advCost;
}
WarPlan warplan_from_bitmask(int mask)
{
WarPlan ret;
if(auto_warSide() == "fratboy")
{
ret.do_arena = to_boolean((mask>>0)&1);
ret.do_junkyard = to_boolean((mask>>1)&1);
ret.do_lighthouse = to_boolean((mask>>2)&1);
ret.do_orchard = to_boolean((mask>>3)&1);
ret.do_nuns = to_boolean((mask>>4)&1);
ret.do_farm = to_boolean((mask>>5)&1);
}
else
{
ret.do_arena = to_boolean((mask>>5)&1);
ret.do_junkyard = to_boolean((mask>>4)&1);
ret.do_lighthouse = to_boolean((mask>>3)&1);
ret.do_orchard = to_boolean((mask>>2)&1);
ret.do_nuns = to_boolean((mask>>1)&1);
ret.do_farm = to_boolean((mask>>0)&1);
}
return ret;
}
int bitmask_from_warplan(WarPlan plan)
{
int bitmask;
if(auto_warSide() == "fratboy")
{
bitmask |= plan.do_arena.to_int() << 0;
bitmask |= plan.do_junkyard.to_int() << 1;
bitmask |= plan.do_lighthouse.to_int() << 2;
bitmask |= plan.do_orchard.to_int() << 3;
bitmask |= plan.do_nuns.to_int() << 4;
bitmask |= plan.do_farm.to_int() << 5;
}
else
{
bitmask |= plan.do_arena.to_int() << 5;
bitmask |= plan.do_junkyard.to_int() << 4;
bitmask |= plan.do_lighthouse.to_int() << 3;
bitmask |= plan.do_orchard.to_int() << 2;
bitmask |= plan.do_nuns.to_int() << 1;
bitmask |= plan.do_farm.to_int() << 0;
}
return bitmask;
}
WarPlan auto_bestWarPlan()
{
if(in_koe())
{
WarPlan do_nothing;
return do_nothing;
}
//if a sidequest is done already then consider it as planned.
WarPlan plan = auto_warSideQuestsState();
//Path specific blocks where a sidequest is not possible or really bad.
boolean considerArena = true;
boolean considerJunkyard = true;
boolean considerLighthouse = true;
boolean considerOrchard = true;
boolean considerNuns = true;
boolean considerFarm = true;
if(auto_my_path() == "Bees Hate You" || auto_my_path() == "Pocket Familiars")
{
considerArena = false;
considerJunkyard = false;
}
if(auto_my_path() == "Way of the Surprising Fist")
{
considerNuns = false;
}
if(in_tcrs())
{
considerNuns = false;
considerOrchard = false;
}
// Calculate the adventure cost of doing each sidequest.
int advCostArena = 0; //Arena actual cost is 0 adventures... unless you mess it up. TODO: check if messed up.
int advCostJunkyard = 10; //placeholder estimate. TODO actual math
int advCostLighthouse = 10; //placeholder estimate. TODO actual math
int advCostOrchard = 10; //placeholder estimate. TODO actual math
int advCostNuns = 20; //placeholder estimate. TODO actual math
int advCostFarm = auto_estimatedAdventuresForDooks();
// Start with the sidequests already completed.
// Greedily add the sidequest that saves the most adventures, breaking
// early if no sidequest saves any adventures.
for (int i=0; i<6; i++)
{
WarPlan bestPlan;
int bestQuestProfit = 0;
int profit = 0;
if(considerFarm)
{
WarPlan plan_doing_farm;
plan_doing_farm.do_farm = true;
profit = auto_warTotalBattles(plan) - auto_warTotalBattles(plan_doing_farm) - advCostFarm;
if(profit > bestQuestProfit)
{
bestQuestProfit = profit;
bestPlan = plan_doing_farm;
}
}
if(considerNuns)
{
WarPlan plan_doing_nuns;
plan_doing_nuns.do_nuns = true;
profit = auto_warTotalBattles(plan) - auto_warTotalBattles(plan_doing_nuns) - advCostNuns;
if(profit > bestQuestProfit)
{
bestQuestProfit = profit;
bestPlan = plan_doing_nuns;
}
}
if(considerOrchard)
{
WarPlan plan_doing_orchard;
plan_doing_orchard.do_orchard = true;
profit = auto_warTotalBattles(plan) - auto_warTotalBattles(plan_doing_orchard) - advCostOrchard;
if(profit > bestQuestProfit)
{
bestPlan = plan_doing_orchard;
bestQuestProfit = profit;
}
}
if(considerLighthouse)
{
WarPlan plan_doing_lighthouse;
plan_doing_lighthouse.do_lighthouse = true;
profit = auto_warTotalBattles(plan) - auto_warTotalBattles(plan_doing_lighthouse) - advCostLighthouse;
if(profit > bestQuestProfit)
{
bestPlan = plan_doing_lighthouse;
bestQuestProfit = profit;
}
}
if(considerJunkyard)
{
WarPlan plan_doing_junkyard;
plan_doing_junkyard.do_junkyard = true;
profit = auto_warTotalBattles(plan) - auto_warTotalBattles(plan_doing_junkyard) - advCostJunkyard;
if(profit > bestQuestProfit)
{
bestPlan = plan_doing_junkyard;
bestQuestProfit = profit;
}
}
// Currently not implemented properly for hippies.
// TODO(taltamir) implement it and then remove this guard
if(considerArena && auto_warSide() != "hippy")
{
WarPlan plan_doing_arena;
plan_doing_arena.do_arena = true;
profit = auto_warTotalBattles(plan) - auto_warTotalBattles(plan_doing_arena) - advCostArena;
if(profit > bestQuestProfit)
{
bestPlan = plan_doing_arena;
bestQuestProfit = profit;
}
}
if(bestPlan == plan)
{
break;
}
plan = bestPlan;
}
return plan;
}
int __auto_warTotalBattles(int plan, int remaining)
{
// Prefer to use the version of this function that uses a WarPlan.
// This is not meant to be used externally.
// |plan| is a 6-bit bitmask where the lowest bit is a 1
// if we finish the first quest, etc.
// E.g. 39 is (32+0+0+4+2+1), meaning we are planning
// to finish quests 1, 2, 3, 6.
int total_battles = 0;
int completed_quests = 0;
void fightUntilRemaining(int target_remaining)
{
int to_kill = max(0, remaining-target_remaining);
int kills_per_battle = auto_warKillsPerBattle(completed_quests);
int battles = ceil(to_kill.to_float()/kills_per_battle);
total_battles += battles;
remaining -= battles * kills_per_battle;
}
// 3 quests are accessible simultaneously.
completed_quests += plan&1;
completed_quests += (plan>>1)&1;
completed_quests += (plan>>2)&1;
fightUntilRemaining(1000-64);
// Mark newly accessible quest completed, fight until next quest is available.
completed_quests += (plan>>3)&1;
fightUntilRemaining(1000-192);
completed_quests += (plan>>4)&1;
fightUntilRemaining(1000-458);
completed_quests += (plan>>5)&1;
fightUntilRemaining(0);
return total_battles;
}
int auto_warTotalBattles(WarPlan plan, int remaining)
{
return __auto_warTotalBattles(bitmask_from_warplan(plan), remaining);
}
int auto_warTotalBattles(WarPlan plan)
{
return auto_warTotalBattles(plan, auto_warEnemiesRemaining());
}
boolean warOutfit(boolean immediate)
{
boolean reallyWarOutfit(string toWear)
{
if(immediate)
{
return outfit(toWear);
}
else
{
return autoOutfit(toWear);
}
}
if(!get_property("auto_hippyInstead").to_boolean())
{
if(!reallyWarOutfit("Frat Warrior Fatigues"));
{
foreach it in $items[Beer Helmet, Distressed Denim Pants, Bejeweled Pledge Pin]
{
take_closet(closet_amount(it), it);
}
if(!reallyWarOutfit("Frat Warrior Fatigues"))
{
abort("Do not have Frat Warrior Fatigues and don't know why....");
return false;
}
}
}
else
{
if(!reallyWarOutfit("War Hippy Fatigues"))
{
foreach it in $items[Reinforced Beaded Headband, Bullet-proof Corduroys, Round Purple Sunglasses]
{
take_closet(closet_amount(it), it);
}
if(!reallyWarOutfit("War Hippy Fatigues"))
{
abort("Do not have War Hippy Fatigues and don't know why....");
return false;
}
}
}
return true;
}
boolean haveWarOutfit(boolean canWear)
{
if(!get_property("auto_hippyInstead").to_boolean())
{
return possessOutfit("Frat Warrior Fatigues", canWear);
}
else
{
return possessOutfit("War Hippy Fatigues", canWear);
}
return true;
}
boolean haveWarOutfit() {
return haveWarOutfit(false);
}
boolean warAdventure()
{
if(auto_have_familiar($familiar[Space Jellyfish]) && (get_property("_spaceJellyfishDrops").to_int() < 3))
{
handleFamiliar($familiar[Space Jellyfish]);
}
if(!get_property("auto_hippyInstead").to_boolean())
{
if(!autoAdv(1, $location[The Battlefield (Frat Uniform)]))
{
set_property("hippiesDefeated", get_property("hippiesDefeated").to_int() + 1);
string temp = visit_url("island.php");
}
}
else
{
if(!autoAdv(1, $location[The Battlefield (Hippy Uniform)]))
{
set_property("fratboysDefeated", get_property("fratboysDefeated").to_int() + 1);
string temp = visit_url("island.php");
}
}
return true;
}
boolean L12_getOutfit()
{
if (internalQuestStatus("questL12War") != 0)
{
return false;
}
// noncombat when adventuring at The Hippy Camp (Verge of War)
set_property("choiceAdventure139", "3"); //fight a War Hippy (space) cadet for outfit pieces
set_property("choiceAdventure140", "3"); //fight a War Hippy drill sergeant for outfit pieces
set_property("choiceAdventure141", "1"); //if wearing [Frat Boy Ensemble] get 50 mysticality
// noncombat when adventuring at Orcish Frat House (Verge of War)
set_property("choiceAdventure143", "3"); //fight a War Pledgefor outfit pieces
set_property("choiceAdventure144", "3"); //fight a Frat Warrior drill sergeant for outfit pieces
set_property("choiceAdventure145", "1"); //if wearing [Filthy Hippy Disguise] get 50 muscle
// if you already have the war outfit we don't need to do anything now
if (haveWarOutfit())
{
return false;
}
//heavy rains softcore pull handling
if(!in_hardcore() && (auto_my_path() == "Heavy Rains"))
{
// auto_warhippyspy indicates rainman was already used to copy a war hippy spy in heavy rains. if it failed to YR pull missing items
if(get_property("auto_warhippyspy") == "done" && get_property("auto_hippyInstead").to_boolean())
{
pullXWhenHaveY($item[Reinforced Beaded Headband], 1, 0);
pullXWhenHaveY($item[Round Purple Sunglasses], 1, 0);
pullXWhenHaveY($item[Bullet-proof Corduroys], 1, 0);
}
// auto_orcishfratboyspy indicates rainman was already used to copy an orcish frat boy in heavy rains. if it failed to YR pull missing items
if(get_property("auto_orcishfratboyspy") == "done" && !get_property("auto_hippyInstead").to_boolean())
{
pullXWhenHaveY($item[Beer Helmet], 1, 0);
pullXWhenHaveY($item[Bejeweled Pledge Pin], 1, 0);
pullXWhenHaveY($item[Distressed Denim Pants], 1, 0);
}
}
//softcore pull handling for all other paths
if(!in_hardcore() && (auto_my_path() != "Heavy Rains"))
{
if(get_property("auto_hippyInstead").to_boolean())
{
pullXWhenHaveY($item[Reinforced Beaded Headband], 1, 0);
pullXWhenHaveY($item[Round Purple Sunglasses], 1, 0);
pullXWhenHaveY($item[Bullet-proof Corduroys], 1, 0);
}
else
{
pullXWhenHaveY($item[Beer Helmet], 1, 0);
pullXWhenHaveY($item[Bejeweled Pledge Pin], 1, 0);
pullXWhenHaveY($item[Distressed Denim Pants], 1, 0);
}
}
// if you have war outfit now then you just pulled it. so this time we return true as something changed
if(haveWarOutfit())
{
return true;
}
// if you reached this point you are either in hardcore or are in softcore but ran out of pulls
// if really in softcore and out of pulls then returning false here lets you skip it until tomorrow
if(!in_hardcore())
{
return false;
}
// if outfit could not be pulled and have a [Filthy Hippy Disguise] outfit then wear it and adventure in Frat House to get war outfit
if (!get_property("auto_hippyInstead").to_boolean() && possessOutfit("Filthy Hippy Disguise"))
{
autoOutfit("Filthy Hippy Disguise");
return autoAdv(1, $location[Wartime Frat House]);
}
// if outfit could not be pulled and have a [Frat Boy Ensemble] outfit then wear it and adventure in Hippy Camp to get war outfit
if (get_property("auto_hippyInstead").to_boolean() && possessOutfit("Frat Boy Ensemble"))
{
autoOutfit("Frat Boy Ensemble");
return autoAdv(1, $location[Wartime Hippy Camp]);
}
if(L12_preOutfit())
{
return true;
}
return false;
}
boolean L12_preOutfit()
{
if(get_property("lastIslandUnlock").to_int() != my_ascensions())
{
return false;
}
// in softcore you will pull the war outfit, no need to get pre outfit
if(!in_hardcore())
{
return false;
}
if(my_level() < 9)
{
return false;
}
if(haveWarOutfit())
{
return false;
}
// if siding with frat and already own [Filthy Hippy Disguise] outfit needed to get the frat boy war outfit
if (!get_property("auto_hippyInstead").to_boolean() && possessOutfit("Filthy Hippy Disguise"))
{
return false;
}
// if siding with hippies and already own [Frat Boy Ensemble] outfit needed to get the hippy war outfit
if (get_property("auto_hippyInstead").to_boolean() && possessOutfit("Frat Boy Ensemble"))
{
return false;
}
if (isActuallyEd())
{
if(!canYellowRay() && (my_level() < 12))
{
return false;
}
}
if(have_skill($skill[Calculate the Universe]) && (my_daycount() == 1))
{
return false;
}
if((my_class() == $class[Gelatinous Noob]) && auto_have_familiar($familiar[Robortender]))
{
if(!have_skill($skill[Ink Gland]) && (item_amount($item[Shot of Granola Liqueur]) == 0))
{
handleFamiliar($familiar[Robortender]);
}
}
boolean adventure_status = false;
// fighting for fratboys, adventure in hippy camp for [filthy hippy disguise] outfit to then adventure in frat house for frat war outfit
if(!get_property("auto_hippyInstead").to_boolean())
{
auto_log_info("Trying to acquire a filthy hippy outfit", "blue");
if(internalQuestStatus("questL12War") == -1)
{
adventure_status = autoAdv(1, $location[Hippy Camp]);
}
else
{
adventure_status = autoAdv(1, $location[Wartime Hippy Camp]);
}
}
// fighting for hippies, adventure in orcish frat house for [Frat Boy Ensemble] outfit to then adventure in hippy camp for hippy war outfit
else
{
auto_log_info("Trying to acquire a frat boy ensemble", "blue");
if(internalQuestStatus("questL12War") == -1)
{
adventure_status = autoAdv(1, $location[Frat House]);
}
else
{
adventure_status = autoAdv(1, $location[Wartime Frat House]);
}
}
// We check the adventure status to avoid an infinite loop if we can't access any of these zones.
if(adventure_status)
{
return true;
}
else
{
auto_log_critical("Please report this. L12 war pre outfit acquisition mysteriously failed... skipping", "red");
return false;
}
}
boolean L12_startWar()
{
if (internalQuestStatus("questL12War") != 0)
{
return false;
}
if (in_koe())
{
return false;
}
if (!haveWarOutfit(true))
{
return false;
}
if(get_property("lastIslandUnlock").to_int() < my_ascensions())
{
return false;
}
if((my_mp() > 60) || considerGrimstoneGolem(true))
{
handleBjornify($familiar[Grimstone Golem]);
}
providePlusNonCombat(25);
if((my_path() != "Dark Gyffte") && (my_mp() > 50) && have_skill($skill[Incredible Self-Esteem]) && !get_property("_incredibleSelfEsteemCast").to_boolean())
{
use_skill(1, $skill[Incredible Self-Esteem]);
}
// set noncombats to value needed to start the war
set_property("choiceAdventure142", "3"); //if wearing [Frat Warrior Fatigues] start the war or skip adventure
set_property("choiceAdventure146", "3"); //if wearing [War Hippy Fatigues] start the war or skip adventure
// wear the appropriate war outfit based on auto_hippyInstead
warOutfit(false);
// start the war when siding with frat boys
if(!get_property("auto_hippyInstead").to_boolean())
{
auto_log_info("Must save the ferret!!", "blue");
autoAdv(1, $location[Wartime Hippy Camp]);
//if war started, accept flyer quest for fratboys.
//this is only started here and only for frat.
//move this to dedicated function that can start it for both sides as appropriate
if(internalQuestStatus("questL12War") == 1)
{
visit_url("bigisland.php?place=concert&pwd");
}
}
// start the war when siding with hippies
else
{
auto_log_info("Must save the goldfish!!", "blue");
autoAdv(1, $location[Wartime Frat House]);
}
return true;
}
boolean L12_filthworms()
{
if (internalQuestStatus("questL12War") < 1 || internalQuestStatus("questL12War") > 1 || get_property("sidequestOrchardCompleted") != "none")
{
return false;
}
if (in_tcrs() || in_koe())
{
return false;
}
if(item_amount($item[Heart of the Filthworm Queen]) > 0)
{
handleFamiliar("meat");
return false;
}
auto_log_info("Doing the orchard.", "blue");
//can fight filthworms early as fratboys so long as you do not wear a frat outfit.
//maximizer can accidentally end up wearing the outfit and cause infinite loop.
//might want to fight filthworms early to flyer. determining exactly when is overly complex so we are just assuming always.
//the frat outfits are pretty weak and as such its no big loss if we don't wear it when doing it early.
if(auto_warSide() == "fratboy" && get_property("hippiesDefeated").to_int() < 64)
{
//helmet is least useful with +40 max MP enchantment.
if(possessOutfit("frat warrior fatigues"))
{
addToMaximize("-equip beer helmet");
}
//pants and hat are identical, randomly selected hat for exclusion
if(possessOutfit("frat boy ensemble"))
{
addToMaximize("-equip orcish baseball cap");
}
}
//use the stench glands to unlock the next step of the quest.
if(item_amount($item[Filthworm Hatchling Scent Gland]) > 0)
{
use(1, $item[Filthworm Hatchling Scent Gland]);
}
if(item_amount($item[Filthworm Drone Scent Gland]) > 0)
{
use(1, $item[Filthworm Drone Scent Gland]);
}
if(item_amount($item[Filthworm Royal Guard Scent Gland]) > 0)
{
use(1, $item[Filthworm Royal Guard Scent Gland]);
}
//if we can kill the queen we don't care about gland drops anymore. kill her and finish this
if(have_effect($effect[Filthworm Guard Stench]) > 0)
{
return autoAdv(1, $location[The Filthworm Queen\'s Chamber]);
}
//if we can guarentee stealing the stench gland then no point in buffing item drop
if(auto_have_skill($skill[Lash of the Cobra]) && get_property("_edLashCount").to_int() < 30)
{
auto_log_info("Ed will steal stench glands using [Lash of the Cobra]");
}
// else if(auto_have_skill($skill[Smash & Graaagh]))
// {
// //only 30 per day, can't find mafia tracking for it so it can't be implemented yet.
// //Needs to be implemented in auto_combat.ash too before uncommenting this block
// auto_log_info("Zombie Master will steal stench glands using [Smash & Graaagh]");
// }
else if(get_property("_xoHugsUsed").to_int() < 10 && canChangeToFamiliar($familiar[XO Skeleton]))
{
auto_log_info("Will steal stench glands using [XO Skeleton]");
handleFamiliar($familiar[XO Skeleton]);
}
//TODO add IOTM cat burglar stealing support here with another else if
else //could not guarentee stealing. buff item drops instead
{
buffMaintain($effect[Joyful Resolve], 0, 1, 1);
buffMaintain($effect[Kindly Resolve], 0, 1, 1);
buffMaintain($effect[Fortunate Resolve], 0, 1, 1);
buffMaintain($effect[One Very Clear Eye], 0, 1, 1);
buffMaintain($effect[Human-Fish Hybrid], 0, 1, 1);
buffMaintain($effect[Human-Human Hybrid], 0, 1, 1);
buffMaintain($effect[Human-Machine Hybrid], 0, 1, 1);
buffMaintain($effect[Unusual Perspective], 0, 1, 1);
buffMaintain($effect[Eagle Eyes], 0, 1, 1);
asdonBuff($effect[Driving Observantly]);
bat_formBats();
if(get_property("auto_dickstab").to_boolean())
{
buffMaintain($effect[Wet and Greedy], 0, 1, 1);
}
buffMaintain($effect[Frosty], 0, 1, 1);
handleFamiliar("item");
handleServant("item");
addToMaximize("200item");
//craft IOTM derivative that gives high item bonus
if((!possessEquipment($item[A Light That Never Goes Out])) && (item_amount($item[Lump of Brituminous Coal]) > 0))
{
buyUpTo(1, $item[third-hand lantern]);
autoCraft("smith", 1, $item[Lump of Brituminous Coal], $item[third-hand lantern]);
}
//fold and remove maximizer block on using IOTM with 9 charges a day that doubles item drop chance
if(januaryToteAcquire($item[Broken Champagne Bottle]))
{
equip($item[Broken Champagne Bottle]);
}
if(auto_my_path() == "Live. Ascend. Repeat.")
{
equipMaximizedGear();
if(item_drop_modifier() < 400.0)
{
abort("Can not handle item drop amount for the Filthworms, deja vu!! Either get us to +400% and rerun or do it yourself.");
}
}
}
boolean retval = false;
if(have_effect($effect[Filthworm Drone Stench]) > 0)
{
retval = autoAdv(1, $location[The Royal Guard Chamber]);
}
else if(have_effect($effect[Filthworm Larva Stench]) > 0)
{
retval = autoAdv(1, $location[The Feeding Chamber]);
}
else
{
retval = autoAdv(1, $location[The Hatching Chamber]);
}
return retval;
}
boolean L12_orchardFinalize()
{
if (get_property("hippiesDefeated").to_int() < 64 && !get_property("auto_hippyInstead").to_boolean())
{
return false;
}
if (get_property("sidequestOrchardCompleted") != "none" || item_amount($item[Heart of the Filthworm Queen]) == 0)
{
return false;
}
if(item_amount($item[A Light that Never Goes Out]) == 1)
{
pulverizeThing($item[A Light that Never Goes Out]);
}
warOutfit(true);
visit_url("bigisland.php?place=orchard&action=stand&pwd=");
visit_url("shop.php?whichshop=hippy");
return true;
}
boolean L12_gremlins()
{
if (internalQuestStatus("questL12War") < 1 || internalQuestStatus("questL12War") > 1 || get_property("sidequestJunkyardCompleted") != "none")
{
return false;
}
if (in_koe() || auto_my_path() == "Pocket Familiars")
{
return false;
}
if(get_property("auto_hippyInstead").to_boolean() && (get_property("fratboysDefeated").to_int() < 192))
{
return false;
}
if(auto_my_path() == "G-Lover")
{
int need = 30 - item_amount($item[Doc Galaktik\'s Pungent Unguent]);
if((need > 0) && (item_amount($item[Molybdenum Pliers]) == 0))
{
int meatNeed = need * npc_price($item[Doc Galaktik\'s Pungent Unguent]);
if(my_meat() < meatNeed)
{
return false;
}
buyUpTo(30, $item[Doc Galaktik\'s Pungent Unguent]);
}
}
if(0 < have_effect($effect[Curse of the Black Pearl Onion])) {
uneffect($effect[Curse of the Black Pearl Onion]);
}
if(item_amount($item[molybdenum magnet]) == 0)
{
//if fighting for frat immediately grab it
if(!get_property("auto_hippyInstead").to_boolean())
{
warOutfit(true);
visit_url("bigisland.php?action=junkman&pwd");
}
//if fighting for hippies grab magnet when enough fratboys killed
if(get_property("auto_hippyInstead").to_boolean() && (get_property("fratboysDefeated").to_int() >= 192))
{
warOutfit(true);
visit_url("bigisland.php?action=junkman&pwd");
}
//if still don't have magnet something went wrong
if(item_amount($item[molybdenum magnet]) == 0)
{
abort("We don't have the molybdenum magnet but should... please get it and rerun the script");
}
}
if(auto_my_path() == "Disguises Delimit")
{
abort("Do gremlins manually, sorry. Or set sidequestJunkyardCompleted=fratboy and we will just skip them");
}
// Go into the fight with No Familiar Equips since maximizer wants to force an equip
// this keeps us from accidentally killing gremlins
addToMaximize("-familiar");
#Put a different shield in here.
auto_log_info("Doing them gremlins", "blue");
addToMaximize("20dr,1da 1000max,3hp,-3ml");
acquireHP();
if(!bat_wantHowl($location[over where the old tires are]))
{
bat_formMist();
}
handleFamiliar("gremlins");
songboomSetting("dr");
if(item_amount($item[molybdenum hammer]) == 0)
{
autoAdv(1, $location[Next to that barrel with something burning in it], "auto_JunkyardCombatHandler");
return true;
}
if(item_amount($item[molybdenum screwdriver]) == 0)
{
autoAdv(1, $location[Out by that rusted-out car], "auto_JunkyardCombatHandler");
return true;
}
if(item_amount($item[molybdenum crescent wrench]) == 0)
{
autoAdv(1, $location[over where the old tires are], "auto_JunkyardCombatHandler");
return true;
}
if(item_amount($item[Molybdenum Pliers]) == 0)
{
autoAdv(1, $location[near an abandoned refrigerator], "auto_JunkyardCombatHandler");
return true;
}
handleFamiliar("item");
warOutfit(true);
visit_url("bigisland.php?action=junkman&pwd");
return true;
}
boolean L12_sonofaBeach()
{
if (internalQuestStatus("questL12War") < 1 || internalQuestStatus("questL12War") > 1 || get_property("sidequestLighthouseCompleted") != "none")
{
return false;
}
if (in_koe())
{
return false;
}
if(!get_property("auto_hippyInstead").to_boolean())
{
if (get_property("sidequestJunkyardCompleted") == "none")
{
return false;
}
}
if((get_property("fratboysDefeated").to_int() < 64) && get_property("auto_hippyInstead").to_boolean())
{
return false;
}
if(item_amount($item[barrel of gunpowder]) >= 5)
{
return false;
}
if(auto_my_path() == "Pocket Familiars")
{
if(contains_text($location[Sonofa Beach].combat_queue, to_string($monster[Lobsterfrogman])))
{
if(timeSpinnerCombat($monster[Lobsterfrogman], ""))
{
return true;
}
}
}
if(chateaumantegna_havePainting() && !get_property("chateauMonsterFought").to_boolean() && (get_property("chateauMonster") == $monster[Lobsterfrogman]))
{
auto_sourceTerminalEducate($skill[Extract], $skill[Digitize]);
if(chateaumantegna_usePainting())
{
handleFamiliar("item");
return true;
}
}
if (isActuallyEd() && item_amount($item[Talisman of Horus]) == 0 && have_effect($effect[Taunt of Horus]) == 0)
{
return false;
}
//Seriously? http://alliancefromhell.com/viewtopic.php?t=1338
if(item_amount($item[Wool Hat]) == 1)
{
pulverizeThing($item[Wool Hat]);
}
if(item_amount($item[Goatskin Umbrella]) == 1)
{
pulverizeThing($item[Goatskin Umbrella]);
}
if(auto_my_path() != "Live. Ascend. Repeat.")
{
if(!providePlusCombat(25, true))
{
auto_log_warning("Failure in +Combat acquisition or -Combat shrugging (lobsterfrogman), delaying", "red");
equipBaseline();
return false;
}
if(equipped_item($slot[acc1]) == $item[over-the-shoulder folder holder])
{
if((item_amount($item[Ass-Stompers of Violence]) > 0) && (equipped_item($slot[acc1]) != $item[Ass-Stompers of Violence]) && can_equip($item[Ass-Stompers of Violence]))
{
equip($slot[acc1], $item[Ass-Stompers of Violence]);
}
else
{
equip($slot[acc1], $item[bejeweled pledge pin]);
}
}
if(item_amount($item[portable cassette player]) > 0)
{
equip($slot[acc2], $item[portable cassette player]);
}
if(numeric_modifier("Combat Rate") <= 9.0)
{
if(possessEquipment($item[Carpe]))
{
equip($slot[Back], $item[Carpe]);
}
}
asdonBuff($effect[Driving Obnoxiously]);
if(numeric_modifier("Combat Rate") < 0.0)
{
auto_log_warning("Something is keeping us from getting a suitable combat rate, we have: " + numeric_modifier("Combat Rate") + " and Lobsterfrogmen.", "red");
equipBaseline();
return false;
}
}
if(item_amount($item[barrel of gunpowder]) < 4)
{
set_property("auto_doCombatCopy", "yes");
}
autoAdv(1, $location[Sonofa Beach]);
set_property("auto_doCombatCopy", "no");
handleFamiliar("item");
if (isActuallyEd() && my_hp() == 0)
{
use(1, $item[Linen Bandages]);
}
return true;
}
boolean L12_sonofaPrefix()
{
// this appears to be a copy & paste of L12_sonofaBeach() with some small changes
// for Vote Monster/Macrometeor shenanigans. Refactor this so only the relevant code remains.
if (internalQuestStatus("questL12War") < 1 || internalQuestStatus("questL12War") > 1 || get_property("sidequestLighthouseCompleted") != "none")
{
return false;
}
if(L12_sonofaFinish())
{
return true;
}
if(in_koe())
{
return false;
}
if(get_property("_sourceTerminalDigitizeMonster") == $monster[Lobsterfrogman])
{
return false;
}
if(item_amount($item[barrel of gunpowder]) >= 4 && !auto_voteMonster())
{
return false;
}
if(item_amount($item[barrel of gunpowder]) >= 5)
{
return false;
}
if(chateaumantegna_havePainting() && !get_property("chateauMonsterFought").to_boolean() && (get_property("chateauMonster") == $monster[Lobsterfrogman]))
{
auto_sourceTerminalEducate($skill[Extract], $skill[Digitize]);
if(chateaumantegna_usePainting())
{
handleFamiliar("stat");
return true;
}
}
if(!(auto_get_campground() contains $item[Source Terminal]))
{
if((auto_voteMonster() || auto_sausageGoblin()) && adjustForReplaceIfPossible())
{
try
{
if(item_amount($item[barrel of gunpowder]) < 4)
{
set_property("auto_doCombatCopy", "yes");
}
if (auto_voteMonster())
{
auto_voteMonster(false, $location[Sonofa Beach], "");
return true;
}
else if (auto_sausageGoblin())
{
auto_sausageGoblin($location[Sonofa Beach], "");
return true;
}
}
finally
{
set_property("auto_combatDirective", "");
set_property("auto_doCombatCopy", "no");
}
}
return false;
}
if (isActuallyEd() && item_amount($item[Talisman of Horus]) == 0 && have_effect($effect[Taunt of Horus]) == 0)
{
return false;
}
if(in_koe())
{
return false;
}
//Seriously? http://alliancefromhell.com/viewtopic.php?t=1338
if(item_amount($item[Wool Hat]) == 1)
{
pulverizeThing($item[Wool Hat]);
}
if(item_amount($item[Goatskin Umbrella]) == 1)
{
pulverizeThing($item[Goatskin Umbrella]);
}
if(auto_my_path() != "Live. Ascend. Repeat.")
{
if(!providePlusCombat(25))
{
auto_log_warning("Failure in +Combat acquisition or -Combat shrugging (lobsterfrogman), delaying", "red");
return false;
}
if(equipped_item($slot[acc1]) == $item[over-the-shoulder folder holder])
{
if((item_amount($item[Ass-Stompers of Violence]) > 0) && (equipped_item($slot[acc1]) != $item[Ass-Stompers of Violence]) && can_equip($item[Ass-Stompers of Violence]))
{
equip($slot[acc1], $item[Ass-Stompers of Violence]);
}
else
{
equip($slot[acc1], $item[bejeweled pledge pin]);
}
}
if(item_amount($item[portable cassette player]) > 0)
{
equip($slot[acc2], $item[portable cassette player]);
}
if(numeric_modifier("Combat Rate") <= 9.0)
{
if(possessEquipment($item[Carpe]))
{
equip($slot[Back], $item[Carpe]);
}
}
if(numeric_modifier("Combat Rate") < 0.0)
{
auto_log_warning("Something is keeping us from getting a suitable combat rate, we have: " + numeric_modifier("Combat Rate") + " and Lobsterfrogmen.", "red");
equipBaseline();
return false;
}
}
if(item_amount($item[barrel of gunpowder]) < 4)
{
set_property("auto_doCombatCopy", "yes");
}
if((my_mp() < mp_cost($skill[Digitize])) && (auto_get_campground() contains $item[Source Terminal]) && is_unrestricted($item[Source Terminal]) && (get_property("_sourceTerminalDigitizeMonster") != $monster[Lobsterfrogman]) && (get_property("_sourceTerminalDigitizeUses").to_int() < 3))
{
equipBaseline();
return false;
}
if(possessEquipment($item["I voted!" sticker]) && (my_adventures() > 15))
{
if(have_skill($skill[Meteor Lore]) && (get_property("_macrometeoriteUses").to_int() < 10))
{
if(auto_voteMonster())
{
set_property("auto_combatDirective", "start;skill macrometeorite");
autoEquip($slot[acc3], $item["I voted!" sticker]);
}
else
{
return false;
}
}
}
auto_sourceTerminalEducate($skill[Extract], $skill[Digitize]);
autoAdv(1, $location[Sonofa Beach]);
set_property("auto_combatDirective", "");
set_property("auto_doCombatCopy", "no");
handleFamiliar("item");
if (isActuallyEd() && my_hp() == 0)
{
use(1, $item[Linen Bandages]);
}
return true;
}
boolean L12_sonofaFinish()
{
if (internalQuestStatus("questL12War") < 1 || internalQuestStatus("questL12War") > 1 || get_property("sidequestLighthouseCompleted") != "none")
{
return false;
}
if (in_koe())
{
return false;
}
if(item_amount($item[barrel of gunpowder]) < 5)
{
return false;
}
if(!haveWarOutfit())
{
return false;
}
if((get_property("fratboysDefeated").to_int() < 64) && get_property("auto_hippyInstead").to_boolean())
{
return false;
}
warOutfit(true);
visit_url("bigisland.php?place=lighthouse&action=pyro&pwd");
visit_url("bigisland.php?place=lighthouse&action=pyro&pwd");
return true;
}
boolean L12_flyerBackup()
{
if (internalQuestStatus("questL12War") != 1)
{
return false;
}
if(get_property("flyeredML").to_int() >= 10000)
{
return false;
}
if((item_amount($item[Rock Band Flyers]) == 0) && (item_amount($item[Jam Band Flyers]) == 0))
{
return false;
}
if(get_property("choiceAdventure1003").to_int() >= 3)
{
return false;
}
if(get_property("auto_ignoreFlyer").to_boolean())
{
return false;
}
return LX_freeCombats(true);
}
boolean L12_lastDitchFlyer()
{
if(get_property("auto_ignoreFlyer").to_boolean())
{
return false;
}
if (internalQuestStatus("questL12War") < 1 || internalQuestStatus("questL12War") > 1 || get_property("sidequestArenaCompleted") != "none" || get_property("flyeredML").to_int() >= 10000)
{
return false;
}
if((item_amount($item[Rock Band Flyers]) == 0) && (item_amount($item[Jam Band Flyers]) == 0))
{
return false;
}
auto_log_info("Not enough flyer ML but we are ready for the war... uh oh", "blue");
if (needStarKey())
{
if (!zone_isAvailable($location[The Hole in the Sky]))
{
return (L10_topFloor() || L10_holeInTheSkyUnlock());
}
else
{
handleFamiliar("item");
if(LX_getStarKey())
{
return true;
}
}
} else if (needDigitalKey()) {
if (LX_getDigitalKey()) {
return true;
}
}
else
{
auto_log_warning("Should not have so little flyer ML at this point", "red");
wait(1);
if(!LX_attemptFlyering())
{
abort("Need more flyer ML but don't know where to go :(");
}
return true;
}
return false;
}
boolean LX_attemptFlyering()
{
if(elementalPlanes_access($element[stench]) && auto_have_skill($skill[Summon Smithsness]))
{
return autoAdv(1, $location[Uncle Gator\'s Country Fun-Time Liquid Waste Sluice]);
}
else if(elementalPlanes_access($element[spooky]))
{
return autoAdv(1, $location[The Deep Dark Jungle]);
}
else if(elementalPlanes_access($element[cold]))
{
return autoAdv(1, $location[VYKEA]);
}
else if(elementalPlanes_access($element[stench]))
{
return autoAdv(1, $location[Uncle Gator\'s Country Fun-Time Liquid Waste Sluice]);
}
else if(elementalPlanes_access($element[sleaze]))
{
return autoAdv(1, $location[Sloppy Seconds Diner]);
}
else if(neverendingPartyAvailable())
{
return neverendingPartyPowerlevel();
}
else
{
int flyer = get_property("flyeredML").to_int();
boolean retval = autoAdv($location[Near an Abandoned Refrigerator]);
if (flyer == get_property("flyeredML").to_int())
{
abort("Trying to flyer but failed to flyer");
}
set_property("auto_newbieOverride", true);
return retval;
}
return false;
}
boolean L12_flyerFinish()
{
if (internalQuestStatus("questL12War") < 1 || internalQuestStatus("questL12War") > 1)
{
return false;
}
if((item_amount($item[Rock Band Flyers]) == 0) && (item_amount($item[Jam Band Flyers]) == 0))
{
return false;
}
if(get_property("flyeredML").to_int() < 10000)
{
if(get_property("sidequestArenaCompleted") != "none")
{
auto_log_warning("Sidequest Arena detected as completed but flyeredML is not appropriate, fixing.", "red");
set_property("flyeredML", 10000);
}
else
{
return false;
}
}
if(get_property("auto_ignoreFlyer").to_boolean())
{
return false;
}
auto_log_info("Done with this Flyer crap", "blue");
warOutfit(true);
visit_url("bigisland.php?place=concert&pwd");
cli_execute("refresh inv");
if((item_amount($item[Rock Band Flyers]) == 0) && (item_amount($item[Jam Band Flyers]) == 0))
{
return true;
}
auto_log_warning("We thought we had enough flyeredML, but we don't. Big sadness, let's try that again.", "red");
set_property("flyeredML", 9999);
return false;
}
boolean L12_themtharHills()
{
if (internalQuestStatus("questL12War") < 1 || internalQuestStatus("questL12War") > 1 || get_property("sidequestNunsCompleted") != "none")
{
return false;
}
if (in_tcrs() || in_koe() || auto_my_path() == "Way of the Surprising Fist")
{
return false;
}
if ((get_property("hippiesDefeated").to_int() < 192 && !get_property("auto_hippyInstead").to_boolean()) || get_property("auto_skipNuns").to_boolean())
{
return false;
}
else
{
auto_log_info("Themthar Nuns!", "blue");
}
if((get_property("sidequestArenaCompleted") == "fratboy") && !get_property("concertVisited").to_boolean() && (have_effect($effect[Winklered]) == 0))
{
outfit("Frat Warrior Fatigues");
cli_execute("concert 2");
}
handleBjornify($familiar[Hobo Monkey]);
if((equipped_item($slot[off-hand]) != $item[Half a Purse]) && !possessEquipment($item[Half a Purse]) && (item_amount($item[Lump of Brituminous Coal]) > 0))
{
buyUpTo(1, $item[Loose Purse Strings]);
autoCraft("smith", 1, $item[Lump of Brituminous Coal], $item[Loose purse strings]);
}
autoEquip($item[Half a Purse]);
if(auto_my_path() == "Heavy Rains")
{
autoEquip($item[Thor\'s Pliers]);
}
autoEquip($item[Miracle Whip]);
shrugAT($effect[Polka of Plenty]);
if (isActuallyEd())
{
if(!have_skill($skill[Gift of the Maid]) && ($servant[Maid].experience >= 441))
{
visit_url("charsheet.php");
if(have_skill($skill[Gift of the Maid]))
{
auto_log_warning("Gift of the Maid not properly detected until charsheet refresh.", "red");
}
}
}
buffMaintain($effect[Purr of the Feline], 10, 1, 1);
songboomSetting("meat");
if(!canChangeFamiliar())
{
addToMaximize("200meat drop");
}
else
{
addToMaximize("200meat drop,switch Hobo Monkey,switch rockin' robin,switch adventurous spelunker,switch Grimstone Golem,switch Fist Turkey,switch Unconscious Collective,switch Golden Monkey,switch Angry Jung Man,switch Leprechaun,switch cat burglar");
handleFamiliar(my_familiar());
}
if(get_property("auto_useWishes").to_boolean())
{
makeGenieWish($effect[Frosty]);
}
buffMaintain($effect[Greedy Resolve], 0, 1, 1);
buffMaintain($effect[Disco Leer], 10, 1, 1);
buffMaintain($effect[Polka of Plenty], 8, 1, 1);
#Handle for familiar weight change.
buffMaintain($effect[Kindly Resolve], 0, 1, 1);
buffMaintain($effect[Heightened Senses], 0, 1, 1);
buffMaintain($effect[Big Meat Big Prizes], 0, 1, 1);
buffMaintain($effect[Human-Machine Hybrid], 0, 1, 1);
buffMaintain($effect[Human-Constellation Hybrid], 0, 1, 1);
buffMaintain($effect[Human-Humanoid Hybrid], 0, 1, 1);
buffMaintain($effect[Human-Fish Hybrid], 0, 1, 1);
buffMaintain($effect[Cranberry Cordiality], 0, 1, 1);
buffMaintain($effect[Patent Avarice], 0, 1, 1);
if(item_amount($item[body spradium]) > 0 && !in_tcrs() && have_effect($effect[Boxing Day Glow]) == 0)
{
autoChew(1, $item[body spradium]);
}
if(have_effect($effect[meat.enh]) == 0)
{
if(auto_sourceTerminalEnhanceLeft() > 0)
{
auto_sourceTerminalEnhance("meat");
}
}
if(have_effect($effect[Synthesis: Greed]) == 0)
{
rethinkingCandy($effect[Synthesis: Greed]);
}
asdonBuff($effect[Driving Observantly]);
if (isActuallyEd()) {
handleServant("meat");
} else {
handleFamiliar("meat");
}
if(available_amount($item[Li\'l Pirate Costume]) > 0 && canChangeToFamiliar($familiar[Trick-or-Treating Tot]) && (auto_my_path() != "Heavy Rains"))
{
use_familiar($familiar[Trick-or-Treating Tot]);
autoEquip($item[Li\'l Pirate Costume]);
handleFamiliar($familiar[Trick-or-Treating Tot]);
}
if(auto_my_path() == "Heavy Rains")
{
buffMaintain($effect[Sinuses For Miles], 0, 1, 1);
}
// Target 1000 + 400% = 5000 meat per brigand. Of course we want more, but don\'t bother unless we can get this.
float meat_need = 400.00;
if(item_amount($item[Mick\'s IcyVapoHotness Inhaler]) > 0)
{
meat_need = meat_need - 200;
}
if((my_class() == $class[Vampyre]) && have_skill($skill[Wolf Form]) && (0 == have_effect($effect[Wolf Form])))
{
meat_need = meat_need - 150;
}
if(zataraAvailable() && (0 == have_effect($effect[Meet the Meat])))
{
meat_need = meat_need - 100;
}
if(canChangeFamiliar()) {
// if we're in a 100% run, this property returns "none" which will unequip our familiar and ruin a 100% run.
use_familiar(to_familiar(get_property("auto_familiarChoice")));
}
float meatDropHave = meat_drop_modifier();
if (isActuallyEd() && have_skill($skill[Curse of Fortune]) && item_amount($item[Ka Coin]) > 0)
{
meatDropHave = meatDropHave + 200;
}
if(meatDropHave < meat_need)
{
auto_log_warning("Meat drop (" + meatDropHave+ ") is pretty low, (we want: " + meat_need + ") probably not worth it to try this.", "red");
float minget = 800.00 * (meatDropHave / 100.0);
int meatneed = 100000 - get_property("currentNunneryMeat").to_int();
auto_log_info("The min we expect is: " + minget + " and we need: " + meatneed, "blue");
if(minget < meatneed)
{
int curMeat = get_property("currentNunneryMeat").to_int();
int advs = $location[The Themthar Hills].turns_spent;
int needMeat = 100000 - curMeat;
boolean failNuns = true;
if(advs < 25)
{
int advLeft = 25 - $location[The Themthar Hills].turns_spent;
float needPerAdv = needMeat / advLeft;
if(minget > needPerAdv)
{
auto_log_info("We don't have the desired +meat but should be able to complete the nuns to our advantage", "green");
failNuns = false;
}
}
if(failNuns)
{
handleFamiliar("item");
set_property("auto_skipNuns", "true");
return false;
}
}
else
{
auto_log_info("The min should be enough! Doing it!!", "purple");
}
}
buffMaintain($effect[Disco Leer], 10, 1, 1);
buffMaintain($effect[Polka of Plenty], 8, 1, 1);
buffMaintain($effect[Sinuses For Miles], 0, 1, 1);
buffMaintain($effect[Greedy Resolve], 0, 1, 1);
buffMaintain($effect[Kindly Resolve], 0, 1, 1);
buffMaintain($effect[Heightened Senses], 0, 1, 1);
buffMaintain($effect[Big Meat Big Prizes], 0, 1, 1);
buffMaintain($effect[Fortunate Resolve], 0, 1, 1);
buffMaintain($effect[Human-Machine Hybrid], 0, 1, 1);
buffMaintain($effect[Human-Constellation Hybrid], 0, 1, 1);
buffMaintain($effect[Human-Humanoid Hybrid], 0, 1, 1);
buffMaintain($effect[Human-Fish Hybrid], 0, 1, 1);
buffMaintain($effect[Cranberry Cordiality], 0, 1, 1);
bat_formWolf();
zataraSeaside("meat");
{
warOutfit(false);
int lastMeat = get_property("currentNunneryMeat").to_int();
int myLastMeat = my_meat();
auto_log_info("Meat drop to start: " + meat_drop_modifier(), "blue");
if(!autoAdv(1, $location[The Themthar Hills]))
{
//Maybe we passed it!
string temp = visit_url("bigisland.php?place=nunnery");
}
if(last_monster() != $monster[dirty thieving brigand])
{
return true;
}
if(get_property("lastEncounter") != $monster[Dirty Thieving Brigand])
{
return true;
}
int curMeat = get_property("currentNunneryMeat").to_int();
if(lastMeat == curMeat)
{
int diffMeat = my_meat() - myLastMeat;
set_property("currentNunneryMeat", diffMeat);
}
int advs = $location[The Themthar Hills].turns_spent + 1;
int diffMeat = curMeat - lastMeat;
int needMeat = 100000 - curMeat;
int average = curMeat / advs;
auto_log_info("Cur Meat: " + curMeat + " Average: " + average, "blue");
diffMeat = diffMeat * 1.2;
average = average * 1.2;
}
handleFamiliar("item");
return true;
}
boolean LX_obtainChaosButterfly()
{
if(auto_my_path() == "Bees Hate You" || auto_my_path() == "Pocket Familiars")
{
return false;
}
if(get_property("chaosButterflyThrown").to_boolean())
{
return false;
}
if(!is_unrestricted($item[chaos butterfly]))
{
return false;
}
if(internalQuestStatus("questL10Garbage") < 8)
{
return false;
}
// Softcore pull
if(canPull($item[chaos butterfly]) && !get_property("chaosButterflyThrown").to_boolean() && item_amount($item[chaos butterfly]) == 0)
{
if(pullXWhenHaveY($item[chaos butterfly], 1, 0))
{
return true;
}
else
{
auto_log_warning("failed to pull [chaos butterfly] for some reason", "red");
}
}
// Fight possibility giant for chaos butterfly if profitable.
if(!get_property("chaosButterflyThrown").to_boolean() && item_amount($item[chaos butterfly]) == 0 && (auto_estimatedAdventuresForChaosButterfly() < 15))
{
if(autoAdv(1, $location[The Castle in the Clouds in the Sky (Ground Floor)]))
{
return true;
}
else
{
auto_log_warning("For some reason failed to adventure in [The Castle in the Clouds in the Sky (Ground Floor)] for a [chaos butterfly]... skipping", "red");
}
}
// Special-case using chaos butterfly in the Barn right after acquiring it,
// to avoid any funny business where we don't use the chaos butterfly,
// adventure somewhere else, our CCS uses the chaos butterfly, and we
// suddenly realize that we want to complete dooks after all.
if(!get_property("chaosButterflyThrown").to_boolean() && item_amount($item[chaos butterfly]) > 0 && auto_my_path() != "Pocket Familiars")
{
if($location[McMillicancuddy's Barn].turns_spent > 0)
{
auto_log_warning("I seem to have spent turns in [McMillicancuddy's Barn] without using the [chaos butterfly] which I have. Something is not right...", "red");
}
else
{
auto_log_warning("Looks like I should use the [chaos butterfly] in [McMillicancuddy's Barn]", "blue");
return autoAdv(1, $location[McMillicancuddy's Barn]);
}
}
return false;
}
boolean L12_farm()
{
if(get_property("auto_skipL12Farm").to_boolean())
{
return false;
}
if(get_property("sidequestFarmCompleted") != "none")
{
set_property("auto_skipL12Farm", "true");
return false;
}
if(internalQuestStatus("questL12War") != 1)
{
return false;
}
//Does fratboy side have access to farm yet?
//TODO verify this works with pocket familiar. And if not then make special handling for pokefam
if(auto_warSide() == "fratboy" && get_property("hippiesDefeated").to_int() < 458)
{
return false;
}
WarPlan plan = auto_bestWarPlan();
if(!plan.do_farm)
{
return false;
}
// Acquire and use chaos butterfly if needed and desired
if(LX_obtainChaosButterfly())
{
return true;
}
auto_log_info("Save McMillicancuddy's Farm from the Dooks", "blue");
set_property("choiceAdventure147", "3"); //open the pond
set_property("choiceAdventure148", "1"); //open the back 40
set_property("choiceAdventure149", "2"); //open the other back 40
// There is no mafia tracking for stages of this sidequest
// Because Mafia's adventures spent count also increments on a free fight, we cannot
// rely on adventures spent count to see if a zone is clear.
// Instead, we use the internal property auto_L12FarmStage to determine
// which section of the farm is available.
// Note that this code uses switch fall-through, and does not use breaks.
switch(get_property("auto_L12FarmStage").to_int())
{
case 0:
if(autoAdv(1, $location[McMillicancuddy's Barn]))
{
return true;
}
set_property("auto_L12FarmStage", "1");
case 1:
if(autoAdv(1, $location[McMillicancuddy's Pond]))
{
return true;
}
set_property("auto_L12FarmStage", "2");
case 2:
if(autoAdv(1, $location[McMillicancuddy's Back 40]))
{
return true;
}
set_property("auto_L12FarmStage", "3");
case 3:
if(autoAdv(1, $location[McMillicancuddy's Other Back 40]))
{
return true;
}
set_property("auto_L12FarmStage", "4");
case 4:
warOutfit(true);
visit_url("bigisland.php?place=farm&action=farmer&pwd");
if(get_property("sidequestFarmCompleted") != "none")
{
return true;
}
abort("Failed to turn in L12 Farm sidequest. please finish it manually and run me again");
}
// This really should not happen. Maybe if auto_L12FarmStage is in an invalid state (not 0-4).
abort("I am confused about where I am in the dooks. Please report this. auto_L12FarmStage="+get_property("auto_L12FarmStage"));
return false;
}
boolean L12_clearBattlefield()
{
if(in_koe())
{
if (internalQuestStatus("questL12HippyFrat") < 2 && get_property("hippiesDefeated").to_int() < 333 && get_property("fratboysDefeated").to_int() < 333 && possessOutfit("Frat Warrior Fatigues", true))
{
handleFamiliar("item");
if(haveWarOutfit())
{
warOutfit(false);
}
item warKillDoubler = my_primestat() == $stat[mysticality] ? $item[Jacob\'s rung] : $item[Haunted paddle-ball];
pullXWhenHaveY(warKillDoubler, 1, 0);
if(possessEquipment(warKillDoubler))
{
autoEquip($slot[weapon], warKillDoubler);
}
item food_item = $item[none];
foreach it in $items[pie man was not meant to eat, spaghetti with Skullheads, gnocchetti di Nietzsche, Spaghetti con calaveras, space chowder, Spaghetti with ghost balls, Crudles, Agnolotti arboli, Shells a la shellfish, Linguini immondizia bianco, Fettucini Inconnu, ghuol guolash, suggestive strozzapreti, Fusilli marrownarrow]
{
if(item_amount(it) > 0)
{
food_item = it;
break;
}
}
if(food_item == $item[none])
{
if(creatable_amount($item[space chowder]) > 6)
{
create(1, $item[space chowder]);
food_item = $item[space chowder];
}
else
{
abort("Couldn't find a good food item for the war.");
}
}
// TODO: Mafia should really be tracking this.
if(!autoAdvBypass("adventure.php?snarfblat=533", $location[The Exploaded Battlefield]))
{
if(get_property("lastEncounter") == "Rationing out Destruction")
{
visit_url("choice.php?whichchoice=1391&option=1&tossid=" + food_item.to_int() + "&pwd=" + my_hash(), true);
}
}
if(item_amount($item[solid gold bowling ball]) > 0)
{
council();
}
return true;
}
return false;
}
else
{
if (get_property("hippiesDefeated").to_int() < 64 && get_property("fratboysDefeated").to_int() < 64 && internalQuestStatus("questL12War") == 1)
{
auto_log_info("First 64 combats. To orchard/lighthouse", "blue");
if((item_amount($item[Stuffing Fluffer]) == 0) && (item_amount($item[Cashew]) >= 3))
{
cli_execute("make 1 stuffing fluffer");
}
if((item_amount($item[Stuffing Fluffer]) == 0) && (item_amount($item[Cornucopia]) > 0) && glover_usable($item[Cornucopia]))
{
use(1, $item[Cornucopia]);
if((item_amount($item[Stuffing Fluffer]) == 0) && (item_amount($item[Cashew]) >= 3))
{
cli_execute("make 1 stuffing fluffer");
}
return true;
}
if(item_amount($item[Stuffing Fluffer]) > 0)
{
use(1, $item[Stuffing Fluffer]);
return true;
}
handleFamiliar("item");
warOutfit(false);
return warAdventure();
}
if (get_property("hippiesDefeated").to_int() < 192 && get_property("fratboysDefeated").to_int() < 192 && internalQuestStatus("questL12War") == 1)
{
auto_log_info("Getting to the nunnery/junkyard", "blue");
handleFamiliar("item");
warOutfit(false);
return warAdventure();
}
if ((get_property("sidequestNunsCompleted") != "none" || get_property("auto_skipNuns").to_boolean()) && (get_property("hippiesDefeated").to_int() < 1000 && get_property("fratboysDefeated").to_int() < 1000) && internalQuestStatus("questL12War") == 1)
{
auto_log_info("Doing the wars.", "blue");
handleFamiliar("item");
warOutfit(false);
return warAdventure();
}
}
return false;
}
boolean L12_finalizeWar()
{
if (internalQuestStatus("questL12War") < 1 || internalQuestStatus("questL12War") > 1)
{
return false;
}
if (get_property("hippiesDefeated").to_int() < 1000 && get_property("fratboysDefeated").to_int() < 1000)
{
return false;
}
if(possessOutfit("War Hippy Fatigues"))
{
auto_log_info("Getting dimes.", "blue");
outfit("War Hippy Fatigues");
foreach it in $items[padl phone, red class ring, blue class ring, white class ring]
{
sell(it.buyer, item_amount(it), it);
}
foreach it in $items[beer helmet, distressed denim pants, bejeweled pledge pin]
{
sell(it.buyer, item_amount(it) - 1, it);
}
if (isActuallyEd())
{
foreach it in $items[kick-ass kicks, perforated battle paddle, bottle opener belt buckle, keg shield, giant foam finger, war tongs, energy drink IV, Elmley shades, beer bong]
{
sell(it.buyer, item_amount(it), it);
}
}
}
if(possessOutfit("Frat Warrior Fatigues"))
{
auto_log_info("Getting quarters.", "blue");
outfit("Frat Warrior Fatigues");
foreach it in $items[pink clay bead, purple clay bead, green clay bead, communications windchimes]
{
sell(it.buyer, item_amount(it), it);
}
foreach it in $items[bullet-proof corduroys, round purple sunglasses, reinforced beaded headband]
{
sell(it.buyer, item_amount(it) - 1, it);
}
if (isActuallyEd())
{
foreach it in $items[hippy protest button, Lockenstock™ sandals, didgeridooka, wicker shield, oversized pipe, fire poi, Gaia beads, hippy medical kit, flowing hippy skirt, round green sunglasses]
{
sell(it.buyer, item_amount(it), it);
}
}
}
// Just in case we need the extra turngen to complete this day
if (my_class() == $class[Vampyre])
{
int have = item_amount($item[monstar energy beverage]) + item_amount($item[carbonated soy milk]);
if(have < 5)
{
int need = 5 - have;
if(!get_property("auto_hippyInstead").to_boolean())
{
need = min(need, $coinmaster[Quartersmaster].available_tokens / 3);
cli_execute("make " + need + " Monstar energy beverage");
}
else
{
need = min(need, $coinmaster[Dimemaster].available_tokens / 3);
cli_execute("make " + need + " carbonated soy milk");
}
}
}
int have = item_amount($item[filthy poultice]) + item_amount($item[gauze garter]);
if (have < 10 && !isActuallyEd())
{
int need = 10 - have;
if(!get_property("auto_hippyInstead").to_boolean())
{
need = min(need, $coinmaster[Quartersmaster].available_tokens / 2);
cli_execute("make " + need + " gauze garter");
}
else
{
need = min(need, $coinmaster[Dimemaster].available_tokens / 2);
cli_execute("make " + need + " filthy poultice");
}
}
if(possessOutfit("War Hippy Fatigues"))
{
while($coinmaster[Dimemaster].available_tokens >= 5)
{
cli_execute("make " + $coinmaster[Dimemaster].available_tokens/5 + " fancy seashell necklace");
}
while($coinmaster[Dimemaster].available_tokens >= 2)
{
cli_execute("make " + $coinmaster[Dimemaster].available_tokens/2 + " filthy poultice");
}
while($coinmaster[Dimemaster].available_tokens >= 1)
{
cli_execute("make " + $coinmaster[Dimemaster].available_tokens + " water pipe bomb");
}
}
if(possessOutfit("Frat Warrior Fatigues"))
{
while($coinmaster[Quartersmaster].available_tokens >= 5)
{
cli_execute("make " + $coinmaster[Quartersmaster].available_tokens/5 + " commemorative war stein");
}
while($coinmaster[Quartersmaster].available_tokens >= 2)
{
cli_execute("make " + $coinmaster[Quartersmaster].available_tokens/2 + " gauze garter");
}
while($coinmaster[Quartersmaster].available_tokens >= 1)
{
cli_execute("make " + $coinmaster[Quartersmaster].available_tokens + " beer bomb");
}
}
if(my_mp() < 40)
{
// fyi https://kol.coldfront.net/thekolwiki/index.php/Chateau_Mantegna states you wont get pantsgiving benefits resting there (presumably campsite as well)
// so not sure this is doing much
if(possessEquipment($item[Pantsgiving]))
{
equip($item[pantsgiving]);
}
doRest();
}
warOutfit(false);
acquireHP();
auto_log_info("Let's fight the boss!", "blue");
location bossFight = $location[Noob Cave];
if (in_koe())
{
bossFight = 533.to_location();
}
if(auto_have_familiar($familiar[Machine Elf]))
{
handleFamiliar($familiar[Machine Elf]);
}
string[int] pages;
if (!in_koe())
{
pages[0] = "bigisland.php?place=camp&whichcamp=1";
pages[1] = "bigisland.php?place=camp&whichcamp=2";
pages[2] = "bigisland.php?action=bossfight&pwd";
}
if(!autoAdvBypass(0, pages, bossFight, ""))
{
auto_log_warning("Boss already defeated, ignoring", "red");
}
if(auto_my_path() == "Pocket Familiars")
{
string temp = visit_url("island.php");
council();
}
cli_execute("refresh quests");
if (internalQuestStatus("questL12War") == 1)
{
abort("Failing to complete the war.");
}
council();
return true;
}
| 28.244373
| 332
| 0.690801
|
71ae9f0e64cf7a9f77bdc1e41d2bdc50e291c4b5
| 70
|
ash
|
AGS Script
|
rotation/Photo/270/autoexec.ash
|
waltersgrey/autoexechack
|
df88a6c73128b64a96fb55011d0735c1c4267ec8
|
[
"MIT"
] | 386
|
2015-01-03T09:52:03.000Z
|
2022-02-02T19:12:23.000Z
|
rotation/Photo/270/autoexec.ash
|
waltersgrey/autoexechack
|
df88a6c73128b64a96fb55011d0735c1c4267ec8
|
[
"MIT"
] | 38
|
2015-01-26T14:16:56.000Z
|
2018-03-28T14:07:17.000Z
|
rotation/Photo/270/autoexec.ash
|
waltersgrey/autoexechack
|
df88a6c73128b64a96fb55011d0735c1c4267ec8
|
[
"MIT"
] | 282
|
2015-01-03T16:40:08.000Z
|
2022-03-16T19:02:11.000Z
|
t app appmode photo
t app test vin_rotate 270
t app button shutter PR
| 17.5
| 25
| 0.8
|
197b53cf763ec59acee8b8db177998c4ea30c74d
| 25,061
|
g4
|
ANTLR
|
src/dovado_rtl/antlr/old_grammars/vhdlParser.g4
|
DavideConficconi/dovado
|
60abf088d301cbb96660238a4f39ea2fe5cbbb18
|
[
"MIT"
] | 12
|
2020-08-18T16:00:04.000Z
|
2022-02-23T00:05:53.000Z
|
src/dovado_rtl/antlr/old_grammars/vhdlParser.g4
|
DavideConficconi/dovado
|
60abf088d301cbb96660238a4f39ea2fe5cbbb18
|
[
"MIT"
] | 1
|
2022-02-28T12:57:18.000Z
|
2022-02-28T14:04:49.000Z
|
src/dovado_rtl/antlr/old_grammars/vhdlParser.g4
|
DavideConficconi/dovado
|
60abf088d301cbb96660238a4f39ea2fe5cbbb18
|
[
"MIT"
] | 2
|
2021-09-24T11:47:36.000Z
|
2021-12-17T07:58:34.000Z
|
parser grammar vhdlParser;
options {
tokenVocab = vhdlLexer;
}
/*
* Grammar extracted from the 2008 standard
*/
any_keyword:
KW_PROCESS
| KW_CONTEXT
| KW_POSTPONED
| KW_LINKAGE
| KW_COMPONENT
| KW_ABS
| KW_DEFAULT
| KW_THEN
| KW_BLOCK
| KW_REM
| KW_INERTIAL
| KW_NEXT
| KW_ENTITY
| KW_ON
| KW_GROUP
| KW_XNOR
| KW_FILE
| KW_PURE
| KW_GUARDED
| KW_GENERIC
| KW_RANGE
| KW_ELSE
| KW_USE
| KW_SHARED
| KW_MOD
| KW_LOOP
| KW_RECORD
| KW_SIGNAL
| KW_REJECT
| KW_BEGIN
| KW_SLA
| KW_DISCONNECT
| KW_OF
| KW_PROCEDURE
| KW_SRL
| KW_VUNIT
| KW_ATTRIBUTE
| KW_VARIABLE
| KW_PROPERTY
| KW_UNAFFECTED
| KW_XOR
| KW_REGISTER
| KW_SUBTYPE
| KW_TO
| KW_NEW
| KW_REPORT
| KW_CONSTANT
| KW_BUFFER
| KW_BODY
| KW_AFTER
| KW_TRANSPORT
| KW_FUNCTION
| KW_END
| KW_SELECT
| KW_OR
| KW_LIBRARY
| KW_ELSIF
| KW_SLL
| KW_MAP
| KW_SRA
| KW_PROTECTED
| KW_DOWNTO
| KW_LABEL
| KW_ALL
| KW_ALIAS
| KW_GENERATE
| KW_NOR
| KW_IN
| KW_RELEASE
| KW_EXIT
| KW_RETURN
| KW_WITH
| KW_UNTIL
| KW_AND
| KW_INOUT
| KW_WAIT
| KW_NAND
| KW_ARRAY
| KW_FORCE
| KW_WHILE
| KW_IMPURE
| KW_PACKAGE
| KW_UNITS
| KW_ASSERT
| KW_PARAMETER
| KW_SEVERITY
| KW_LITERAL
| KW_FOR
| KW_ROR
| KW_IF
| KW_OUT
| KW_ROL
| KW_IS
| KW_SEQUENCE
| KW_OTHERS
| KW_TYPE
| KW_CASE
| KW_NOT
| KW_CONFIGURATION
| KW_OPEN
| KW_ARCHITECTURE
| KW_BUS
| KW_ACCESS
| KW_WHEN
| KW_PORT
| KW_NULL;
name_literal: identifier | operator_symbol | CHARACTER_LITERAL;
name:
name_literal
| name (
name_slice_part // name_index was removed as it is same as call
| name_attribute_part
| association_list // call args
| DOT suffix
)
| external_name;
name_slice_part: LPAREN explicit_range RPAREN;
name_attribute_part:
(signature)? APOSTROPHE attribute_designator;
attribute_name: name name_attribute_part;
suffix: name_literal | KW_ALL;
explicit_range: simple_expression direction simple_expression;
selected_name: identifier (DOT suffix)*;
entity_declaration:
KW_ENTITY identifier KW_IS (generic_clause)? (port_clause)? (
entity_declarative_item
)* (KW_BEGIN ( entity_statement)*)? KW_END (KW_ENTITY)? (
identifier
)? SEMI;
entity_declarative_item:
signal_declaration
| process_declarative_item
| disconnection_specification;
entity_statement:
(label COLON)? (
concurrent_assertion_statement
| concurrent_procedure_call_statement
| process_statement
// | PSL_PSL_Directive
);
architecture_body:
KW_ARCHITECTURE identifier KW_OF name KW_IS (
block_declarative_item
)* KW_BEGIN (concurrent_statement)* KW_END (KW_ARCHITECTURE)? (
identifier
)? SEMI;
block_declarative_item:
entity_declarative_item
| component_declaration
| configuration_specification;
configuration_declaration:
KW_CONFIGURATION identifier KW_OF name KW_IS (
configuration_declarative_item
)* (verification_unit_binding_indication SEMI)* block_configuration KW_END (
KW_CONFIGURATION
)? (identifier)? SEMI;
configuration_declarative_item:
use_clause
| attribute_specification
| group_declaration;
block_configuration:
KW_FOR block_specification (use_clause)* (configuration_item)* KW_END KW_FOR SEMI;
block_specification:
label (LPAREN generate_specification RPAREN)?;
generate_specification: discrete_range | expression | label;
configuration_item:
block_configuration
| component_configuration;
component_configuration:
KW_FOR component_specification (binding_indication SEMI)? (
verification_unit_binding_indication SEMI
)* (block_configuration)? KW_END KW_FOR SEMI;
subprogram_declaration: subprogram_specification SEMI;
subprogram_specification:
procedure_specification
| function_specification;
procedure_specification:
KW_PROCEDURE designator (subprogram_header)? (
(KW_PARAMETER)? LPAREN formal_parameter_list RPAREN
)?;
function_specification:
(KW_PURE | KW_IMPURE)? KW_FUNCTION designator (
subprogram_header
)? (( KW_PARAMETER)? LPAREN formal_parameter_list RPAREN)? KW_RETURN type_mark;
subprogram_header:
KW_GENERIC LPAREN generic_list RPAREN (generic_map_aspect)?;
designator: identifier | operator_symbol;
operator_symbol: STRING_LITERAL;
formal_parameter_list: interface_list;
subprogram_body:
subprogram_specification KW_IS (process_declarative_item)* KW_BEGIN (
sequential_statement
)* KW_END (subprogram_kind)? (designator)? SEMI;
subprogram_kind: KW_PROCEDURE | KW_FUNCTION;
subprogram_instantiation_declaration:
subprogram_kind designator KW_IS KW_NEW name (signature)? (
generic_map_aspect
)? SEMI;
signature:
LSQUARE_BR (type_mark ( COMMA type_mark)*)? (
KW_RETURN type_mark
)? RSQUARE_BR;
package_declaration:
KW_PACKAGE identifier KW_IS (
generic_clause ( generic_map_aspect SEMI)?
)? (package_declarative_item)* KW_END (KW_PACKAGE)? (
identifier
)? SEMI;
package_declarative_item:
process_or_package_declarative_item
| signal_declaration
| component_declaration
| disconnection_specification;
package_body:
KW_PACKAGE KW_BODY identifier KW_IS (
process_declarative_item
)* KW_END (KW_PACKAGE KW_BODY)? (identifier)? SEMI;
package_instantiation_declaration:
KW_PACKAGE identifier KW_IS KW_NEW name (generic_map_aspect)? SEMI;
scalar_type_definition:
enumeration_type_definition
| integer_type_definition
| floating_type_definition
| physical_type_definition;
range_constraint: KW_RANGE range_;
range_:
attribute_name
| simple_expression direction simple_expression;
direction: KW_TO | KW_DOWNTO;
enumeration_type_definition:
LPAREN enumeration_literal (COMMA enumeration_literal)* RPAREN;
enumeration_literal: identifier | CHARACTER_LITERAL;
integer_type_definition: range_constraint;
physical_type_definition:
range_constraint KW_UNITS primary_unit_declaration (
secondary_unit_declaration
)* KW_END KW_UNITS (identifier)?;
primary_unit_declaration: identifier SEMI;
secondary_unit_declaration: identifier EQ physical_literal SEMI;
floating_type_definition: range_constraint;
composite_type_definition:
array_type_definition
| record_type_definition;
array_type_definition:
unbounded_array_definition
| constrained_array_definition;
unbounded_array_definition:
KW_ARRAY LPAREN index_subtype_definition (
COMMA index_subtype_definition
)* RPAREN KW_OF subtype_indication;
constrained_array_definition:
KW_ARRAY index_constraint KW_OF subtype_indication;
index_subtype_definition: type_mark KW_RANGE BOX;
array_constraint:
index_constraint (array_element_constraint)?
| LPAREN KW_OPEN RPAREN ( array_element_constraint)?;
array_element_constraint: element_constraint;
index_constraint:
LPAREN discrete_range (COMMA discrete_range)* RPAREN;
discrete_range: subtype_indication | range_;
record_type_definition:
KW_RECORD (element_declaration)+ KW_END KW_RECORD (
identifier
)?;
element_declaration:
identifier_list COLON element_subtype_definition SEMI;
identifier_list: identifier ( COMMA identifier)*;
element_subtype_definition: subtype_indication;
record_constraint:
LPAREN record_element_constraint (
COMMA record_element_constraint
)* RPAREN;
record_element_constraint: identifier element_constraint;
access_type_definition: KW_ACCESS subtype_indication;
incomplete_type_declaration: KW_TYPE identifier SEMI;
file_type_definition: KW_FILE KW_OF type_mark;
protected_type_definition:
protected_type_declaration
| protected_type_body;
protected_type_declaration:
KW_PROTECTED (protected_type_declarative_item)* KW_END KW_PROTECTED (
identifier
)?;
protected_type_declarative_item:
subprogram_declaration
| subprogram_instantiation_declaration
| attribute_specification
| use_clause;
protected_type_body:
KW_PROTECTED KW_BODY (process_declarative_item)* KW_END KW_PROTECTED KW_BODY (
identifier
)?;
type_declaration:
full_type_declaration
| incomplete_type_declaration;
full_type_declaration:
KW_TYPE identifier KW_IS type_definition SEMI;
type_definition:
scalar_type_definition
| composite_type_definition
| access_type_definition
| file_type_definition
| protected_type_definition;
subtype_declaration:
KW_SUBTYPE identifier KW_IS subtype_indication SEMI;
subtype_indication:
(resolution_indication)? type_mark (constraint)?;
resolution_indication: name | LPAREN element_resolution RPAREN;
element_resolution:
array_element_resolution
| record_resolution;
array_element_resolution: resolution_indication;
record_resolution:
record_element_resolution (COMMA record_element_resolution)*;
record_element_resolution: identifier resolution_indication;
type_mark: name;
constraint: range_constraint | element_constraint;
element_constraint: array_constraint | record_constraint;
object_declaration:
constant_declaration
| signal_declaration
| variable_declaration
| file_declaration;
constant_declaration:
KW_CONSTANT identifier_list COLON subtype_indication (
VARASGN expression
)? SEMI;
signal_declaration:
KW_SIGNAL identifier_list COLON subtype_indication (
signal_kind
)? (VARASGN expression)? SEMI;
signal_kind: KW_REGISTER | KW_BUS;
variable_declaration:
(KW_SHARED)? KW_VARIABLE identifier_list COLON subtype_indication (
VARASGN expression
)? SEMI;
file_declaration:
KW_FILE identifier_list COLON subtype_indication (
file_open_information
)? SEMI;
file_open_information: (KW_OPEN expression)? KW_IS (
KW_IN
| KW_OUT
)? // v87 only
file_logical_name;
file_logical_name: expression;
interface_declaration:
interface_object_declaration
| interface_type_declaration
| interface_subprogram_declaration
| interface_package_declaration;
interface_object_declaration:
interface_constant_declaration
| interface_signal_declaration
| interface_variable_declaration
| interface_file_declaration;
// [note] constant as variables can be parsed as a signal if their keyword is not specified
interface_constant_declaration:
KW_CONSTANT identifier_list COLON (KW_IN)? subtype_indication (
VARASGN expression
)?;
interface_signal_declaration:
(KW_SIGNAL)? identifier_list COLON (signal_mode)? subtype_indication (
KW_BUS
)? (VARASGN expression)?;
interface_variable_declaration:
KW_VARIABLE identifier_list COLON (signal_mode)? subtype_indication (
VARASGN expression
)?;
interface_file_declaration:
KW_FILE identifier_list COLON subtype_indication;
signal_mode: KW_IN | KW_OUT | KW_INOUT | KW_BUFFER | KW_LINKAGE;
interface_type_declaration:
interface_incomplete_type_declaration;
interface_incomplete_type_declaration: KW_TYPE identifier;
interface_subprogram_declaration:
interface_subprogram_specification (
KW_IS interface_subprogram_default
)?;
interface_subprogram_specification:
interface_procedure_specification
| interface_function_specification;
interface_procedure_specification:
KW_PROCEDURE designator (
(KW_PARAMETER)? LPAREN formal_parameter_list RPAREN
)?;
interface_function_specification:
(KW_PURE | KW_IMPURE)? KW_FUNCTION designator (
(KW_PARAMETER)? LPAREN formal_parameter_list RPAREN
)? KW_RETURN type_mark;
interface_subprogram_default: name | BOX;
interface_package_declaration:
KW_PACKAGE identifier KW_IS KW_NEW name interface_package_generic_map_aspect;
interface_package_generic_map_aspect:
generic_map_aspect
| KW_GENERIC KW_MAP LPAREN BOX RPAREN
| KW_GENERIC KW_MAP LPAREN KW_DEFAULT RPAREN;
interface_list: interface_element ( SEMI interface_element)*;
interface_element: interface_declaration;
generic_clause: KW_GENERIC LPAREN generic_list RPAREN SEMI;
generic_list: interface_list;
port_clause: KW_PORT LPAREN port_list RPAREN SEMI;
port_list: interface_list;
association_list:
LPAREN association_element (COMMA association_element)* RPAREN;
association_element: ( formal_part ARROW)? actual_part;
formal_part: name (LPAREN name RPAREN)?;
// [todo] performance problem, actual_designator can become just name, but name(name) is part of name
actual_part:
name LPAREN actual_designator RPAREN
| actual_designator;
actual_designator:
(KW_INERTIAL)? expression
| subtype_indication
| KW_OPEN;
generic_map_aspect: KW_GENERIC KW_MAP association_list;
port_map_aspect: KW_PORT KW_MAP association_list;
alias_declaration:
KW_ALIAS alias_designator (COLON subtype_indication)? KW_IS name (
signature
)? SEMI;
alias_designator:
identifier
| CHARACTER_LITERAL
| operator_symbol;
attribute_declaration:
KW_ATTRIBUTE identifier COLON type_mark SEMI;
component_declaration:
KW_COMPONENT identifier (KW_IS)? (generic_clause)? (
port_clause
)? KW_END KW_COMPONENT (identifier)? SEMI;
group_template_declaration:
KW_GROUP identifier KW_IS LPAREN entity_class_entry_list RPAREN SEMI;
entity_class_entry_list:
entity_class_entry (COMMA entity_class_entry)*;
entity_class_entry: entity_class ( BOX)?;
group_declaration:
KW_GROUP identifier COLON name LPAREN group_constituent_list RPAREN SEMI;
group_constituent_list:
group_constituent (COMMA group_constituent)*;
group_constituent: name;
attribute_specification:
KW_ATTRIBUTE attribute_designator KW_OF entity_specification KW_IS expression SEMI;
entity_specification: entity_name_list COLON entity_class;
entity_class:
KW_ENTITY
| KW_ARCHITECTURE
| KW_CONFIGURATION
| KW_PROCEDURE
| KW_FUNCTION
| KW_PACKAGE
| KW_TYPE
| KW_SUBTYPE
| KW_CONSTANT
| KW_SIGNAL
| KW_VARIABLE
| KW_COMPONENT
| KW_LABEL
| KW_LITERAL
| KW_UNITS
| KW_GROUP
| KW_FILE
| KW_PROPERTY
| KW_SEQUENCE;
entity_name_list:
entity_designator (COMMA entity_designator)*
| KW_OTHERS
| KW_ALL;
entity_designator: entity_tag ( signature)?;
entity_tag: identifier | CHARACTER_LITERAL | operator_symbol;
configuration_specification:
simple_configuration_specification
| compound_configuration_specification;
simple_configuration_specification:
KW_FOR component_specification binding_indication SEMI (
KW_END KW_FOR SEMI
)?;
compound_configuration_specification:
KW_FOR component_specification binding_indication SEMI (
verification_unit_binding_indication SEMI
)+ KW_END KW_FOR SEMI;
component_specification: instantiation_list COLON name;
instantiation_list: label ( COMMA label)* | KW_OTHERS | KW_ALL;
binding_indication:
(KW_USE entity_aspect)? (generic_map_aspect)? (
port_map_aspect
)?;
entity_aspect:
KW_ENTITY name (LPAREN identifier RPAREN)?
| KW_CONFIGURATION name
| KW_OPEN;
verification_unit_binding_indication:
KW_USE KW_VUNIT verification_unit_list;
verification_unit_list: name ( COMMA name)*;
disconnection_specification:
KW_DISCONNECT guarded_signal_specification KW_AFTER expression SEMI;
guarded_signal_specification: signal_list COLON type_mark;
signal_list: name ( COMMA name)* | KW_OTHERS | KW_ALL;
attribute_designator: identifier | any_keyword;
external_name:
SHIFT_LEFT (KW_VARIABLE | KW_CONSTANT | KW_SIGNAL) external_pathname COLON subtype_indication
SHIFT_RIGHT;
external_pathname:
package_pathname
| absolute_pathname
| relative_pathname;
package_pathname:
AT identifier DOT identifier DOT identifier (DOT identifier)*;
absolute_pathname: DOT partial_pathname;
relative_pathname: ( UP DOT)* partial_pathname;
partial_pathname: ( pathname_element DOT)* identifier;
pathname_element: label ( LPAREN expression RPAREN)?;
expression:
COND_OP primary
| simple_expression
| expression shift_operator expression
| expression relational_operator expression
| expression logical_operator expression;
simple_expression:
primary (DOUBLESTAR primary)?
| (KW_ABS | KW_NOT | logical_operator) simple_expression
| simple_expression multiplying_operator simple_expression
| sign simple_expression
| simple_expression adding_operator simple_expression;
primary:
numeric_literal // 1 // [attention] numeric literal also contains name
// name can contain string and char
| BIT_STRING_LITERAL // 2
| KW_NULL // 3
| allocator // 4
| aggregate // 5
| qualified_expression ; // 7
logical_operator:
KW_AND
| KW_OR
| KW_NAND
| KW_NOR
| KW_XOR
| KW_XNOR;
relational_operator:
EQ
| NE
| LT
| CONASGN
| GT
| GE
| EQ_MATCH
| NE_MATCH
| LT_MATCH
| LE_MATCH
| GT_MATCH
| GE_MATCH;
shift_operator:
KW_SLL
| KW_SRL
| KW_SLA
| KW_SRA
| KW_ROL
| KW_ROR;
adding_operator: PLUS | MINUS | AMPERSAND;
sign: PLUS | MINUS;
multiplying_operator: MUL | DIV | KW_MOD | KW_REM;
miscellaneous_operator: DOUBLESTAR | KW_ABS | KW_NOT;
numeric_literal: // name there means name of unit, but there is ambiguity with any other name
DECIMAL_LITERAL (name)?
| BASED_LITERAL (name)?
| name;
physical_literal: ( DECIMAL_LITERAL | BASED_LITERAL)? name;
aggregate:
LPAREN element_association (COMMA element_association)* RPAREN;
element_association: ( choices ARROW)? expression;
choices: choice ( BAR choice)*;
// [rm non determinism] | identifier
choice: discrete_range | simple_expression | KW_OTHERS;
qualified_expression:
type_mark APOSTROPHE aggregate ; // aggregate can also be LPAREN expression RPAREN
allocator: KW_NEW ( subtype_indication | qualified_expression);
sequence_of_statements: ( sequential_statement)*;
sequential_statement:
(label COLON)? (
wait_statement
| assertion_statement
| report_statement
| signal_assignment_statement
| variable_assignment_statement
| procedure_call_statement
| if_statement
| case_statement
| loop_statement
| next_statement
| exit_statement
| return_statement
| null_statement
);
wait_statement:
KW_WAIT (sensitivity_clause)? (condition_clause)? (
timeout_clause
)? SEMI;
sensitivity_clause: KW_ON sensitivity_list;
sensitivity_list: name ( COMMA name)*;
condition_clause: KW_UNTIL condition;
condition: expression;
timeout_clause: KW_FOR expression;
assertion_statement: assertion SEMI;
assertion:
KW_ASSERT condition (KW_REPORT expression)? (
KW_SEVERITY expression
)?;
report_statement:
KW_REPORT expression (KW_SEVERITY expression)? SEMI;
signal_assignment_statement:
simple_signal_assignment
| conditional_signal_assignment
| selected_signal_assignment;
simple_signal_assignment:
simple_waveform_assignment
| simple_force_assignment
| simple_release_assignment;
simple_waveform_assignment:
target CONASGN (delay_mechanism)? waveform SEMI;
simple_force_assignment:
target CONASGN KW_FORCE (force_mode)? expression SEMI;
simple_release_assignment:
target CONASGN KW_RELEASE (force_mode)? SEMI;
force_mode: KW_IN | KW_OUT;
delay_mechanism:
KW_TRANSPORT
| ( KW_REJECT expression)? KW_INERTIAL;
target: name | aggregate;
waveform:
waveform_element (COMMA waveform_element)*
| KW_UNAFFECTED;
waveform_element:
expression (KW_AFTER expression)?
| KW_NULL ( KW_AFTER expression)?;
conditional_signal_assignment:
conditional_waveform_assignment
| conditional_force_assignment;
conditional_waveform_assignment:
target CONASGN (delay_mechanism)? conditional_waveforms SEMI;
conditional_waveforms:
waveform KW_WHEN condition (
KW_ELSE waveform KW_WHEN condition
)* (KW_ELSE waveform | {_input->LA(1) != KW_ELSE}?);
conditional_force_assignment:
target CONASGN KW_FORCE (force_mode)? conditional_expressions SEMI;
conditional_expressions:
expression KW_WHEN condition (
KW_ELSE expression KW_WHEN condition
)* (KW_ELSE expression | {_input->LA(1) != KW_ELSE}?);
selected_signal_assignment:
selected_waveform_assignment
| selected_force_assignment;
selected_waveform_assignment:
KW_WITH expression KW_SELECT (QUESTIONMARK)? target CONASGN (
delay_mechanism
)? selected_waveforms SEMI;
selected_waveforms:
waveform KW_WHEN choices (COMMA waveform KW_WHEN choices)*;
selected_force_assignment:
KW_WITH expression KW_SELECT (QUESTIONMARK)? target CONASGN KW_FORCE (
force_mode
)? selected_expressions SEMI;
selected_expressions:
expression KW_WHEN choices (COMMA expression KW_WHEN choices)*;
variable_assignment_statement:
simple_variable_assignment
| conditional_variable_assignment
| selected_variable_assignment;
simple_variable_assignment: target VARASGN expression SEMI;
conditional_variable_assignment:
target VARASGN conditional_expressions SEMI;
selected_variable_assignment:
KW_WITH expression KW_SELECT (QUESTIONMARK)? target VARASGN selected_expressions SEMI;
procedure_call_statement: procedure_call SEMI;
procedure_call: name;
if_statement:
KW_IF condition KW_THEN sequence_of_statements (
KW_ELSIF condition KW_THEN sequence_of_statements
)* (
KW_ELSE sequence_of_statements
|
| {_input->LA(1) != KW_ELSE}?
) KW_END KW_IF (label)? SEMI;
case_statement:
KW_CASE (QUESTIONMARK)? expression KW_IS case_statement_alternative+ KW_END KW_CASE (
QUESTIONMARK
)? (label)? SEMI;
case_statement_alternative:
KW_WHEN choices ARROW sequence_of_statements;
loop_statement:
(iteration_scheme)? KW_LOOP sequence_of_statements KW_END KW_LOOP (
label
)? SEMI;
iteration_scheme:
KW_WHILE condition
| KW_FOR parameter_specification;
parameter_specification: identifier KW_IN discrete_range;
next_statement: KW_NEXT ( label)? ( KW_WHEN condition)? SEMI;
exit_statement: KW_EXIT ( label)? ( KW_WHEN condition)? SEMI;
return_statement: KW_RETURN ( expression)? SEMI;
null_statement: KW_NULL SEMI;
concurrent_statement_with_optional_label:
process_statement
| concurrent_procedure_call_statement
| concurrent_assertion_statement
| concurrent_signal_assignment_statement;
concurrent_statement:
label COLON (
block_statement
| component_instantiation_statement
| generate_statement
| concurrent_statement_with_optional_label
)
| concurrent_statement_with_optional_label;
block_statement:
KW_BLOCK (LPAREN condition RPAREN)? (KW_IS)? block_header (
block_declarative_item
)* KW_BEGIN (concurrent_statement)* KW_END KW_BLOCK (label)? SEMI;
block_header:
(generic_clause ( generic_map_aspect SEMI)?)? (
port_clause ( port_map_aspect SEMI)?
)?;
process_statement:
(KW_POSTPONED)? KW_PROCESS (
LPAREN process_sensitivity_list RPAREN
)? (KW_IS)? (process_declarative_item)* KW_BEGIN (
sequential_statement
)* KW_END (KW_POSTPONED)? KW_PROCESS (label)? SEMI;
process_sensitivity_list: KW_ALL | sensitivity_list;
process_or_package_declarative_item:
subprogram_declaration
| subprogram_instantiation_declaration
| package_declaration
| package_instantiation_declaration
| type_declaration
| subtype_declaration
| constant_declaration
| variable_declaration
| file_declaration
| alias_declaration
| attribute_declaration
| attribute_specification
| use_clause
| group_template_declaration
| group_declaration;
process_declarative_item:
process_or_package_declarative_item
| subprogram_body
| package_body;
concurrent_procedure_call_statement:
(KW_POSTPONED)? procedure_call_statement;
concurrent_assertion_statement:
(KW_POSTPONED)? assertion_statement;
// simplified: concurrent_signal_assignment_statement, concurrent_simple_signal_assignment,
// concurrent_conditional_signal_assignment
concurrent_signal_assignment_statement:
(KW_POSTPONED)? (
concurrent_signal_assignment_any
| concurrent_selected_signal_assignment
);
concurrent_signal_assignment_any:
target CONASGN (KW_GUARDED)? (delay_mechanism)? (
waveform
| conditional_waveforms
) SEMI;
concurrent_selected_signal_assignment:
KW_WITH expression KW_SELECT (QUESTIONMARK)? target CONASGN (
KW_GUARDED
)? (delay_mechanism)? selected_waveforms SEMI;
component_instantiation_statement:
instantiated_unit (generic_map_aspect)? (port_map_aspect)? SEMI;
instantiated_unit:
(KW_COMPONENT)? name
| KW_ENTITY name ( LPAREN identifier RPAREN)?
| KW_CONFIGURATION name;
generate_statement:
for_generate_statement
| if_generate_statement
| case_generate_statement;
for_generate_statement:
KW_FOR parameter_specification KW_GENERATE generate_statement_body KW_END KW_GENERATE (
label
)? SEMI;
if_generate_statement:
KW_IF (label COLON)? condition KW_GENERATE generate_statement_body (
KW_ELSIF (label COLON)? condition KW_GENERATE generate_statement_body
)* (
KW_ELSE (label COLON)? KW_GENERATE generate_statement_body
| {_input->LA(1) != KW_ELSE}?
) KW_END KW_GENERATE (label)? SEMI;
case_generate_statement:
KW_CASE expression KW_GENERATE (case_generate_alternative)+ KW_END KW_GENERATE (
label
)? SEMI;
case_generate_alternative:
KW_WHEN (label COLON)? choices ARROW generate_statement_body_with_begin_end;
generate_statement_body_with_begin_end:
(
block_declarative_item* KW_BEGIN (concurrent_statement)* KW_END (
label
)? SEMI
)
| ( concurrent_statement)*;
generate_statement_body:
(block_declarative_item* KW_BEGIN ( concurrent_statement)*)
| ( concurrent_statement)*;
label: identifier;
use_clause: KW_USE selected_name (COMMA selected_name)* SEMI;
// the start rule
design_file: design_unit* EOF;
design_unit: context_clause library_unit;
library_unit: primary_unit | secondary_unit;
primary_unit:
entity_declaration
| configuration_declaration
| package_declaration
| package_instantiation_declaration
| context_declaration;
secondary_unit: architecture_body | package_body;
library_clause: KW_LIBRARY logical_name_list SEMI;
logical_name_list: identifier_list;
context_declaration:
KW_CONTEXT identifier KW_IS context_clause KW_END (
KW_CONTEXT
)? (identifier)? SEMI;
context_clause: ( context_item)*;
context_item: library_clause | use_clause | context_reference;
context_reference:
KW_CONTEXT selected_name (COMMA selected_name)* SEMI;
identifier: BASIC_IDENTIFIER | EXTENDED_IDENTIFIER;
| 29.518257
| 101
| 0.818563
|
4d463f6d5a0777f829da258ce94e0c35573c29be
| 2,804
|
g4
|
ANTLR
|
src/azure-cli/azure/cli/command_modules/monitor/grammar/metric_alert/MetricAlertCondition.g4
|
xaliciayang/azure-cli
|
38c80c875e8a79d08d06a2f42ec82fd54934343e
|
[
"MIT"
] | 7
|
2020-04-26T09:54:05.000Z
|
2021-07-22T16:54:41.000Z
|
src/azure-cli/azure/cli/command_modules/monitor/grammar/metric_alert/MetricAlertCondition.g4
|
xaliciayang/azure-cli
|
38c80c875e8a79d08d06a2f42ec82fd54934343e
|
[
"MIT"
] | 2
|
2020-05-04T22:45:39.000Z
|
2021-12-02T22:45:10.000Z
|
src/azure-cli/azure/cli/command_modules/monitor/grammar/metric_alert/MetricAlertCondition.g4
|
xaliciayang/azure-cli
|
38c80c875e8a79d08d06a2f42ec82fd54934343e
|
[
"MIT"
] | 13
|
2020-06-30T16:23:36.000Z
|
2022-03-29T17:12:05.000Z
|
/* PARSER RULES */
grammar MetricAlertCondition ;
/* Main Rules */
expression : aggregation (namespace '.')* (QUOTE metric QUOTE WHITESPACE | metric) operator (threshold | dynamics) (WHITESPACE dimensions)* NEWLINE* ;
aggregation : WORD WHITESPACE ;
namespace : (NUMBER | WORD | '/' | '.')+;
metric : (NUMBER | WORD | WHITESPACE | '.' | '/' | '_' | '\\' | ':' | '%' | '-' | ',' | '|')+;
operator : OPERATOR WHITESPACE ;
/* Statics */
threshold : NUMBER ;
/* Dynamics */
dynamic : DYNAMIC WHITESPACE ;
dynamics : dynamic dyn_sensitivity dyn_violations dyn_of_separator dyn_windows (WHITESPACE dyn_since_seperator dyn_datetime)* ;
dyn_sensitivity : WORD WHITESPACE ;
dyn_violations : NUMBER WHITESPACE ;
dyn_of_separator : OF WHITESPACE ;
dyn_windows : NUMBER ;
dyn_since_seperator : SINCE WHITESPACE ;
dyn_datetime : (NUMBER | WORD | '.' | '-' | ':' | '+')+;
/* Dimensions */
where : WHERE WHITESPACE ;
dimensions : where dimension (dim_separator dimension)* ;
dimension : dim_name dim_operator dim_values ;
dim_separator : (AND | ',') WHITESPACE ;
dim_operator : (INCLUDES | EXCLUDES) WHITESPACE ;
dim_val_separator : (OR | ',') WHITESPACE ;
dim_name : WORD WHITESPACE ;
dim_values : dim_value (dim_val_separator dim_value)* ;
dim_value : (NUMBER | WORD | '-' | '.' | '*' | WHITESPACE | ':'| '~' | ',' | '|' | '%' | '_')+ ;
/* LEXER RULES */
fragment A : ('a'|'A') ;
fragment C : ('c'|'C') ;
fragment D : ('d'|'D') ;
fragment E : ('e'|'E') ;
fragment F : ('f'|'F') ;
fragment H : ('h'|'H') ;
fragment I : ('i'|'I') ;
fragment L : ('l'|'L') ;
fragment M : ('m'|'M') ;
fragment N : ('n'|'N') ;
fragment O : ('o'|'O') ;
fragment R : ('r'|'R') ;
fragment S : ('s'|'S') ;
fragment U : ('u'|'U') ;
fragment W : ('w'|'W') ;
fragment X : ('x'|'X') ;
fragment Y : ('y'|'Y') ;
fragment DIGIT : [0-9] ;
fragment LOWERCASE : [a-z] ;
fragment UPPERCASE : [A-Z] ;
WHERE : W H E R E ;
AND : A N D ;
INCLUDES : I N C L U D E S ;
EXCLUDES : E X C L U D E S ;
OR : O R ;
DYNAMIC : D Y N A M I C ;
OF : O F ;
SINCE : S I N C E ;
OPERATOR : ('<' | '<=' | '=' | '>=' | '>' | '!=' | '><') ;
NUMBER : DIGIT+ ([.,] DIGIT+)? ;
QUOTE : ('\'' | '"') ;
WHITESPACE : (' ' | '\t')+ ;
NEWLINE : ('\r'? '\n' | '\r')+ ;
WORD : (LOWERCASE | UPPERCASE | DIGIT | '_' )+ ;
| 28.612245
| 159
| 0.462553
|
86c91f5f2624aff2ac5abae9ec2b758541e01e7d
| 250
|
g4
|
ANTLR
|
presto-lucene/src/main/resources/LucenePushDown.g4
|
photogamerun/weiwodb
|
6768496f0b6aa1e8d6f486e71e4711a1a3432c84
|
[
"Apache-2.0"
] | 1
|
2020-06-19T13:33:45.000Z
|
2020-06-19T13:33:45.000Z
|
presto-lucene/src/main/resources/LucenePushDown.g4
|
photogamerun/weiwodb
|
6768496f0b6aa1e8d6f486e71e4711a1a3432c84
|
[
"Apache-2.0"
] | null | null | null |
presto-lucene/src/main/resources/LucenePushDown.g4
|
photogamerun/weiwodb
|
6768496f0b6aa1e8d6f486e71e4711a1a3432c84
|
[
"Apache-2.0"
] | 2
|
2019-03-01T05:03:41.000Z
|
2019-04-16T06:13:26.000Z
|
grammar LucenePushDown;
expr :(String)
|expr op=(AND|OR|NOT) expr
| LPAREN expr RPAREN
;
RPAREN : ')' ;
LPAREN : '(' ;
AND :'[AND]';
OR :'[OR]';
NOT :'[NOT]';
String : '\'' ( ~'\'' | '\'\'' )* '\'';
WS : [ \t\r\n]+ -> channel(HIDDEN) ;
| 17.857143
| 40
| 0.468
|
e940b5aec87cdd998a9b6aaae2abb78be4a3aebe
| 12,521
|
g4
|
ANTLR
|
src/RulesDoer.Core/Expressions/FEEL/FEELRule.g4
|
jagalembu/RulesDoer
|
586085b9e3fda5901a911085ff533ab254e388b0
|
[
"BSD-3-Clause"
] | 4
|
2019-04-22T18:55:43.000Z
|
2022-03-22T06:56:16.000Z
|
src/RulesDoer.Core/Expressions/FEEL/FEELRule.g4
|
jagalembu/RulesDoer
|
586085b9e3fda5901a911085ff533ab254e388b0
|
[
"BSD-3-Clause"
] | 9
|
2019-09-10T23:43:00.000Z
|
2019-09-15T17:39:52.000Z
|
src/RulesDoer.Core/Expressions/FEEL/FEELRule.g4
|
jagalembu/RulesDoer
|
586085b9e3fda5901a911085ff533ab254e388b0
|
[
"BSD-3-Clause"
] | 2
|
2019-04-18T18:46:57.000Z
|
2020-12-18T15:06:11.000Z
|
parser grammar FEELRule;
options {
tokenVocab = FEELLexer;
}
@header {
using RulesDoer.Core.Runtime.Context;
using RulesDoer.Core.Expressions.FEEL.Ast;
using RulesDoer.Core.Expressions.FEEL.Ast.Elements.Literal;
using RulesDoer.Core.Expressions.FEEL.Ast.Elements.Comparison;
using RulesDoer.Core.Expressions.FEEL.Ast.Elements.Logic;
using RulesDoer.Core.Expressions.FEEL.Ast.Elements.Maths;
using RulesDoer.Core.Expressions.FEEL.Ast.Elements.Match;
using RulesDoer.Core.Expressions.FEEL.Ast.Elements.Function;
using RulesDoer.Core.Expressions.FEEL.Ast.Elements.Boxed;
using RulesDoer.Core.Expressions.FEEL.Ast.Elements.EvalTest;
using RulesDoer.Core.Expressions.FEEL.Ast.Elements.Statement;
using RulesDoer.Core.Expressions.FEEL.Ast.Elements;
}
@parser::members {
}
//base rule
simpleExpressionsBase
returns[IExpression ast]:
simpleExpressions {$ast = $simpleExpressions.ast;} EOF;
expressionBase
returns[IExpression ast]:
expression {$ast = $expression.ast;} EOF;
unaryTestsBase
returns[ITestExpression ast]:
unaryTests {$ast = $unaryTests.ast;} EOF;
simpleUnaryTestsBase
returns[ITestExpression ast]:
simpleUnaryTests {$ast = $simpleUnaryTests.ast;} EOF;
//expression
// a. for expression | if expression | quantified expression | b. disjunction | c. conjunction | d.
// comparison | e. arithmetic expression | f. instance of | g. path expression | filter expression |
// function invocation | h. literal | simple positive unary test | name | "(" , textual expression ,
// ")" ;
expression
returns[IExpression ast]:
PAREN_OPEN expression {$ast = $expression.ast;} PAREN_CLOSE
| token = identifier {$ast = new Name($token.textVal);}
| simplePositiveUnaryTest {$ast = new TestWrapper($simplePositiveUnaryTest.ast);}
| lit = literal {$ast = $lit.ast;}
| function = expression pm = parameters {$ast = new FunctionInvocation($function.ast, $pm.ast);
}
| left = expression BRACKET_OPEN filter = expression BRACKET_CLOSE {$ast = new Filter($left.ast, $filter.ast);
}
| parent = expression DOT child = NAME {$ast = new PathExpression($parent.ast, $child.text);
}
| expr = expression INSTANCE_OF typeIs {$ast = new InstanceOf($expr.ast, $typeIs.ast);
}
| (MINUS) expr = expression {$ast = new ArithmeticNegation($expr.ast);}
| left = expression STAR_STAR right = expression {$ast = new Exponentiation($left.ast, $right.ast);
}
| left = expression op = (STAR | FORWARD_SLASH) right = expression {if ($op.text == "*") {$ast = new Multiplication($left.ast, $right.ast);}
else {$ast = new Division($left.ast, $right.ast);}
}
| left = expression op = (PLUS | MINUS) right = expression {if ($op.text == "+") {$ast = new Addition($left.ast, $right.ast);} else {$ast = new Subtraction($left.ast, $right.ast);}
}
| as1 = expression {var opEnum = OperatorEnum.NF;} (
op = EQ { opEnum = OperatorEnum.EQ;}
| op = NE { opEnum = OperatorEnum.NE;}
| op = LT { opEnum = OperatorEnum.LT;}
| op = GT { opEnum = OperatorEnum.GT;}
| op = LE { opEnum = OperatorEnum.LE;}
| op = GE { opEnum = OperatorEnum.GE;}
) as2 = expression {$ast = new Relational(opEnum, $as1.ast, $as2.ast);}
| as1 = expression BETWEEN left = expression AND right = expression {$ast = new Between($as1.ast, $left.ast, $right.ast);
}
| as1 = expression IN pu = positiveUnaryTest { $ast = new In($as1.ast, $pu.ast);
}
| as1 = expression IN PAREN_OPEN pus = positiveUnaryTests PAREN_CLOSE {$ast = new In($as1.ast, $pus.ast);
}
| left = expression AND right = expression {$ast = new Conjuction($left.ast, $right.ast);
}
| left = expression OR right = expression {$ast = new Disjunction($left.ast, $right.ast);
}
| IF cond = expression THEN thenexpr = expression ELSE elseexpr = expression {$ast = new IfStatement($cond.ast, $thenexpr.ast, $elseexpr.ast);
}
| {List<IExpression> iterExpr = new List<IExpression>();} (
op = SOME
| op = EVERY
) var = identifier IN items = expression {iterExpr.Add(new IteratorExpression($var.text, $items.ast ));
} (
COMMA var = identifier IN items = expression {iterExpr.Add(new IteratorExpression($var.text, $items.ast ));
}
)* SATISFIES pred = expression {$ast = new QuantifiedStatement($op.text, iterExpr, $pred.ast);
}
| {List<IExpression> iterExpr = new List<IExpression>();} FOR var = identifier IN {IExpression end = null;
} startexp = expression (
DOT_DOT endexp = expression {end = $endexp.ast;}
)? {iterExpr.Add(new RangeIterator($var.text, $startexp.ast, end));} (
COMMA var = identifier IN {end = null;} startexp = expression (
DOT_DOT endexp = expression {end = $endexp.ast;}
)? {iterExpr.Add(new RangeIterator($var.text, $startexp.ast, end));}
)* RETURN rtn = expression {$ast = new ForStatement(iterExpr, $rtn.ast);}
| boxedExpression {$ast = $boxedExpression.ast;};
//tests
simpleUnaryTests
returns[ITestExpression ast]:
NOT PAREN_OPEN simplePositiveUnaryTests PAREN_CLOSE {$ast = new NotTest($simplePositiveUnaryTests.ast);
}
| MINUS {$ast = new AnyTest();}
| simplePositiveUnaryTests {$ast = $simplePositiveUnaryTests.ast;};
simplePositiveUnaryTest
returns[ITestExpression ast]:
(
{var opEnum = OperatorEnum.NF;} (
op = LT { opEnum = OperatorEnum.LT;}
| op = GT { opEnum = OperatorEnum.GT;}
| op = LE { opEnum = OperatorEnum.LE;}
| op = GE { opEnum = OperatorEnum.GE;}
)? endpoint {$ast = new OperatorTest(opEnum, $endpoint.ast);}
)
| interval {$ast = $interval.ast;};
interval
returns[ITestExpression ast]:
startNotation = intervalStartPar leftVal = endpoint DOT_DOT rightVal = endpoint endNotation =
intervalEndPar {$ast = new IntervalTest($startNotation.text, $endNotation.text, $leftVal.ast, $rightVal.ast);
};
simplePositiveUnaryTests
returns[ITestExpression ast]:
{List<ITestExpression> expressions = new List<ITestExpression>();} st = simplePositiveUnaryTest
{expressions.Add($st.ast);
} (
COMMA st = simplePositiveUnaryTest {expressions.Add($st.ast);}
)* {$ast = new SimplePositiveUnaryTests(expressions);};
positiveUnaryTest
returns[ITestExpression ast]:
expression {$ast = new PositiveUnaryTest($expression.ast);};
positiveUnaryTests
returns[ITestExpression ast]:
{List<ITestExpression> expressions = new List<ITestExpression>();} pt = positiveUnaryTest {expressions.Add($pt.ast);
} (COMMA pt = positiveUnaryTest {expressions.Add($pt.ast);})* {$ast = new PositiveUnaryTests(expressions);
};
unaryTests
returns[ITestExpression ast]:
MINUS {$ast = new AnyTest();}
| NOT PAREN_OPEN positiveUnaryTests PAREN_CLOSE {$ast = new NotTest($positiveUnaryTests.ast);}
| positiveUnaryTests {$ast = $positiveUnaryTests.ast;};
//boxed expression
boxedExpression
returns[IExpression ast]:
list {$ast = $list.ast;}
| functionDefinition {$ast = $functionDefinition.ast;}
| context {$ast = $context.ast;};
list
returns[IExpression ast]:
{List<IExpression> expressions = new List<IExpression>();} BRACKET_OPEN (
exp = expression {expressions.Add($exp.ast);} (
COMMA exp = expression {expressions.Add($exp.ast);}
)*
)? BRACKET_CLOSE {$ast = new ListLiteral(expressions);};
functionDefinition
returns[IExpression ast]:
{List<IExpression> parameters = new List<IExpression>();} {bool external = false;} FUNCTION
PAREN_OPEN (
param = formalParameter {parameters.Add($param.ast);} (
COMMA param = formalParameter {parameters.Add($param.ast);}
)*
)? PAREN_CLOSE (EXTERNAL {external = true;})? body = expression {$ast = new UserDefinedFunction(parameters, $body.ast, external);
};
formalParameter
returns[IExpression ast]:
{IExpression typeIsName = null; } name = parameterName (
COLON type = typeIs {typeIsName = $type.ast;}
)? {$ast = new FormalParameter($name.text, typeIsName);};
context
returns[IExpression ast]:
{List<IExpression> cnEntries = new List<IExpression>();} BRACE_OPEN (
contextEntry {cnEntries.Add($contextEntry.ast);} (
COMMA contextEntry {cnEntries.Add($contextEntry.ast);}
)*
)? BRACE_CLOSE {$ast = new ContextBoxed(cnEntries);};
contextEntry
returns[IExpression ast]:
key COLON expression {$ast = new ContextEntryBoxed($key.textVal, $expression.ast);};
//simple expression
simpleExpressions
returns[IExpression ast]:
{List<IExpression> exprList = new List<IExpression>();} simpleExpression {exprList.Add($simpleExpression.ast);
} (COMMA exp = simpleExpression {exprList.Add($exp.ast);})* {$ast = new ManyExpressions(exprList);
};
simpleExpression
returns[IExpression ast]:
PAREN_OPEN simpleExpression {$ast = $simpleExpression.ast;} PAREN_CLOSE
| simpleValue {$ast = $simpleValue.ast; }
| (MINUS) expr = simpleExpression {$ast = new ArithmeticNegation($expr.ast);}
| left = simpleExpression STAR_STAR right = simpleExpression {$ast = new Exponentiation($left.ast, $right.ast);
}
| left = simpleExpression op = (STAR | FORWARD_SLASH) right = simpleExpression {if ($op.text == "*") {$ast = new Multiplication($left.ast, $right.ast);}
else {$ast = new Division($left.ast, $right.ast);}
}
| left = simpleExpression op = (PLUS | MINUS) right = simpleExpression {if ($op.text == "+") {$ast = new Addition($left.ast, $right.ast);} else {$ast = new Subtraction($left.ast, $right.ast);}
}
| function = simpleExpression pm = parameters {$ast = new FunctionInvocation($function.ast, $pm.ast);
};
//Function Invocation
parameters
returns[IExpression ast]:
PAREN_OPEN (
(namedParameters {$ast = $namedParameters.ast;})
| (
positionalParameters {$ast = $positionalParameters.ast;}
)
) PAREN_CLOSE;
namedParameters
returns[IExpression ast]:
{Dictionary<string, IExpression> parameters = new Dictionary<string, IExpression>();} name =
parameterName COLON value = expression {parameters.Add($name.text, $value.ast);} (
COMMA name = parameterName COLON value = expression {parameters.Add($name.text, $value.ast);
}
)* {$ast = new NamedParameters(parameters);};
positionalParameters
returns[IExpression ast]:
{List<IExpression> parameters = new List<IExpression>();} (
param = expression {parameters.Add($param.ast);} (
COMMA param = expression {parameters.Add($param.ast);}
)*
)? {$ast = new PositionalParameters(parameters);};
//Literals
endpoint
returns[IExpression ast]:
simpleValue {$ast = $simpleValue.ast;};
simpleValue
returns[IExpression ast]:
(simpleLiteral {$ast = $simpleLiteral.ast; })
| ( qualifiedName {$ast = $qualifiedName.ast; });
typeIs
returns[IExpression ast]:
qualifiedName {$ast = new TypeIs($qualifiedName.ast);};
qualifiedName
returns[IExpression ast]:
{List<string> namelist = new List<string>();} name = identifier {namelist.Add($name.textVal);} (
DOT name = identifier {namelist.Add($name.textVal);}
)* {$ast = new QualifiedName(namelist);};
literal
returns[IExpression ast]: (
simpleLiteral {$ast = $simpleLiteral.ast; }
)
| ( NULL {$ast = new NullLiteral();});
simpleLiteral
returns[IExpression ast]:
(numericLiteral {$ast = $numericLiteral.ast; })
| ( stringLiteral {$ast = $stringLiteral.ast; })
| ( booleanLiteral {$ast = $booleanLiteral.ast; })
| ( dateTimeLiteral {$ast = $dateTimeLiteral.ast; });
dateTimeLiteral
returns[IExpression ast]:
(kind = identifier) PAREN_OPEN dateString = stringLiteral {$ast = new DateTimeLiteral($kind.text, $dateString.ast);
} PAREN_CLOSE;
identifier
returns[string textVal]:
{var nameList = new List<string>();} (
token = NAME {nameList.Add($token.text);} (
token2 = NAME {nameList.Add($token2.text);}
)*
) {$textVal = NameTokenHelper.BuildNameToken(nameList);}
| token = NOT {$textVal = $token.text;};
stringLiteral
returns[IExpression ast]:
lit = STRING {$ast = new StringLiteral( $lit.text);};
booleanLiteral
returns[IExpression ast]: (
lit = TRUE {$ast = new BooleanLiteral( $lit.text);}
| lit = FALSE {$ast = new BooleanLiteral( $lit.text);}
);
numericLiteral
returns[IExpression ast]:
lit = NUMBER {$ast = new NumericLiteral( $lit.text);};
intervalStartPar
returns[string textVal]:
(token = PAREN_OPEN {$textVal = $token.text;})
| ( token = BRACKET_CLOSE {$textVal = $token.text;})
| ( token = BRACKET_OPEN {$textVal = $token.text;});
intervalEndPar
returns[string textVal]:
(token = PAREN_CLOSE {$textVal = $token.text;})
| ( token = BRACKET_OPEN {$textVal = $token.text;})
| ( token = BRACKET_CLOSE {$textVal = $token.text;});
parameterName
returns[string textVal]:
token = identifier {$textVal = $token.text;};
key
returns[string textVal]:
stringLiteral {var stringLitVar = $stringLiteral.ast.Execute(); $textVal = ((Variable)stringLitVar).StringVal;
}
| identifier {$textVal = $identifier.textVal;};
| 37.488024
| 193
| 0.709608
|
650abd51e32351c5033e774012beda313efd8004
| 4,574
|
g4
|
ANTLR
|
heroic-parser/src/main/antlr4/com/spotify/heroic/grammar/HeroicQuery.g4
|
Diffblue-benchmarks/heroic
|
35ab72485ac6b6e5e018dc9a784d3495fef675b3
|
[
"Apache-2.0"
] | null | null | null |
heroic-parser/src/main/antlr4/com/spotify/heroic/grammar/HeroicQuery.g4
|
Diffblue-benchmarks/heroic
|
35ab72485ac6b6e5e018dc9a784d3495fef675b3
|
[
"Apache-2.0"
] | null | null | null |
heroic-parser/src/main/antlr4/com/spotify/heroic/grammar/HeroicQuery.g4
|
Diffblue-benchmarks/heroic
|
35ab72485ac6b6e5e018dc9a784d3495fef675b3
|
[
"Apache-2.0"
] | null | null | null |
grammar HeroicQuery;
statements
: (statement StatementSeparator)* statement? EOF
;
statement
: Let expr Eq query #LetStatement
| query #QueryStatemnet
;
expressionOnly
: expr EOF
;
filterOnly
: filter EOF
;
query
: select from? where? with? as?
;
select
: Mul # SelectAll
| expr # SelectExpression
;
from
: From Identifier sourceRange?
;
where
: Where filter
;
with
: With keyValues
;
as
: As keyValues
;
keyValues
: keyValue (Comma keyValue)*
;
filter
: LParen filter RParen #FilterPrecedence
| filter Or filter #FilterOr
| filter And filter #FilterAnd
| expr Eq expr #FilterEq
| expr NotEq expr #FilterNotEq
| SKey Eq expr #FilterKeyEq
| SKey NotEq expr #FilterKeyNotEq
| Plus expr #FilterHas
| expr Prefix expr #FilterPrefix
| expr NotPrefix expr #FilterNotPrefix
| expr Regex expr #FilterRegex
| expr NotRegex expr #FilterNotRegex
| expr In expr #FilterIn
| expr Not In expr #FilterNotIn
| (True | False) #FilterBoolean
| Bang filter #FilterNot
;
string
: QuotedString
| SimpleString
| Identifier
;
keyValue
: Identifier Eq expr
;
expr
: LParen expr RParen #ExpressionPrecedence
| Duration #ExpressionDuration
| Integer #ExpressionInteger
| Float #ExpressionFloat
| string #ExpressionString
| Reference #ExpressionReference
| LCurly TimeLiteral RCurly #ExpressionTime
| LCurly DateTimeLiteral RCurly #ExpressionDateTime
| LBracket (expr (Comma expr)*)? RBracket #ExpressionList
| LCurly (expr (Comma expr)*)? RCurly #ExpressionList
| Minus expr #ExpressionNegate
| expr (Div | Mul) expr #ExpressionDivMul
| expr (Plus | Minus) expr #ExpressionPlusMinus
| expr By expr #AggregationBy
| expr By Mul #AggregationByAll
| expr (Pipe expr)+ #AggregationPipe
| Identifier (LParen functionArguments RParen)? #ExpressionFunction
;
functionArguments
: expr (Comma expr)* (Comma keyValue)*
| keyValue (Comma keyValue)*
;
sourceRange
: LParen expr RParen #SourceRangeRelative
| LParen expr Comma expr RParen #SourceRangeAbsolute
;
// keywords (must come before SimpleString!)
Let : 'let' ;
As : 'as' ;
True : 'true' ;
False : 'false' ;
Where : 'where' ;
With : 'with' ;
From : 'from' ;
Or : 'or' ;
And : 'and' ;
Not : 'not' ;
In : 'in' ;
By : 'by' ;
Plus : '+' ;
Minus : '-' ;
Div : '/' ;
Mul : '*' ;
Eq : '=' ;
Regex : '~' ;
NotRegex : '!~' ;
Prefix : '^' ;
NotPrefix : '!^' ;
Bang : '!' ;
NotEq : '!=' ;
StatementSeparator : ';' ;
Comma : ',' ;
LParen : '(' ;
RParen : ')' ;
LCurly : '{' ;
RCurly : '}' ;
LBracket : '[' ;
RBracket : ']' ;
Pipe : '|' ;
SKey : '$key' ;
// Only HH:MM:ss.SSS
TimeLiteral
: [0-9]+ ':' [0-9]+ (':' [0-9]+ ('.' [0-9]+)? )?
;
// yyyy-MM-dd + TimeLiteral
DateTimeLiteral
: [0-9]+ '-' [0-9]+ '-' [0-9]+ (' ' TimeLiteral )?
;
Reference : '$' [a-zA-Z] [a-zA-Z0-9]* ;
QuotedString : '"' StringCharacters? '"' ;
Identifier : [a-zA-Z] [a-zA-Z0-9]* ;
Duration
: Minus? Integer Unit
;
Integer
: Minus? Digits
;
Float
: Minus? Digits '.' Digits?
| Minus? '.' Digits
;
// strings that do not have to be quoted
SimpleString
: [a-zA-Z0-9:/_\-\.]+
;
fragment
StringCharacters
: StringCharacter+
;
fragment
StringCharacter
: ~["\\]
| EscapeSequence
;
fragment
EscapeSequence
: '\\' [btnfr"'\\]
| '\\u' [0-9a-f][0-9a-f][0-9a-f][0-9a-f]
;
fragment
Unit
: 'ms'
| 's'
| 'm'
| 'H' | 'h'
| 'd'
| 'w'
| 'M'
| 'y'
;
fragment
Digits
: [0-9]+
;
LineComment
: '#' ~[\r\n]* -> skip
;
Whitespace
: [ \t\n\r]+ -> skip
;
// is used to specifically match string where the end quote is missing
UnterminatedQutoedString : '"' StringCharacters? ;
// match everything else so that we can handle errors in the parser.
ErrorChar
: .
;
| 17.728682
| 73
| 0.513118
|
7b5accdec1f28dd48750e9f1ebb1cbf84b13ce76
| 4,278
|
g4
|
ANTLR
|
grammars/pseudocode.g4
|
mohsinhassaan/pseudocode-interpreter
|
2079620b181a6a7ad8ff6fbc6b4aaea5ed8d3b87
|
[
"MIT"
] | 2
|
2022-01-15T06:06:41.000Z
|
2022-02-18T04:16:06.000Z
|
grammars/pseudocode.g4
|
mohsinhassaan/pseudocode-interpreter
|
2079620b181a6a7ad8ff6fbc6b4aaea5ed8d3b87
|
[
"MIT"
] | null | null | null |
grammars/pseudocode.g4
|
mohsinhassaan/pseudocode-interpreter
|
2079620b181a6a7ad8ff6fbc6b4aaea5ed8d3b87
|
[
"MIT"
] | null | null | null |
grammar pseudocode;
prog: line+ EOF;
line: (statement COMMENT? | COMMENT);
statement:
pass
| ifstmt
| casestmt
| forstmt
| whilestmt
| repeatstmt
| funcstmt
| procstmt
| callstmt
| inputstmt
| printstmt
| constdecl
| vardecl
| arraydecl
| letstmt
| expression;
pass: PASS;
constdecl: CONSTANT varname EQ expression;
vardecl: DECLARE varname COLON type;
arraydecl: DECLARE varname COLON (oneDimArray | twoDimArray);
oneDimArray: ARRAY LBRACKET range RBRACKET OF type;
twoDimArray: ARRAY LBRACKET range COMMA range RBRACKET OF type;
range: intLiteral COLON intLiteral;
printstmt: OUTPUT printlist?;
printlist: expression (COMMA expression?)*;
letstmt: LET? variableassignment;
variableassignment: var ARROW expression;
casestmt:
CASE OF var (caseclause | rangeClause)+ otherwiseClause? endcasestmt;
caseclause: expression COLON statement+;
rangeClause: expression (TO literal)? COLON statement+;
otherwiseClause: OTHERWISE COLON statement+;
endcasestmt: ENDCASE;
ifstmt: IF expression thenstmt elsestmt? endifstmt;
thenstmt: THEN statement+;
elsestmt: ELSE statement+;
endifstmt: ENDIF;
forstmt: FOR variableassignment to step? statement+ nextstmt;
to: TO expression;
step: STEP expression;
nextstmt: NEXT varlist?;
whilestmt: WHILE expression statement+ endwhilestmt;
endwhilestmt: ENDWHILE;
repeatstmt: REPEAT statement+ untilstmt;
untilstmt: UNTIL expression;
inputstmt: INPUT varname;
callstmt: CALL varname (LPAREN arglist? RPAREN)?;
funcstmt:
FUNCTION varname (LPAREN arglist? RPAREN) RETURNS type (
statement
| returnstmt
)+ endfuncstmt;
endfuncstmt: ENDFUNCTION;
procstmt:
PROCEDURE varname (LPAREN arglist? RPAREN)? statement+ endprocstmt;
endprocstmt: ENDPROCEDURE;
returnstmt: RETURN expression;
// expressions and such
func: literal | funcCall | var | (LPAREN expression RPAREN);
funcCall: varname LPAREN exprlist? RPAREN;
arrayaccess:
varname LBRACKET expression RBRACKET
| varname LBRACKET expression RBRACKET;
relop: (GTE)
| (GT EQ)
| (EQ GT)
| LTE
| (LT EQ)
| (EQ LT)
| neq
| EQ
| GT
| LT;
neq: LT GT;
literal:
strLiteral
| charLiteral
| intLiteral
| realLiteral
| boolLiteral;
strLiteral: STRINGLITERAL;
intLiteral: INTEGERLITERAL;
realLiteral: REALLITERAL;
boolLiteral: BOOLEANLITERAL;
charLiteral: CHARLITERAL;
signExpression: NOT? (PLUS | MINUS)? func;
multiplyingExpression:
signExpression ((TIMES | DIV | MOD) signExpression)*;
addingExpression:
multiplyingExpression ((PLUS | MINUS) multiplyingExpression)*;
relationalExpression:
addingExpression ((relop) addingExpression)?
| BOOLEANLITERAL;
expression:
func
| (relationalExpression ((AND | OR) relationalExpression)*);
var: varname | arrayaccess;
varname: VARNAME;
varlist: (var (COMMA var)*);
exprlist: expression (COMMA expression)*;
arglist: var COLON type (COMMA var COLON type)*;
type: INTEGER | REAL | CHAR | STRING | BOOLEAN;
PASS: 'PASS';
CONSTANT: 'CONSTANT';
DECLARE: 'DECLARE';
RETURN: 'RETURN';
OUTPUT: 'OUTPUT';
IF: 'IF';
NEXT: 'NEXT';
THEN: 'THEN';
ELSE: 'ELSE';
ENDIF: 'ENDIF';
CASE: 'CASE';
OF: 'OF';
OTHERWISE: 'OTHERWISE';
ENDCASE: 'ENDCASE';
LPAREN: '(';
RPAREN: ')';
LBRACKET: '[';
RBRACKET: ']';
PLUS: '+';
MINUS: '-';
TIMES: '*';
DIV: '/';
MOD: 'MOD';
GTE: '>= ';
LTE: '<= ';
GT: '>';
LT: '<';
COMMA: ',';
LET: 'LET';
EQ: '=';
ARROW: '<-';
FOR: 'FOR';
TO: 'TO';
STEP: 'STEP';
WHILE: 'WHILE';
DO: 'DO';
ENDWHILE: 'ENDWHILE';
REPEAT: 'REPEAT';
UNTIL: 'UNTIL';
INPUT: 'INPUT';
COLON: ':';
UNDERSCORE: '_';
CALL: 'CALL';
AND: 'AND';
OR: 'OR';
DEF: 'DEF';
FUNCTION: 'FUNCTION';
ENDFUNCTION: 'ENDFUNCTION';
PROCEDURE: 'PROCEDURE';
ENDPROCEDURE: 'ENDPROCEDURE';
RETURNS: 'RETURNS';
ARRAY: 'ARRAY';
NOT: 'NOT';
INTEGER: 'INTEGER';
REAL: 'REAL';
CHAR: 'CHAR';
STRING: 'STRING';
BOOLEAN: 'BOOLEAN';
COMMENT: '//' ~[\r\n]* -> skip;
STRINGLITERAL: '"' ~ ["\r\n]* '"';
CHARLITERAL: '\'' ('\\' [rntf\\] | ~ ['\r\n\t\f]*) '\'';
INTEGERLITERAL: SIGN? ('0' .. '9')+;
REALLITERAL: SIGN? ('0' .. '9')* '.' ('0' .. '9')+;
BOOLEANLITERAL: 'TRUE' | 'FALSE';
SIGN: '+' | '-';
VARNAME: (LETTERS | UNDERSCORE) (LETTERS | UNDERSCORE | NUMBERS)*;
LETTERS: ('a' .. 'z' | 'A' .. 'Z')+;
NUMBERS: ('0' .. '9')+;
WS: [ \r\n\t]+ -> channel (HIDDEN);
| 14.452703
| 70
| 0.678822
|
c59c1716d984b17042d0f6bbac207d6bd8645c1d
| 196
|
g4
|
ANTLR
|
sharding-core/src/main/antlr4/imports/PostgreSQLCreateIndex.g4
|
chuanandongxu/sharding-sphere
|
d40f410ff5f63c5c8ab24c12d0453b059bdd82af
|
[
"Apache-2.0"
] | null | null | null |
sharding-core/src/main/antlr4/imports/PostgreSQLCreateIndex.g4
|
chuanandongxu/sharding-sphere
|
d40f410ff5f63c5c8ab24c12d0453b059bdd82af
|
[
"Apache-2.0"
] | null | null | null |
sharding-core/src/main/antlr4/imports/PostgreSQLCreateIndex.g4
|
chuanandongxu/sharding-sphere
|
d40f410ff5f63c5c8ab24c12d0453b059bdd82af
|
[
"Apache-2.0"
] | null | null | null |
grammar PostgreSQLCreateIndex;
import PostgreSQLKeyword, Keyword, PostgreSQLBase, BaseRule;
createIndex
: CREATE UNIQUE? INDEX CONCURRENTLY? ((IF NOT EXISTS)? indexName)? ON tableName
;
| 28
| 84
| 0.770408
|
1d67c12afd6d16adea08c5348da41a1fbe684cd9
| 747
|
g4
|
ANTLR
|
legend-engine-external-shared-format-model/src/main/antlr4/org/finos/legend/engine/language/pure/grammar/from/antlr4/ExternalFormatLexerGrammar.g4
|
dave-wathen/legend-engine
|
65c984c5774c27ac2f83eb957f016ca61010fea1
|
[
"Apache-2.0"
] | 32
|
2020-10-19T21:44:25.000Z
|
2022-02-14T09:27:50.000Z
|
legend-engine-external-shared-format-model/src/main/antlr4/org/finos/legend/engine/language/pure/grammar/from/antlr4/ExternalFormatLexerGrammar.g4
|
dave-wathen/legend-engine
|
65c984c5774c27ac2f83eb957f016ca61010fea1
|
[
"Apache-2.0"
] | 90
|
2020-10-19T11:24:26.000Z
|
2022-03-30T12:07:00.000Z
|
legend-engine-external-shared-format-model/src/main/antlr4/org/finos/legend/engine/language/pure/grammar/from/antlr4/ExternalFormatLexerGrammar.g4
|
dave-wathen/legend-engine
|
65c984c5774c27ac2f83eb957f016ca61010fea1
|
[
"Apache-2.0"
] | 132
|
2020-10-19T12:10:51.000Z
|
2022-03-31T18:44:30.000Z
|
lexer grammar ExternalFormatLexerGrammar;
import CoreLexerGrammar;
// -------------------------------------- KEYWORD --------------------------------------
SCHEMA_SET: 'SchemaSet';
IMPORT: 'import';
FORMAT: 'format';
SCHEMAS: 'schemas';
SCHEMA_ID: 'id';
SCHEMA_LOCATION: 'location';
SCHEMA_CONTENT: 'content';
BINDING: 'Binding';
SCHEMA_SET_REF: 'schemaSet';
SCHEMA_ID_REF: 'schemaId';
CONTENT_TYPE: 'contentType';
MODEL_INCLUDES: 'modelIncludes';
MODEL_EXCLUDES: 'modelExcludes';
| 35.571429
| 88
| 0.420348
|
8642dd29a783609ab532418af94a9ea7c7960911
| 536
|
g4
|
ANTLR
|
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco/Cisco_hsrp.g4
|
sskausik08/Wilco
|
fffe13512522c846df6623596b32f40de98c0704
|
[
"Apache-2.0"
] | 1
|
2021-01-24T00:35:36.000Z
|
2021-01-24T00:35:36.000Z
|
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco/Cisco_hsrp.g4
|
sskausik08/Wilco
|
fffe13512522c846df6623596b32f40de98c0704
|
[
"Apache-2.0"
] | null | null | null |
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco/Cisco_hsrp.g4
|
sskausik08/Wilco
|
fffe13512522c846df6623596b32f40de98c0704
|
[
"Apache-2.0"
] | null | null | null |
parser grammar Cisco_hsrp;
import Cisco_common;
options {
tokenVocab = CiscoLexer;
}
router_hsrp_stanza
:
ROUTER HSRP NEWLINE router_hsrp_if+
;
router_hsrp_if
:
INTERFACE interface_name NEWLINE router_hsrp_if_af+
;
router_hsrp_if_af
:
ADDRESS_FAMILY
(
IPV4
| IPV6
) NEWLINE HSRP DEC? NEWLINE router_hsrp_if_af_tail+
;
router_hsrp_if_af_tail
:
(
AUTHENTICATION
| ADDRESS
| PREEMPT
| PRIORITY
| TIMERS
| TRACK OBJECT
| VERSION DEC
) ~NEWLINE* NEWLINE
;
| 13.073171
| 54
| 0.669776
|
9cd84b83e61d4b0b7d334fb0549c4a745ac801dd
| 3,557
|
g4
|
ANTLR
|
supported_grammars/pegen/pegen_v3_10Lexer.g4
|
kaby76/Domemtech.TrashBase
|
352bfae5458aad89eb096393008d82dac74865b5
|
[
"MIT"
] | 1
|
2021-07-08T19:53:32.000Z
|
2021-07-08T19:53:32.000Z
|
supported_grammars/pegen/pegen_v3_10Lexer.g4
|
kaby76/Domemtech.TrashBase
|
352bfae5458aad89eb096393008d82dac74865b5
|
[
"MIT"
] | 1
|
2022-01-12T22:19:28.000Z
|
2022-01-15T12:03:35.000Z
|
supported_grammars/pegen/pegen_v3_10Lexer.g4
|
kaby76/Domemtech.TrashBase
|
352bfae5458aad89eb096393008d82dac74865b5
|
[
"MIT"
] | null | null | null |
// Derived from https://www.python.org/dev/peps/pep-0617/
// Tokens assumed to be derived from https://raw.githubusercontent.com/python/cpython/3.10/Grammar/Tokens
// Ken Domino, 2 Sep 2021
lexer grammar pegen_v3_10Lexer;
options { superClass = Adaptor; }
MEMO: 'memo';
//ENDMARKER : '\n';
NAME: LETTER('_'|(DIGIT|LETTER))*;
fragment LETTER : CAPITAL | SMALL ;
fragment CAPITAL : [A-Z\u00C0-\u00D6\u00D8-\u00DE] ;
fragment SMALL : [a-z\u00DF-\u00F6\u00F8-\u00FF] ;
fragment DIGIT : [0-9] ;
NUMBER : DIGIT+;
STRING : '"' -> more, mode(STRINGMODE);
CHAR : '\'' -> more, mode(CHARMODE);
//NEWLINE : '\r\n';
//INDENT
//DEDENT
LPAR : '(';
RPAR : ')';
LSQB : '[';
RSQB : ']';
COLON : ':';
COMMA : ',';
SEMI : ';';
PLUS : '+';
MINUS : '-';
STAR : '*';
SLASH : '/';
VBAR : '|';
AMPER : '&';
LESS : '<';
GREATER : '>';
EQUAL : '=';
DOT : '.';
PERCENT : '%';
LBRACE : '{'; // -> pushMode(ACTION) ;
RBRACE : '}';
EQEQUAL : '==';
NOTEQUAL : '!=';
LESSEQUAL : '<=';
GREATEREQUAL : '>=';
TILDE : '~';
CIRCUMFLEX : '^';
LEFTSHIFT : '<<';
RIGHTSHIFT : '>>';
DOUBLESTAR : '**';
PLUSEQUAL : '+=';
MINEQUAL : '-=';
STAREQUAL : '*=';
SLASHEQUAL : '/=';
PERCENTEQUAL : '%=';
AMPEREQUAL : '&=';
VBAREQUAL : '|=';
CIRCUMFLEXEQUAL : '^=';
LEFTSHIFTEQUAL : '<<=';
RIGHTSHIFTEQUAL : '>>=';
DOUBLESTAREQUAL : '**=';
DOUBLESLASH : '//';
DOUBLESLASHEQUAL : '//=';
AT : '@';
ATEQUAL : '@=';
RARROW : '->';
ELLIPSIS : '...';
COLONEQUAL : ':=';
DOLLAR: '$';
BANG: '!';
QUESTION: '?';
//OP
//AWAIT
//ASYNC
//TYPE_IGNORE
//TYPE_COMMENT
//SOFT_KEYWORD
//ERRORTOKEN
// These aren't used by the C tokenizer but are needed for tokenize.py
COMMENT : '#' ~[\n\r]* -> channel(HIDDEN) ;
//NL
//ENCODING
WS_INLINE: Space+ -> channel(HIDDEN) ;
fragment Space : (' '| '\t' | '\n' | '\r' | '\f' | 'u2B7F' );
ErrorToken : . ;
// Escapable sequences
fragment
Escapable : ('"' | '\\' | 'n' | 't' | 'r' | 'f' | '\n' | '\r');
mode STRESCAPE;
STRESCAPED : Escapable -> more, popMode ;
mode STRINGMODE;
STRINGESC : '\\' -> more , pushMode(STRESCAPE);
STRINGEND : '"' -> type(STRING), mode(DEFAULT_MODE);
STRINGTEXT : (~["\\] | '""') -> more;
mode CHARESCAPE;
CHARESCAPED : Escapable -> more, popMode ;
mode CHARMODE;
CHARESC : '\\' -> more , pushMode(CHARESCAPE);
CHAREND : '\'' -> type(STRING), mode(DEFAULT_MODE);
CHARTEXT : ~['\\] -> more;
mode ACTION;
NESTED_ACTION : LBRACE -> type (ACTION_CONTENT) , pushMode (ACTION) ;
ACTION_ESCAPE : EscAny -> type (ACTION_CONTENT) ;
//ACTION_STRING_LITERAL : DQuoteLiteral -> type (ACTION_CONTENT) ;
//ACTION_CHAR_LITERAL : SQuoteLiteral -> type (ACTION_CONTENT) ;
//ACTION_DOC_COMMENT : DocComment -> type (ACTION_CONTENT) ;
//ACTION_BLOCK_COMMENT : BlockComment -> type (ACTION_CONTENT) ;
//ACTION_LINE_COMMENT : LineComment -> type (ACTION_CONTENT) ;
END_ACTION : RBRACE { this.handleEndAction(); } ;
UNTERMINATED_ACTION : EOF -> popMode ;
ACTION_CONTENT : . ;
fragment EscAny : Esc . ;
fragment Esc : '\\' ;
| 27.573643
| 105
| 0.499859
|
0e4ca3d917f80ca8337e4be7cf252291aecc4842
| 6,381
|
g4
|
ANTLR
|
icesquirrel-core/src/main/antlr4/org/iceparser/Squirrel.g4
|
rockfireredmoon/icesquirrel
|
06ff2f4180d43f29d51f28b27a9ec773a7a47f7c
|
[
"MIT"
] | 2
|
2017-03-17T14:57:11.000Z
|
2018-10-04T11:52:16.000Z
|
icesquirrel-core/src/main/antlr4/org/iceparser/Squirrel.g4
|
rockfireredmoon/icesquirrel
|
06ff2f4180d43f29d51f28b27a9ec773a7a47f7c
|
[
"MIT"
] | null | null | null |
icesquirrel-core/src/main/antlr4/org/iceparser/Squirrel.g4
|
rockfireredmoon/icesquirrel
|
06ff2f4180d43f29d51f28b27a9ec773a7a47f7c
|
[
"MIT"
] | null | null | null |
grammar Squirrel;
script
: stat* EOF
;
block
: '{' stat* '}'
;
stat
: STATSEP
| functioncall
| breakstat
| continuestat
| dowhileloop
| localvar
| whileloop
| ifstat
| forloop
| foreachloop
| namedfunction
| throwstat
| switchstat
| constdef
| enumdef
| classdef
| retstat
| block
| exp (COMMA exp)*
;
breakstat
: 'break'
;
continuestat
: 'continue'
;
switchstat
: 'switch' '(' exp ')' '{' ( ( switchcase+ defaultcase? ) | defaultcase )'}'
;
throwstat
: 'throw' exp
;
forloop
: 'for' '(' ( localvar | assignlist )? STATSEP exp? STATSEP exp? ')' stat
;
foreachloop
: 'foreach' '(' ( NAME COMMA )? NAME 'in' exp ')' stat
;
dowhileloop
: 'do' stat 'while' exp
;
whileloop
: 'while' exp stat
;
ifstat
: 'if' '(' exp ')' stat STATSEP? ( 'else' stat )?
;
constdef
: 'const' primitiveitem
;
enumdef
: 'enum' NAME ASSIGN enumconstructor
;
switchcase
: 'case' exp ':' stat*
;
defaultcase
: 'default' ':' stat+
;
funcname
: NAME ( '::' NAME)*
;
classstat
: classconstructor | classfunction | classassignlist | staticvar | STATSEP
;
staticvar
: 'static' declarelist
;
localvar
: 'local' declarelist
;
retstat
: 'return' exp? STATSEP?
;
explist
: exp (COMMA exp)+
;
exp
//: exp (COMMA exp)+
: '(' explist ')'
| '(' exp ')'
| number
| string
| delegate
| yield
| delete
| clone
| typeof
| functiondef
| functioncall
| assignlist
// | <assoc=right> assign
| exp 'in' exp
| tableconstructor
| arrayconstructor
| resume
| incexp
| operatorUnary exp
| exp operatorMulDivMod exp
| exp operatorAddSub exp
| exp operatorShiftLeft exp
| exp operatorShiftRight exp
| exp operatorShiftRightUnsigned exp
| exp operatorComparison exp
| <assoc=right> exp operatorBinAnd exp
| <assoc=right> exp operatorBinXor exp
| <assoc=right> exp operatorBinOr exp
| exp operatorAnd exp
| exp operatorOr exp
| exp '?' exp ':' exp
| log
;
/*
* Declare
*
* For when assigning a NAME to an expression (e.g. local, static)
*/
declare
: NAME ( ASSIGN exp )?
;
declarelist
: declare ( COMMA declare )+?
| declare
;
/*
* Class Assign
*
* For assigning values to instance variables in variables
*/
classassign
: attributesconstructor? assign
;
classassignlist
: classassign (COMMA classassign)*
;
/*
* Assign
*
* For when assigning values to already existing variables, such as in
* statements, for loop initializers
*/
assign
: var ( ASSIGN | NEW_SLOT ) exp
;
assignlist
: assign (COMMA assign)*?
;
/*
* Expressions
*/
resume
: 'resume' exp
;
clone
: 'clone' exp
;
delete
: 'delete' var
;
yield
: 'yield' exp
;
vargc
: 'vargc'
;
vargv
: 'vargv'
;
delegate
: 'delegate' exp ':' exp
;
typeof
: 'typeof' var
;
incexp
: ( (INC | DEC ) var ) | ( var ( INC | DEC ) ) | ( var INCVAL exp ) | ( var DECVAL exp )
;
log
: TRUE | FALSE | NULL | var
;
var
: ROOT? ( vargc | vargv | NAME | '(' exp ')' varSuffix ) varSuffix*
;
functioncall
: varOrExp nameAndArgs
;
varOrExp
: var | '(' exp ')'
;
nameAndArgs
: ('.' NAME)? args
;
varSuffix
: nameAndArgs* ('[' exp ']' | '.' NAME)
;
args
: '(' ( exp (COMMA exp)* )? ')'
;
namedfunction
: 'function' funcname funcargs stat
;
classfunction
: attributesconstructor? 'function' NAME funcargs stat
;
functiondef
: 'function' funcargs stat
;
nameonlylist
: NAME (COMMA NAME)*
;
name
: NAME (ASSIGN exp)?
;
namelist
: name (COMMA name)*
;
arglist
: namelist (COMMA VARARGS)? | VARARGS
;
funcargs
: '(' arglist? ')' (':(' nameonlylist ')')?
;
classdef
: 'class' var attributesconstructor? ( 'extends' var )? '{' classstat* '}'
;
classconstructor
: attributesconstructor? 'constructor' funcargs stat
;
arrayconstructor
: '[' (exp (COMMA exp)*)? ']'
;
attributesconstructor
: '</' tablerows? '/>'
;
tableconstructor
: '{' tablerows? '}'
;
enumconstructor
: '{' enumlist? '}'
;
enumlist
: primitiveitem (COMMA? primitiveitem)* COMMA?
;
primitiveitem
: NAME ASSIGN ( string | number )
;
tablerows
: tablerow (COMMA? tablerow)* COMMA?
;
tablerow
: '[' exp ']' ASSIGN exp | NAME ASSIGN exp | namedfunction
;
operatorOr
: '||';
operatorAnd
: '&&';
operatorBinXor
: '^' ;
operatorBinAnd
: '&' ;
operatorBinOr
: '|' ;
operatorShiftLeft
: '<<' ;
operatorShiftRight
: '>>' ;
operatorShiftRightUnsigned
: '>>>' ;
operatorComparison
: '<' | '>' | '<=' | '>=' | '!=' | '==' | 'instanceof';
operatorAddSub
: '+' | '-';
operatorMulDivMod
: '*' | '/' | '%';
operatorUnary
: '~' | '-' | '!';
number
: OCTAL | INT | HEX | FLOAT | CHAR
;
string
: NORMALSTRING | VERBATIMSTRING
;
// LEXER
TRUE
: 'true'
;
FALSE
: 'false'
;
NULL
: 'null'
;
ROOT
: '::'
;
NAME
: ( [a-zA-Z] | '_' )+ ( [a-zA-Z0-9] | '_' )*
;
NORMALSTRING
: '"' ( EscapeSequence | ~('\\'|'"') )* '"'
;
VERBATIMSTRING
: '@"' ( ~["] | '""')* '"' ;
OCTAL
: '0' Digit+
;
INT
: Digit+
;
HEX
: '0' [xX] HexDigit+
;
FLOAT
: Digit+ '.' Digit* ExponentPart?
| '.' Digit+ ExponentPart?
| Digit+ ExponentPart
;
CHAR
: '\'' Character '\''
;
COMMA
: ','
;
ASSIGN
: '='
;
NEW_SLOT
: '<-'
;
VARARGS
: '...'
;
STATSEP
: ';'
;
INC
: '++'
;
DEC
: '--'
;
INCVAL
: '+='
;
DECVAL
: '-='
;
fragment
Character
: ~['\\]
;
fragment
ExponentPart
: [eE] [+-]? Digit+
;
fragment
HexExponentPart
: [pP] [+-]? Digit+
;
fragment
EscapeSequence
: '\\' [abfnrtvz"'\\]
| '\\' '\r'? '\n'
| DecimalEscape
| HexEscape
;
fragment
DecimalEscape
: '\\' Digit
| '\\' Digit Digit
| '\\' [0-2] Digit Digit
;
fragment
HexEscape
: '\\' 'x' HexDigit HexDigit
;
fragment
Digit
: [0-9]
;
fragment
HexDigit
: [0-9a-fA-F]
;
COMMENT : '/*' .*? '*/' -> skip ;
LINE_COMMENT : '//' ~[\r\n]* -> skip ;
WS
: [ \t\u000C\r\n]+ -> skip
;
SHEBANG
: '#' '!' ~('\n'|'\r')* -> channel(HIDDEN)
;
| 12.462891
| 93
| 0.534086
|
923aa8a6e6f6cbffb0c58caa0f3f45d5cbc0af1e
| 48
|
g4
|
ANTLR
|
Antlr2BGF/Grammars/twocomments.g4
|
EwoutWal/ANTLR-Extractor
|
bf952f099d5aad09df864d6d3c9a219ffca05104
|
[
"MIT"
] | null | null | null |
Antlr2BGF/Grammars/twocomments.g4
|
EwoutWal/ANTLR-Extractor
|
bf952f099d5aad09df864d6d3c9a219ffca05104
|
[
"MIT"
] | null | null | null |
Antlr2BGF/Grammars/twocomments.g4
|
EwoutWal/ANTLR-Extractor
|
bf952f099d5aad09df864d6d3c9a219ffca05104
|
[
"MIT"
] | 1
|
2021-02-15T12:58:15.000Z
|
2021-02-15T12:58:15.000Z
|
/**
comment 1
**/
/**
comment 2
*/
grammar two;
| 6
| 12
| 0.541667
|
29dadf749f4aa5cd51226295a362b76e9590b8b0
| 2,819
|
g4
|
ANTLR
|
src/domains/story/grammar/Story.g4
|
grzesiek110/teststory
|
54bd2c9496f2270c4fdf18451da5313ad0de0eff
|
[
"MIT"
] | 10
|
2019-11-07T11:09:20.000Z
|
2021-11-09T02:24:11.000Z
|
src/domains/story/grammar/Story.g4
|
grzesiek110/teststory
|
54bd2c9496f2270c4fdf18451da5313ad0de0eff
|
[
"MIT"
] | 2
|
2020-04-01T20:12:32.000Z
|
2021-05-10T18:43:37.000Z
|
src/domains/story/grammar/Story.g4
|
grzesiek110/teststory
|
54bd2c9496f2270c4fdf18451da5313ad0de0eff
|
[
"MIT"
] | 3
|
2019-12-17T10:10:20.000Z
|
2020-10-14T09:58:13.000Z
|
grammar Story;
// Parser rules
model:
line*;
line:
(emptyLine | commandLine | unknownLine);
emptyLine:
WS? COMMENT? EOL;
commandLine:
WS? commmand endOfLine;
endOfLine:
EOL | EOF | COMMENT;
comment:
WS? COMMENT;
unknownLine:
WS? ~(FEATURE | SCENARIO | SCENARIO_OUTLINE | EXAMPLES | GIVEN | WHEN | THEN | AND) ~EOL*;
commmand:
feature |
scenario |
scenarioOutline |
given |
when |
then |
and;
feature:
featureKeyword WS sectionName;
featureKeyword:
FEATURE |
WRONG_FEATURE WS? ':'?;
scenario:
scenarioKeyword WS sectionName;
scenarioKeyword:
SCENARIO |
WRONG_SCENARIO WS? ':'?;
scenarioOutline:
scenarioOutlineKeyword WS sectionName;
scenarioOutlineKeyword:
SCENARIO_OUTLINE |
WRONG_SCENARIO_OUTLINE WS? ':'?;
examples:
examplesKeyword WS ;
examplesKeyword:
EXAMPLES |
WRONG_EXAMPLES WS? ':'?;
given:
givenKeyword WS expression;
givenKeyword:
GIVEN | WRONG_GIVEN;
when:
whenKeyword WS expression;
whenKeyword:
WHEN | WRONG_WHEN;
then:
thenKeyword WS expression;
thenKeyword:
THEN | WRONG_THEN;
and:
andKeyword WS expression;
andKeyword:
AND | WRONG_AND;
sectionName:
~(EOL | COMMENT)*
;
expression:
( expressionText | variableRef | staticValueSingle | staticValueDouble )*
;
expressionText:
~(EOL | REF_OPEN | SINGLE_QUOTE | DOUBLE_QUOTE | COMMENT)+
;
variableRef:
REF_OPEN WS? (variableName | wrongVariableName) WS? REF_CLOSE |
REF_OPEN WS? (variableName | wrongVariableName) WS?;
variableName:
VARIABLE_NAME;
wrongVariableName:
~(REF_CLOSE | EOL | COMMENT)*;
staticValueSingle:
SINGLE_QUOTE staticValue SINGLE_QUOTE?;
staticValueDouble:
DOUBLE_QUOTE staticValue DOUBLE_QUOTE?;
staticValue:
~(EOL | SINGLE_QUOTE | DOUBLE_QUOTE | COMMENT)*;
// Lexer rules
fragment POLISH_LETTER:
[\u0104\u0105\u0106\u0107\u0118\u0119\u0141\u0142\u0143\u0144\u00D3\u00F3\u015A\u015B\u0179\u017A\u017B\u017C];
fragment ENG_LETTER:
[a-zA-Z];
fragment SPECIAL_CHARACTER:
[!?;:,._];
COMMENT:
'#' ~[\r\n]*;
FEATURE: 'Feature:' ;
WRONG_FEATURE:
'Feature' |
'feature';
SCENARIO_OUTLINE: 'Scenario Outline:';
WRONG_SCENARIO_OUTLINE:
'Scenario Outline' |
'scenario outline' ;
SCENARIO: 'Scenario:';
WRONG_SCENARIO:
'Scenario' |
'scenario' ;
EXAMPLES: 'Examples:';
WRONG_EXAMPLES:
'Examples' |
'examples';
GIVEN: 'Given';
WRONG_GIVEN:
'Given:' | 'given' ;
WHEN: 'When';
WRONG_WHEN:
'When:' | 'when';
THEN: 'Then';
WRONG_THEN:
'Then:' | 'then';
AND: 'And';
WRONG_AND:
'And:' | 'and';
COLON: ':';
REF_OPEN: '<';
REF_CLOSE: '>';
SINGLE_QUOTE: '\'';
DOUBLE_QUOTE: '"';
VARIABLE_NAME: ('_' | ENG_LETTER)*( '_' | ENG_LETTER | NUMBER )+;
WORD: ( ENG_LETTER | POLISH_LETTER | NUMBER | SPECIAL_CHARACTER )+;
NUMBER: [0-9]+;
WS: [ \t]+;
EOL: [\r\n]+;
UNKNOWN: .;
| 15.237838
| 113
| 0.683221
|
2cf00fef1dbfed099e54288d1677f0fc2ed32f01
| 4,054
|
g4
|
ANTLR
|
grammar/MiniJava.g4
|
hamedwaezi01/compiler
|
0ad7ee11551b898ab119a021b3b036de8f015b4b
|
[
"MIT"
] | 2
|
2020-10-30T08:28:28.000Z
|
2021-01-03T17:01:55.000Z
|
grammar/MiniJava.g4
|
hamedwaezi01/compiler
|
0ad7ee11551b898ab119a021b3b036de8f015b4b
|
[
"MIT"
] | null | null | null |
grammar/MiniJava.g4
|
hamedwaezi01/compiler
|
0ad7ee11551b898ab119a021b3b036de8f015b4b
|
[
"MIT"
] | null | null | null |
grammar MiniJava;
program
: (mainClass) (classDeclaration | interfaceDeclaration)* EOF
;
mainClass
: 'class' className = Identifier '{' mainMethod '}';
mainMethod:
'public' 'static' 'void' 'main' '(' parameter ')' '{' statement* '}'
;
classDeclaration
: 'class' className = Identifier ('extends' parentName = Identifier)? ( 'implements' Identifier ( ',' Identifier)* )? '{' fieldDeclaration* methodDeclaration* '}';
interfaceDeclaration: 'interface' interfaceName = Identifier '{' fieldDeclaration* interfaceMethodDeclaration* '}';
interfaceMethodDeclaration
: (accessModifier)? returnType methodName = Identifier '(' parameterList? ')' ';';
fieldDeclaration
: (accessModifier)? (Final)? type fieldName = Identifier (EQ expression)?';'
;
localDeclaration
: type verName = Identifier ';';
methodDeclaration
: (Override)? (accessModifier)? returnType methodName = Identifier '(' parameterList? ')' '{' methodBody '}';
parameterList
: parameter (',' parameter)*
;
parameter
: type Identifier
;
methodBody
: statement* (RETURN expression ';')?
;
type
: (javaType | Identifier) (LSB RSB)? ;
javaType
: 'boolean'
#booleanType
| 'int'
#intType
;
returnType
: type
| 'void'
;
accessModifier
: 'private'
| 'public'
;
statement
: '{' statement* '}'
#nestedStatement
| 'if' LP expression RP ifBlock ('else' elseBlock)?
#ifElseStatement
| 'while' LP expression RP whileBlock
#whileStatement
| 'System.out.println' LP expression RP ';'
#printStatement
| expression EQ expression ';'
#variableAssignmentStatement
| Identifier LSB expression RSB EQ expression ';'
#arrayAssignmentStatement
| localDeclaration
#localVarDeclaration
|expression ';'
#expressioncall
;
ifBlock
: statement
;
elseBlock
: statement
;
whileBlock
: statement
;
expression
: expression LSB index = expression RSB
# arrayAccessExpression
| expression DOTLENGTH
# arrayLengthExpression
| expression '.' Identifier LP ( expression ( ',' expression )* )? RP
# methodCallExpression
| expression '.' Identifier
# fieldCallExpression
| NOT expression
# notExpression
| 'new' (Identifier | 'int' | 'boolean') LSB expression RSB
# arrayInstantiationExpression
| '{' IntegerLiteral ( ',' IntegerLiteral)* '}'
# intarrayInstantiationExpression
| 'new' Identifier LP RP
# objectInstantiationExpression
| l = expression POWER r = expression
# powExpression
| l = expression TIMES r = expression
# mulExpression
| l = expression PLUS r = expression
# addExpression
| l = expression MINUS r = expression
# subExpression
| l = expression LT r = expression
# ltExpression
| l = expression AND r = expression
# andExpression
| IntegerLiteral
# intLitExpression
| BooleanLiteral
# booleanLitExpression
| NullLiteral
# nullLitExpression
| Identifier
# identifierExpression
| String
# stringLitExpression
| 'this'
# thisExpression
| LP expression RP
# parenExpression
;
AND:'&&';
LT:'<';
PLUS:'+';
MINUS:'-';
TIMES:'*';
POWER:'**';
NOT:'!';
LSB:'[';
RSB:']';
DOTLENGTH:'.length';
LP:'(';
RP:')';
RETURN: 'return';
EQ: '=';
Final: 'final';
BooleanLiteral
: 'true'
| 'false'
;
IntegerLiteral
: DecimalIntegerLiteral
;
NullLiteral: 'null';
Identifier
: JavaLetter JavaLetterOrDigit*
;
String
: '"' (~'"')* '"'
;
Override
: '@Override'
;
fragment
JavaLetter
: [a-zA-Z$_] // these are the 'java letters' below 0xFF
;
fragment
JavaLetterOrDigit
: [a-zA-Z0-9$_] // these are the 'java letters or digits' below 0xFF
;
fragment
DecimalIntegerLiteral
: DecimalNumeral IntegertypeSuffix?
;
fragment
IntegertypeSuffix
: [lL]
;
fragment
DecimalNumeral
: '0'
| NonZeroDigit (Digits? | Underscores Digits)
;
fragment
Digits
: Digit (DigitsAndUnderscores? Digit)?
;
fragment
Digit
: '0'
| NonZeroDigit
;
fragment
NonZeroDigit
: [1-9]
;
fragment
DigitsAndUnderscores
: DigitOrUnderscore+
;
fragment
DigitOrUnderscore
: Digit
| '_'
;
fragment
Underscores
: '_'+
;
WS
: [ \r\t\n]+ -> skip
;
MULTILINE_COMMENT
: '/*' .*? '*/' -> skip
;
LINE_COMMENT
: '//' .*? '\n' -> skip
;
| 15.126866
| 164
| 0.691169
|
4d356e014d38f147e45d0b3615f1485c54c7bac1
| 3,340
|
g4
|
ANTLR
|
QueryParser/src/main/antlr/QueryLexer.g4
|
samuylov/CodeSamples
|
89bdbfb4debb1b02b70a39183e65ed61b490ba05
|
[
"Apache-2.0"
] | null | null | null |
QueryParser/src/main/antlr/QueryLexer.g4
|
samuylov/CodeSamples
|
89bdbfb4debb1b02b70a39183e65ed61b490ba05
|
[
"Apache-2.0"
] | null | null | null |
QueryParser/src/main/antlr/QueryLexer.g4
|
samuylov/CodeSamples
|
89bdbfb4debb1b02b70a39183e65ed61b490ba05
|
[
"Apache-2.0"
] | null | null | null |
lexer grammar QueryLexer;
/////////////////////////////////////////////////// LEXER //////////////////////////////////////////////////////////////
Identifier
: ESCAPED_WITH_OPERATOR? (Digit | Letter | SPECIAL_CHAR | ESCAPED_CHAR)+
(MINUS | PLUS | Digit | Letter | ESCAPED_CHAR | SPECIAL_CHAR )*
;
WildcardOperator
: '?'+
| '*'
;
WildcardExpression
: WildcardOperator Identifier (WildcardOperator Identifier)* WildcardOperator?
| Identifier (WildcardOperator Identifier)* WildcardOperator
| Identifier (WildcardOperator Identifier)+
;
ExactMatchExpression
:
'"' ('\\"' | '\\\\' | ~["\\])+ '"'
;
ESCAPED_CHAR : '\\'[(){}\\<>|"~?*] ;
ESCAPED_WITH_OPERATOR : '\\'[^(){}<>\\|":?*~+-];
PLUS : '+' ;
MINUS : '-' ;
COMMA : ',' ;
DOT : '.' ;
LPAREN : '(' ;
RPAREN : ')' ;
SYNONYM : '|' ;
TILDE : '~';
SPECIAL_CHAR : [!@#$%&=[\],.:^;/'] | '\u2116' | '\u0060' ; // / и ^ (){} \ | " : ? * через escape
Digit
: [0-9]
;
Letter
: [a-zA-Z_] |
A | Be | Ve | Ghe | De | Ie | Iee | Zhe | Ze | I | I_ | Ka | El | Em | En |
O | Pe | Er | Es | Te | U | Ef | Ha | Tse | Che | Sha | Shcha | Hs | Yeru |
Ss | E | Yu | Ya | Io
;
fragment
A : '\u0430' | '\u0410';
fragment
Be : '\u0431' | '\u0411';
fragment
Ve : '\u0432' | '\u0412';
fragment
Ghe : '\u0433' | '\u0413';
fragment
De : '\u0434' | '\u0414';
fragment
Ie : '\u0435' | '\u0415';
fragment
Iee : '\u0451' | '\u0401';
fragment
Zhe : '\u0436' | '\u0416';
fragment
Ze : '\u0437' | '\u0417';
fragment
I : '\u0438' | '\u0418';
fragment
I_ : '\u0439' | '\u0419';
fragment
Ka : '\u043A' | '\u041A';
fragment
El : '\u043B' | '\u041B';
fragment
Em : '\u043C' | '\u041C';
fragment
En : '\u043D' | '\u041D';
fragment
O : '\u043E' | '\u041E';
fragment
Pe : '\u043f' | '\u041f';
fragment
Er : '\u0440' | '\u0420';
fragment
Es : '\u0441' | '\u0421';
fragment
Te : '\u0442' | '\u0422';
fragment
U : '\u0443' | '\u0423';
fragment
Ef : '\u0444' | '\u0424';
fragment
Ha : '\u0445' | '\u0425';
fragment
Tse : '\u0446' | '\u0426';
fragment
Che : '\u0447' | '\u0427';
fragment
Sha : '\u0448' | '\u0428';
fragment
Shcha : '\u0449' | '\u0429';
fragment
Hs : '\u044A' | '\u042A';
fragment
Yeru : '\u044B' | '\u042B';
fragment
Ss : '\u044C' | '\u042C';
fragment
E : '\u044D' | '\u042D';
fragment
Yu : '\u044E' | '\u042E';
fragment
Ya : '\u044F' | '\u042F';
fragment
Io : '\u0451';
// English letters
fragment EA
: 'A' | 'a';
fragment EB
: 'B' | 'b';
fragment EC
: 'C' | 'c';
fragment ED
: 'D' | 'd';
fragment EE
: 'E' | 'e';
fragment EF
: 'F' | 'f';
fragment EG
: 'G' | 'g';
fragment EH
: 'H' | 'h';
fragment EI
: 'I' | 'i';
fragment EJ
: 'J' | 'j';
fragment EK
: 'K' | 'k';
fragment EL
: 'L' | 'l';
fragment EM
: 'M' | 'm';
fragment EN
: 'N' | 'n';
fragment EO
: 'O' | 'o';
fragment EP
: 'P' | 'p';
fragment EQ
: 'Q' | 'q';
fragment ER
: 'R' | 'r';
fragment ES
: 'S' | 's';
fragment ET
: 'T' | 't';
fragment EU
: 'U' | 'u';
fragment EV
: 'V' | 'v';
fragment EW
: 'W' | 'w';
fragment EX
: 'X' | 'x';
fragment EY
: 'Y' | 'y';
fragment EZ
: 'Z' | 'z';
WS : [ \t\r\n\u000C\u00A0]+ -> channel(HIDDEN)
;
UNKNOWN:
.
;
| 14.152542
| 120
| 0.475749
|
30dd19f187bd7eba2c4a1a5f1ec19a65aff39998
| 600
|
g4
|
ANTLR
|
src/parser/BindingLanguageLexer.g4
|
Lotes/bindings-lang
|
b0eb0fd43a97b54275936ecd12392a9877627493
|
[
"MIT"
] | null | null | null |
src/parser/BindingLanguageLexer.g4
|
Lotes/bindings-lang
|
b0eb0fd43a97b54275936ecd12392a9877627493
|
[
"MIT"
] | 8
|
2020-04-30T20:27:18.000Z
|
2020-05-08T09:02:10.000Z
|
src/parser/BindingLanguageLexer.g4
|
Lotes/bindings-lang
|
b0eb0fd43a97b54275936ecd12392a9877627493
|
[
"MIT"
] | null | null | null |
lexer grammar BindingLanguageLexer;
channels {
IGNORE
}
LMUSTACHE: '{{' -> mode(WITHIN_BINDING_MODE);
TEXT: (~'{' | '{' (~'{' | EOF))+;
mode WITHIN_BINDING_MODE;
fragment PX: 'px';
fragment PT: 'pt';
fragment CM: 'cm';
fragment MM: 'mm';
fragment INCH: 'inch';
fragment DIGIT: [0-9];
UNIT: PX | PT | MM | CM | INCH;
TRUE: 'true';
FALSE: 'false';
NULL: 'null';
STRING: '"' (~'\\' | '\\"' | '\\\\')* '"';
RMUSTACHE: '}}' -> mode(DEFAULT_MODE);
LPAREN: '(';
RPAREN: ')';
DOT: '.';
ID: [A-Za-z_][A-Za-z0-9_]*;
NUMBER: DIGIT+ (DOT DIGIT+)?;
COMMA: ',';
WS: [ \t\r\n]+ -> channel(IGNORE);
UNKNOWN: .;
| 18.75
| 45
| 0.563333
|
b521796c87370d8ae7c71e06b0c163dfbd46262a
| 2,551
|
g4
|
ANTLR
|
DiceRoller/DiceGrammarParser.g4
|
skizzerz/DiceRoller
|
4f9e55e08fb9b8d922e50ad3da62f61c8b793571
|
[
"MIT"
] | 23
|
2016-03-08T18:28:28.000Z
|
2021-12-24T19:10:20.000Z
|
DiceRoller/DiceGrammarParser.g4
|
skizzerz/DiceRoller
|
4f9e55e08fb9b8d922e50ad3da62f61c8b793571
|
[
"MIT"
] | 13
|
2017-09-26T20:20:36.000Z
|
2021-06-15T16:33:50.000Z
|
DiceRoller/DiceGrammarParser.g4
|
skizzerz/DiceRoller
|
4f9e55e08fb9b8d922e50ad3da62f61c8b793571
|
[
"MIT"
] | 6
|
2018-01-21T08:29:15.000Z
|
2022-03-11T20:53:26.000Z
|
/* If this file is changed, the corresponding C# files must be regenerated with ANTLR
* For example: java -jar C:\antlr\antlr-4.9.2-complete.jar -package Dice.Grammar -o Grammar/Generated DiceGrammarLexer.g4 DiceGrammarParser.g4
*/
parser grammar DiceGrammarParser;
options { language=CSharp; tokenVocab=DiceGrammarLexer; }
input
: math_expr EOF
;
math_expr
: add_expr # MathNormal
;
add_expr
: add_expr T_PLUS mult_expr # AddAdd
| add_expr T_MINUS mult_expr # AddSub
| mult_expr # AddNone
;
mult_expr
: mult_expr T_MULTIPLY roll_expr # MultMult
| mult_expr T_DIVIDE roll_expr # MultDiv
| roll_expr # MultNone
;
roll_expr
: (unary_expr)? T_LBRACE grouped_roll_inner T_RBRACE (grouped_extras)* (group_function)* # RollGroup
| (unary_expr)? T_DIE_BASIC number_expr (basic_extras)* (basic_function)* # RollBasic
| (unary_expr)? T_DIE_FUDGE (number_expr)? (basic_extras)* (basic_function)* # RollFudge
| func_expr # RollNone
;
func_expr
: T_MINUS global_function # FuncMinus
| global_function # FuncFunction
| unary_expr # FuncNone
;
unary_expr
: T_MINUS number_expr # UnaryExprMinus
| number_expr # UnaryExprNone
;
number_expr
: T_LPAREN math_expr T_RPAREN # NumberParen
| number # NumberNumber
;
number
: T_NUMBER # NumberLiteral
| T_MACRO # NumberMacro
;
global_function
: T_FUNCTION T_LPAREN (function_arg (T_COMMA function_arg)*)? T_RPAREN # GlobalFunction
;
group_function
: T_DOT T_FUNCTION T_LPAREN (function_arg (T_COMMA function_arg)*)? T_RPAREN # GroupFunction
;
basic_function
: T_DOT T_FUNCTION T_LPAREN (function_arg (T_COMMA function_arg)*)? T_RPAREN # BasicFunction
;
function_arg
: math_expr # FnArgMath
| explicit_compare_expr # FnArgComp
;
grouped_roll_inner
: grouped_roll_inner T_COMMA math_expr # GroupAdditional
| math_expr # GroupInit
;
grouped_extras
: T_EXTRAS (compare_expr)? # GroupExtra
| explicit_compare_expr # GroupEmptyExtra
;
basic_extras
: T_EXTRAS (compare_expr)? # BasicExtra
| explicit_compare_expr # BasicEmptyExtra
;
compare_expr
: unary_expr # CompImplicit
| explicit_compare_expr # CompExplicit
;
explicit_compare_expr
: T_EQUALS unary_expr # CompEquals
| T_GREATER unary_expr # CompGreater
| T_LESS unary_expr # CompLess
| T_GREATER_EQUALS unary_expr # CompGreaterEquals
| T_LESS_EQUALS unary_expr # CompLessEquals
| T_NOT_EQUALS unary_expr # CompNotEquals
;
| 25.257426
| 143
| 0.718934
|
87744545b6c1e535564d6fb0a203d77379758acf
| 2,142
|
g4
|
ANTLR
|
src/Common/Grammars/Zen.g4
|
dzieje-khorinis/DaedalusCompiler
|
7fc987118e432569e078cd738fbc7ff5a2194742
|
[
"MIT"
] | 57
|
2018-05-19T12:03:57.000Z
|
2022-03-01T18:20:34.000Z
|
src/Common/Grammars/Zen.g4
|
dzieje-khorinis/DaedalusCompiler
|
7fc987118e432569e078cd738fbc7ff5a2194742
|
[
"MIT"
] | 16
|
2018-05-07T21:42:40.000Z
|
2020-04-22T10:55:50.000Z
|
src/Common/Grammars/Zen.g4
|
dzieje-khorinis/DaedalusCompiler
|
7fc987118e432569e078cd738fbc7ff5a2194742
|
[
"MIT"
] | 6
|
2018-05-13T23:27:55.000Z
|
2022-02-27T09:19:01.000Z
|
grammar Zen;
/*
TODO think about making separate Lexer and Parser grammars.
That approach allows usage of Lexer MODES, which could be
used for extra validation and generation of specialized
attribute value tokens (separate token types for each data
type, without risk of too greedy string token type).
*/
// Lexer rules
/*
Note:
There may be binary data inside ASCII Zen (in [MeshAndBsp % 0 0] section).
It does cause problems in some languages when trying to open file.
For example in Python, you won't be able to open file in text mode.
Solution is to open file in binary mode, read bytes, remove MeshAndBsp
section, convert data to text and pass it to ANTLR4 Lexer.
In C# There is no need to do that and everything works as is.
*/
MeshAndBsp: '[MeshAndBsp % 0 0]' .*? '[]\n\t' -> skip;
Whitespace: [ \t]+ -> skip;
Newline: ('\r''\n'?| '\n') -> skip;
Int: '-'? Digit+;
Date: Digit Digit? '.' Digit Digit? '.' Digit Digit? Digit? Digit?;
Time: Digit Digit? ':' Digit Digit? ':' Digit Digit?;
Value: Type ':' (~[\n])*;
Name: FirstChar NextChar*;
// https://en.wikipedia.org/wiki/Unicode_block
fragment Latin1Supplement: [\u0080-\u00FF];
fragment LatinExtendedA: [\u0100-\u017F];
fragment LatinExtendedB: [\u0180-\u024F];
fragment Cyrillic: [\u0400-\u04FF];
fragment CyrillicSupplement: [\u0500-\u052F];
fragment Letter:
[a-zA-Z]
| Latin1Supplement
| LatinExtendedA
| LatinExtendedB
| Cyrillic
| CyrillicSupplement
;
fragment Digit: [0-9];
fragment FirstChar: Letter | '_';
fragment NextChar: FirstChar | Digit | [-\\.];
fragment Type: 'bool' | 'color' | 'enum' | 'float' | 'int' | 'raw' | 'rawFloat' | 'string' | 'vec3';
// Parser rules
main: head (body=block) EOF;
head:
Name Name
Name (version=Int)
Name
(zenType=Name) // supported: ASCII, unsupported: BIN_SAFE, BINARY
Name (saveGame=Int)
Name (date=Date) (time=Time)
Name (user=Name)
Name
Name (objectsCount=Int)
Name
;
block:
'[' blockName classPath (leftIndex=Int) (rightIndex=Int) ']'
(block | attr)*
'[]'
;
blockName: Name | '%';
classPath: Name (':' Name)* | '§' | '%';
attr: Name '=' Value;
| 28.56
| 101
| 0.669468
|
0e46bf91f20dbeaf724be93ea23f69e29d2ed935
| 38,708
|
g4
|
ANTLR
|
grammars/CPP14_v2.g4
|
SadraGoudarzdashti/IUSTCompiler
|
7aa24df7de10030c313ad2e8f3830d9e2b182ce1
|
[
"MIT"
] | 3
|
2020-12-04T11:01:23.000Z
|
2022-02-12T19:29:35.000Z
|
grammars/CPP14_v2.g4
|
SadraGoudarzdashti/IUSTCompiler
|
7aa24df7de10030c313ad2e8f3830d9e2b182ce1
|
[
"MIT"
] | null | null | null |
grammars/CPP14_v2.g4
|
SadraGoudarzdashti/IUSTCompiler
|
7aa24df7de10030c313ad2e8f3830d9e2b182ce1
|
[
"MIT"
] | 30
|
2020-12-04T11:00:19.000Z
|
2021-12-31T15:59:21.000Z
|
/*******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2015 Camilo Sanchez (Camiloasc1)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
******************************************************************************/
/* Last edit: April 2020 by Morteza Zakeri */
grammar CPP14_v2;
/*Basic concepts*/
translationunit
: declarationseq? EOF
;
/*Expressions*/
primaryexpression
: literal #primaryexpression1
| This #primaryexpression2
| '(' expression ')' #primaryexpression3
| idexpression #primaryexpression4
| lambdaexpression #primaryexpression5
;
idexpression
: unqualifiedid #idexpression1
| qualifiedid #idexpression2
;
unqualifiedid
: Identifier #unqualifiedid1
| operatorfunctionid #unqualifiedid2
| conversionfunctionid #unqualifiedid3
| literaloperatorid #unqualifiedid4
| '~' classname #unqualifiedid5
| '~' decltypespecifier #unqualifiedid6
| templateid #unqualifiedid7
;
qualifiedid
: nestednamespecifier Template? unqualifiedid
;
nestednamespecifier
: '::' #nestednamespecifier1
| thetypename '::' #nestednamespecifier2
| namespacename '::' #nestednamespecifier3
| decltypespecifier '::' #nestednamespecifier4
| nestednamespecifier Identifier '::' #nestednamespecifier5
| nestednamespecifier Template? simpletemplateid '::' #nestednamespecifier6
;
lambdaexpression
: lambdaintroducer lambdadeclarator? compoundstatement
;
lambdaintroducer
: '[' lambdacapture? ']'
;
lambdacapture
: capturedefault #lambdacapture1
| capturelist #lambdacapture2
| capturedefault ',' capturelist #lambdacapture3
;
capturedefault
: '&' #capturedefault1
| '=' #capturedefault2
;
capturelist
: capture '...'? #capturelist1
| capturelist ',' capture '...'? #capturelist2
;
capture
: simplecapture #capture1
| initcapture #capture2
;
simplecapture
: Identifier #simplecapture1
| '&' Identifier #simplecapture2
| This #simplecapture3
;
initcapture
: Identifier initializer #initcapture1
| '&' Identifier initializer #initcapture2
;
lambdadeclarator
: '(' parameterdeclarationclause ')' Mutable? exceptionspecification? attributespecifierseq? trailingreturntype?
;
postfixexpression
: primaryexpression #postfixexpression1
| postfixexpression '[' expression ']' #postfixexpression2
| postfixexpression '[' bracedinitlist ']' #postfixexpression3
| postfixexpression '(' expressionlist? ')' #postfixexpression4
| simpletypespecifier '(' expressionlist? ')' #postfixexpression5
| typenamespecifier '(' expressionlist? ')' #postfixexpression6
| simpletypespecifier bracedinitlist #postfixexpression7
| typenamespecifier bracedinitlist #postfixexpression8
| postfixexpression '.' Template? idexpression #postfixexpression9
| postfixexpression '->' Template? idexpression #postfixexpression10
| postfixexpression '.' pseudodestructorname #postfixexpression11
| postfixexpression '->' pseudodestructorname #postfixexpression12
| postfixexpression '++' #postfixexpression13
| postfixexpression '--' #postfixexpression14
| Dynamic_cast '<' thetypeid '>' '(' expression ')' #postfixexpression15
| Static_cast '<' thetypeid '>' '(' expression ')' #postfixexpression16
| Reinterpret_cast '<' thetypeid '>' '(' expression ')' #postfixexpression17
| Const_cast '<' thetypeid '>' '(' expression ')' #postfixexpression18
| typeidofthetypeid '(' expression ')' #postfixexpression19
| typeidofthetypeid '(' thetypeid ')' #postfixexpression20
;
/*
add a middle layer to eliminate duplicated function declarations
*/
typeidofexpr
: Typeid_
;
typeidofthetypeid
: Typeid_
;
expressionlist
: initializerlist
;
pseudodestructorname
: nestednamespecifier? thetypename '::' '~' thetypename #pseudodestructorname1
| nestednamespecifier Template simpletemplateid '::' '~' thetypename #pseudodestructorname2
| nestednamespecifier? '~' thetypename #pseudodestructorname3
| '~' decltypespecifier #pseudodestructorname4
;
unaryexpression
: postfixexpression #unaryexpression1
| '++' castexpression #unaryexpression2
| '--' castexpression #unaryexpression3
| unaryoperator castexpression #unaryexpression4
| Sizeof unaryexpression #unaryexpression5
| Sizeof '(' thetypeid ')' #unaryexpression6
| Sizeof '...' '(' Identifier ')' #unaryexpression7
| Alignof '(' thetypeid ')' #unaryexpression8
| noexceptexpression #unaryexpression9
| newexpression #unaryexpression10
| deleteexpression #unaryexpression11
;
unaryoperator
: '|' #unaryoperator1
| '*' #unaryoperator2
| '&' #unaryoperator3
| '+' #unaryoperator4
| '!' #unaryoperator5
| '~' #unaryoperator6
| '-' #unaryoperator7
| 'not' #unaryoperator8
;
newexpression
: '::'? New newplacement? newtypeid newinitializer? #newexpression1
| '::'? New newplacement? '(' thetypeid ')' newinitializer? #newexpression2
;
newplacement
: '(' expressionlist ')'
;
newtypeid
: typespecifierseq newdeclarator?
;
newdeclarator
: ptroperator newdeclarator? #newdeclarator1
| noptrnewdeclarator #newdeclarator2
;
noptrnewdeclarator
: '[' expression ']' attributespecifierseq? #noptrnewdeclarator1
| noptrnewdeclarator '[' constantexpression ']' attributespecifierseq? #noptrnewdeclarator2
;
newinitializer
: '(' expressionlist? ')' #newinitializer1
| bracedinitlist #newinitializer2
;
deleteexpression
: '::'? Delete castexpression #deleteexpression1
| '::'? Delete '[' ']' castexpression #deleteexpression2
;
noexceptexpression
: Noexcept '(' expression ')'
;
castexpression
: unaryexpression #castexpression1
| '(' thetypeid ')' castexpression #castexpression2
;
pmexpression
: castexpression #pmexpression1
| pmexpression '.*' castexpression #pmexpression2
| pmexpression '->*' castexpression #pmexpression3
;
multiplicativeexpression
: pmexpression #multiplicativeexpression1
| multiplicativeexpression '*' pmexpression #multiplicativeexpression2
| multiplicativeexpression '/' pmexpression #multiplicativeexpression3
| multiplicativeexpression '%' pmexpression #multiplicativeexpression4
;
additiveexpression
: multiplicativeexpression #additiveexpression1
| additiveexpression '+' multiplicativeexpression #additiveexpression2
| additiveexpression '-' multiplicativeexpression #additiveexpression3
;
shiftexpression
: additiveexpression #shiftexpression1
| shiftexpression shiftoperator additiveexpression #shiftexpression2
;
shiftoperator
: RightShift #shiftoperator1
| LeftShift #shiftoperator2
;
relationalexpression
: shiftexpression #relationalexpression1
| relationalexpression '<' shiftexpression #relationalexpression2
| relationalexpression '>' shiftexpression #relationalexpression3
| relationalexpression '<=' shiftexpression #relationalexpression4
| relationalexpression '>=' shiftexpression #relationalexpression5
;
equalityexpression
: relationalexpression #equalityexpression1
| equalityexpression '==' relationalexpression #equalityexpression2
| equalityexpression '!=' relationalexpression #equalityexpression3
;
andexpression
: equalityexpression #andexpression1
| andexpression '&' equalityexpression #andexpression2
;
exclusiveorexpression
: andexpression #exclusiveorexpression1
| exclusiveorexpression '^' andexpression #exclusiveorexpression2
;
inclusiveorexpression
: exclusiveorexpression #inclusiveorexpression1
| inclusiveorexpression '|' exclusiveorexpression #inclusiveorexpressio2
;
logicalandexpression
: inclusiveorexpression #logicalandexpression1
| logicalandexpression '&&' inclusiveorexpression #logicalandexpression2
| logicalandexpression 'and' inclusiveorexpression #logicalandexpression3
;
logicalorexpression
: logicalandexpression #logicalorexpression1
| logicalorexpression '||' logicalandexpression #logicalorexpression2
| logicalorexpression 'or' logicalandexpression #logicalorexpression3
;
conditionalexpression
: logicalorexpression #conditionalexpression1
| logicalorexpression '?' expression ':' assignmentexpression #conditionalexpression2
;
assignmentexpression
: conditionalexpression #assignmentexpression1
| logicalorexpression assignmentoperator initializerclause #assignmentexpression2
| throwexpression #assignmentexpression3
;
assignmentoperator
: '=' #assignmentoperator1
| '*=' #assignmentoperator2
| '/=' #assignmentoperator3
| '%=' #assignmentoperator4
| '+=' #assignmentoperator5
| '-=' #assignmentoperator6
| RightShiftAssign #assignmentoperator7
| LeftShiftAssign #assignmentoperator8
| '&=' #assignmentoperator9
| '^=' #assignmentoperator10
| '|=' #assignmentoperator11
;
expression
: assignmentexpression #expression1
| expression ',' assignmentexpression #expression2
;
constantexpression
: conditionalexpression
;
/*Statements*/
statement
: labeledstatement #statement1
| attributespecifierseq? expressionstatement #statement2
| attributespecifierseq? compoundstatement #statement3
| attributespecifierseq? selectionstatement #statement4
| attributespecifierseq? iterationstatement #statement5
| attributespecifierseq? jumpstatement #statement6
| declarationstatement #statement7
| attributespecifierseq? tryblock #statement8
;
labeledstatement
: attributespecifierseq? Identifier ':' statement #labeledstatement1
| attributespecifierseq? Case constantexpression ':' statement #labeledstatement2
| attributespecifierseq? Default ':' statement #labeledstatement3
;
expressionstatement
: expression? ';'
;
compoundstatement
: '{' statementseq? '}'
;
statementseq
: statement #statementseq1
| statementseq statement #statementseq2
;
selectionstatement
: If '(' condition ')' statement #selectionstatement1
| If '(' condition ')' statement Else statement #selectionstatement2
| Switch '(' condition ')' statement #selectionstatement3
;
condition
: expression #condition1
| attributespecifierseq? declspecifierseq declarator '=' initializerclause #condition2
| attributespecifierseq? declspecifierseq declarator bracedinitlist #condition3
;
iterationstatement
: While '(' condition ')' statement #iterationstatement1
| Do statement While '(' expression ')' ';' #iterationstatement2
| For '(' forinitstatement condition? ';' expression? ')' statement #iterationstatement3
| For '(' forrangedeclaration ':' forrangeinitializer ')' statement #iterationstatement4
;
forinitstatement
: expressionstatement #forinitstatement1
| simpledeclaration #forinitstatement2
;
forrangedeclaration
: attributespecifierseq? declspecifierseq declarator
;
forrangeinitializer
: expression #forrangeinitializer1
| bracedinitlist #forrangeinitialize2
;
jumpstatement
: Break ';' #jumpstatement1
| Continue ';' #jumpstatement2
| Return expression? ';' #jumpstatement3
| Return bracedinitlist ';' #jumpstatement4
| Goto Identifier ';' #jumpstatement5
;
declarationstatement
: blockdeclaration
;
/*Declarations*/
declarationseq
: declaration #declarationseq1
| declarationseq declaration #declarationseq2
;
declaration
: blockdeclaration #declaration1
| functiondefinition #declaration2
| templatedeclaration #declaration3
| explicitinstantiation #declaration4
| explicitspecialization #declaration5
| linkagespecification #declaration6
| namespacedefinition #declaration7
| emptydeclaration #declaration8
| attributedeclaration #declaration9
;
blockdeclaration
: simpledeclaration #blockdeclaration1
| asmdefinition #blockdeclaration2
| namespacealiasdefinition #blockdeclaration3
| usingdeclaration #blockdeclaration4
| usingdirective #blockdeclaration5
| static_assertdeclaration #blockdeclaration6
| aliasdeclaration #blockdeclaration7
| opaqueenumdeclaration #blockdeclaration8
;
aliasdeclaration
: Using Identifier attributespecifierseq? '=' thetypeid ';'
;
simpledeclaration
: declspecifierseq? initdeclaratorlist? ';' #simpledeclaration1
| attributespecifierseq declspecifierseq? initdeclaratorlist ';' #simpledeclaration2
;
static_assertdeclaration
: Static_assert '(' constantexpression ',' Stringliteral ')' ';'
;
emptydeclaration
: ';'
;
attributedeclaration
: attributespecifierseq ';'
;
declspecifier
: storageclassspecifier #declspecifier1
| typespecifier #declspecifier2
| functionspecifier #declspecifier3
| Friend #declspecifier4
| Typedef #declspecifier5
| Constexpr #declspecifier6
;
declspecifierseq
: declspecifier attributespecifierseq? #declspecifierseq1
| declspecifier declspecifierseq #declspecifierseq2
;
storageclassspecifier
: Register #storageclassspecifier1
| Static #storageclassspecifier2
| Thread_local #storageclassspecifier3
| Extern #storageclassspecifier4
| Mutable #storageclassspecifier5
;
functionspecifier
: Inline #functionspecifier1
| Virtual #functionspecifier2
| Explicit #functionspecifier3
;
typedefname
: Identifier
;
typespecifier
: trailingtypespecifier #typespecifier1
| classspecifier #typespecifier2
| enumspecifier #typespecifier3
;
trailingtypespecifier
: simpletypespecifier #trailingtypespecifier1
| elaboratedtypespecifier #trailingtypespecifier2
| typenamespecifier #trailingtypespecifier3
| cvqualifier #trailingtypespecifier4
;
typespecifierseq
: typespecifier attributespecifierseq? #typespecifierseq1
| typespecifier typespecifierseq #typespecifierseq2
;
trailingtypespecifierseq
: trailingtypespecifier attributespecifierseq? #trailingtypespecifierseq1
| trailingtypespecifier trailingtypespecifierseq #trailingtypespecifierseq2
;
simpletypespecifier
: nestednamespecifier? thetypename #simpletypespecifier1
| nestednamespecifier Template simpletemplateid #simpletypespecifier2
| Char #simpletypespecifier3
| Char16 #simpletypespecifier4
| Char32 #simpletypespecifier5
| Wchar #simpletypespecifier6
| Bool #simpletypespecifier7
| Short #simpletypespecifier8
| Int #simpletypespecifier9
| Long #simpletypespecifier10
| Signed #simpletypespecifier11
| Unsigned #simpletypespecifier12
| Float #simpletypespecifier13
| Double #simpletypespecifier14
| Void #simpletypespecifier15
| Auto #simpletypespecifier16
| decltypespecifier #simpletypespecifier17
;
thetypename
: classname #thetypename1
| enumname #thetypename2
| typedefname #thetypename3
| simpletemplateid #thetypename4
;
decltypespecifier
: Decltype '(' expression ')' #decltypespecifier1
| Decltype '(' Auto ')' #decltypespecifier2
;
elaboratedtypespecifier
: classkey attributespecifierseq? nestednamespecifier? Identifier #elaboratedtypespecifier1
| classkey simpletemplateid #elaboratedtypespecifier2
| classkey nestednamespecifier Template? simpletemplateid #elaboratedtypespecifier3
| Enum nestednamespecifier? Identifier #elaboratedtypespecifier4
;
enumname
: Identifier
;
enumspecifier
: enumhead '{' enumeratorlist? '}' #enumspecifier1
| enumhead '{' enumeratorlist ',' '}' #enumspecifier2
;
enumhead
: enumkey attributespecifierseq? Identifier? enumbase? #enumhead1
| enumkey attributespecifierseq? nestednamespecifier Identifier enumbase? #enumhead2
;
opaqueenumdeclaration
: enumkey attributespecifierseq? Identifier enumbase? ';'
;
enumkey
: Enum #enumkey1
| Enum Class #enumkey2
| Enum Struct #enumkey3
;
enumbase
: ':' typespecifierseq
;
enumeratorlist
: enumeratordefinition #enumeratorlist1
| enumeratorlist ',' enumeratordefinition #enumeratorlist2
;
enumeratordefinition
: enumerator #enumeratordefinition1
| enumerator '=' constantexpression #enumeratordefinition2
;
enumerator
: Identifier
;
namespacename
: originalnamespacename #namespacename1
| namespacealias #namespacename2
;
originalnamespacename
: Identifier
;
namespacedefinition
: namednamespacedefinition #namespacedefinition1
| unnamednamespacedefinition #namespacedefinition2
;
namednamespacedefinition
: originalnamespacedefinition #namednamespacedefinition1
| extensionnamespacedefinition #namednamespacedefinition2
;
originalnamespacedefinition
: Inline? Namespace Identifier '{' namespacebody '}'
;
extensionnamespacedefinition
: Inline? Namespace originalnamespacename '{' namespacebody '}'
;
unnamednamespacedefinition
: Inline? Namespace '{' namespacebody '}'
;
namespacebody
: declarationseq?
;
namespacealias
: Identifier
;
namespacealiasdefinition
: Namespace Identifier '=' qualifiednamespacespecifier ';'
;
qualifiednamespacespecifier
: nestednamespecifier? namespacename
;
usingdeclaration
: Using Typename_? nestednamespecifier unqualifiedid ';' #usingdeclaration1
| Using '::' unqualifiedid ';' #usingdeclaration2
;
usingdirective
: attributespecifierseq? Using Namespace nestednamespecifier? namespacename ';'
;
asmdefinition
: Asm '(' Stringliteral ')' ';'
;
linkagespecification
: Extern Stringliteral '{' declarationseq? '}' #linkagespecification1
| Extern Stringliteral declaration #linkagespecification2
;
attributespecifierseq
: attributespecifier #attributespecifierseq1
| attributespecifierseq attributespecifier #attributespecifierseq2
;
attributespecifier
: '[' '[' attributelist ']' ']' #attributespecifier1
| alignmentspecifier #attributespecifier2
;
alignmentspecifier
: Alignas '(' thetypeid '...'? ')' #alignmentspecifier1
| Alignas '(' constantexpression '...'? ')' #alignmentspecifier2
;
attributelist
: attribute? #attributelist1
| attributelist ',' attribute? #attributelist2
| attribute '...' #attributelist3
| attributelist ',' attribute '...' #attributelist4
;
attribute
: attributetoken attributeargumentclause?
;
attributetoken
: Identifier #attributetoken1
| attributescopedtoken #attributetoken2
;
attributescopedtoken
: attributenamespace '::' Identifier
;
attributenamespace
: Identifier
;
attributeargumentclause
: '(' balancedtokenseq ')'
;
balancedtokenseq
: balancedtoken? #balancedtokenseq1
| balancedtokenseq balancedtoken #balancedtokenseq2
;
balancedtoken
: '(' balancedtokenseq ')' #balancedtoken1
| '[' balancedtokenseq ']' #balancedtoken2
| '{' balancedtokenseq '}' #balancedtoken3
| ~('('|')'|'{'|'}'|'['|']')+ #balancedtoken4
;
/*Declarators*/
initdeclaratorlist
: initdeclarator #initdeclaratorlist1
| initdeclaratorlist ',' initdeclarator #initdeclaratorlist2
;
initdeclarator
: declarator initializer?
;
declarator
: ptrdeclarator #declarator1
| noptrdeclarator parametersandqualifiers trailingreturntype #declarator2
;
ptrdeclarator
: noptrdeclarator #ptrdeclarator1
| ptroperator ptrdeclarator #ptrdeclarator2
;
noptrdeclarator
: declaratorid attributespecifierseq? #noptrdeclarator1
| noptrdeclarator parametersandqualifiers #noptrdeclarator2
| noptrdeclarator '[' constantexpression? ']' attributespecifierseq? #noptrdeclarator3
| '(' ptrdeclarator ')' #noptrdeclarator4
;
parametersandqualifiers
: '(' parameterdeclarationclause ')' cvqualifierseq? refqualifier? exceptionspecification? attributespecifierseq?
;
trailingreturntype
: '->' trailingtypespecifierseq abstractdeclarator?
;
ptroperator
: '*' attributespecifierseq? cvqualifierseq? #ptroperator1
| '&' attributespecifierseq? #ptroperator2
| '&&' attributespecifierseq? #ptroperator3
| nestednamespecifier '*' attributespecifierseq? cvqualifierseq? #ptroperato4
;
cvqualifierseq
: cvqualifier cvqualifierseq?
;
cvqualifier
: Const #cvqualifier1
| Volatile #cvqualifier2
;
refqualifier
: '&' #refqualifier1
| '&&' #refqualifier2
;
declaratorid
: '...'? idexpression
;
thetypeid
: typespecifierseq abstractdeclarator?
;
abstractdeclarator
: ptrabstractdeclarator #abstractdeclarator1
| noptrabstractdeclarator? parametersandqualifiers trailingreturntype #abstractdeclarator2
| abstractpackdeclarator #abstractdeclarator3
;
ptrabstractdeclarator
: noptrabstractdeclarator #ptrabstractdeclarator1
| ptroperator ptrabstractdeclarator? #ptrabstractdeclarator2
;
noptrabstractdeclarator
: noptrabstractdeclarator parametersandqualifiers #noptrabstractdeclarator1
| parametersandqualifiers #noptrabstractdeclarator2
| noptrabstractdeclarator '[' constantexpression? ']' attributespecifierseq? #noptrabstractdeclarator3
| '[' constantexpression? ']' attributespecifierseq? #noptrabstractdeclarator4
| '(' ptrabstractdeclarator ')' #noptrabstractdeclarator5
;
abstractpackdeclarator
: noptrabstractpackdeclarator #abstractpackdeclarator1
| ptroperator abstractpackdeclarator #abstractpackdeclarator2
;
noptrabstractpackdeclarator
: noptrabstractpackdeclarator parametersandqualifiers #noptrabstractpackdeclarator1
| noptrabstractpackdeclarator '[' constantexpression? ']' attributespecifierseq? #noptrabstractpackdeclarator2
| '...' #noptrabstractpackdeclarator3
;
parameterdeclarationclause
: parameterdeclarationlist? '...'? #parameterdeclarationclause1
| parameterdeclarationlist ',' '...' #parameterdeclarationclause2
;
parameterdeclarationlist
: parameterdeclaration #parameterdeclarationlist1
| parameterdeclarationlist ',' parameterdeclaration #parameterdeclarationlist2
;
parameterdeclaration
: attributespecifierseq? declspecifierseq declarator #parameterdeclaration1
| attributespecifierseq? declspecifierseq declarator '=' initializerclause #parameterdeclaration2
| attributespecifierseq? declspecifierseq abstractdeclarator? #parameterdeclaration3
| attributespecifierseq? declspecifierseq abstractdeclarator? '=' initializerclause #parameterdeclaration4
;
functiondefinition
: attributespecifierseq? declspecifierseq? declarator virtspecifierseq? functionbody
;
functionbody
: ctorinitializer? compoundstatement #functionbody1
| functiontryblock #functionbody2
| '=' Default ';' #functionbody3
| '=' Delete ';' #functionbody4
;
initializer
: braceorequalinitializer #initializer1
| '(' expressionlist ')' #initializer2
;
braceorequalinitializer
: '=' initializerclause #braceorequalinitializer1
| bracedinitlist #braceorequalinitializer2
;
initializerclause
: assignmentexpression #initializerclause1
| bracedinitlist #initializerclause2
;
initializerlist
: initializerclause '...'? #initializerlist1
| initializerlist ',' initializerclause '...'? #initializerlist2
;
bracedinitlist
: '{' initializerlist ','? '}' #bracedinitlist1
| '{' '}' #bracedinitlist2
;
/*Classes*/
classname
: Identifier #classname1
| simpletemplateid #classname2
;
classspecifier
: classhead '{' memberspecification? '}'
;
classhead
: classkey attributespecifierseq? classheadname classvirtspecifier? baseclause? #classhead1
| classkey attributespecifierseq? baseclause? #classhead2
;
classheadname
: nestednamespecifier? classname
;
classvirtspecifier
: Final
;
classkey
: Class #classkey1
| Struct #classkey2
| Union #classkey3
;
memberspecification
: memberdeclaration memberspecification? #memberspecification1
| accessspecifier ':' memberspecification? #memberspecification2
;
memberdeclaration
: attributespecifierseq? declspecifierseq? memberdeclaratorlist? ';' #memberdeclaration1
| functiondefinition #memberdeclaration2
| usingdeclaration #memberdeclaration3
| static_assertdeclaration #memberdeclaration4
| templatedeclaration #memberdeclaration5
| aliasdeclaration #memberdeclaration6
| emptydeclaration #memberdeclaration7
;
memberdeclaratorlist
: memberdeclarator #memberdeclaratorlis1
| memberdeclaratorlist ',' memberdeclarator #memberdeclaratorlis2
;
memberdeclarator
: declarator virtspecifierseq? purespecifier? #memberdeclarator1
| declarator braceorequalinitializer? #memberdeclarator2
| Identifier? attributespecifierseq? ':' constantexpression #memberdeclarator3
;
virtspecifierseq
: virtspecifier #virtspecifierseq1
| virtspecifierseq virtspecifier #virtspecifierseq2
;
virtspecifier
: Override #virtspecifier1
| Final #virtspecifier2
;
purespecifier
: Assign val = Octalliteral
;
/*Derived classes*/
baseclause
: ':' basespecifierlist
;
basespecifierlist
: basespecifier '...'? #basespecifierlist1
| basespecifierlist ',' basespecifier '...'? #basespecifierlist2
;
basespecifier
: attributespecifierseq? basetypespecifier #basespecifier1
| attributespecifierseq? Virtual accessspecifier? basetypespecifier #basespecifier2
| attributespecifierseq? accessspecifier Virtual? basetypespecifier #basespecifier3
;
classordecltype
: nestednamespecifier? classname #classordecltype1
| decltypespecifier #classordecltype2
;
basetypespecifier
: classordecltype
;
accessspecifier
: Private #accessspecifier1
| Protected #accessspecifier2
| Public #accessspecifier3
;
/*Special member functions*/
conversionfunctionid
: Operator conversiontypeid
;
conversiontypeid
: typespecifierseq conversiondeclarator?
;
conversiondeclarator
: ptroperator conversiondeclarator?
;
ctorinitializer
: ':' meminitializerlist
;
meminitializerlist
: meminitializer '...'? #meminitializerlist1
| meminitializer '...'? ',' meminitializerlist #meminitializerlist2
;
meminitializer
: meminitializerid '(' expressionlist? ')' #meminitializer1
| meminitializerid bracedinitlist #meminitializer2
;
meminitializerid
: classordecltype #meminitializerid1
| Identifier #meminitializerid2
;
/*Overloading*/
operatorfunctionid
: Operator theoperator
;
literaloperatorid
: Operator Stringliteral Identifier #literaloperatorid1
| Operator Userdefinedstringliteral #literaloperatorid2
;
/*Templates*/
templatedeclaration
: Template '<' templateparameterlist '>' declaration
;
templateparameterlist
: templateparameter #templateparameterlist1
| templateparameterlist ',' templateparameter #templateparameterlist2
;
templateparameter
: typeparameter #templateparameter1
| parameterdeclaration #templateparameter2
;
typeparameter
: Class '...'? Identifier? #typeparameter1
| Class Identifier? '=' thetypeid #typeparameter2
| Typename_ '...'? Identifier? #typeparameter3
| Typename_ Identifier? '=' thetypeid #typeparameter4
| Template '<' templateparameterlist '>' Class '...'? Identifier? #typeparameter5
| Template '<' templateparameterlist '>' Class Identifier? '=' idexpression #typeparameter6
;
simpletemplateid
: templatename '<' templateargumentlist? '>'
;
templateid
: simpletemplateid #templateid1
| operatorfunctionid '<' templateargumentlist? '>' #templateid2
| literaloperatorid '<' templateargumentlist? '>' #templateid3
;
templatename
: Identifier
;
templateargumentlist
: templateargument '...'? #templateargumentlist1
| templateargumentlist ',' templateargument '...'? #templateargumentlist2
;
templateargument
: thetypeid #templateargument1
| constantexpression #templateargument2
| idexpression #templateargument3
;
typenamespecifier
: Typename_ nestednamespecifier Identifier #typenamespecifier1
| Typename_ nestednamespecifier Template? simpletemplateid #typenamespecifier2
;
explicitinstantiation
: Extern? Template declaration
;
explicitspecialization
: Template '<' '>' declaration
;
/*Exception handling*/
tryblock
: Try compoundstatement handlerseq
;
functiontryblock
: Try ctorinitializer? compoundstatement handlerseq
;
handlerseq
: handler handlerseq?
;
handler
: Catch '(' exceptiondeclaration ')' compoundstatement
;
exceptiondeclaration
: attributespecifierseq? typespecifierseq declarator #exceptiondeclaration1
| attributespecifierseq? typespecifierseq abstractdeclarator? #exceptiondeclaration2
| '...' #exceptiondeclaration3
;
throwexpression
: Throw assignmentexpression?
;
exceptionspecification
: dynamicexceptionspecification #exceptionspecification1
| noexceptspecification #exceptionspecification2
;
dynamicexceptionspecification
: Throw '(' typeidlist? ')'
;
typeidlist
: thetypeid '...'? #typeidlist1
| typeidlist ',' thetypeid '...'? #typeidlist2
;
noexceptspecification
: Noexcept '(' constantexpression ')' #noexceptspecification1
| Noexcept #noexceptspecification2
;
/*Preprocessing directives*/
MultiLineMacro
: '#' (~ [\n]*? '\\' '\r'? '\n')+ ~ [\n]+ -> channel (HIDDEN)
;
Directive
: '#' ~ [\n]* -> channel (HIDDEN)
;
/**Lexer**/
/*Keywords = 75 different Keywords*/
Alignas
: 'alignas'
;
Alignof
: 'alignof'
;
Asm
: 'asm'
;
Auto
: 'auto'
;
Bool
: 'bool'
;
Break
: 'break'
;
Case
: 'case'
;
Catch
: 'catch'
;
Char
: 'char'
;
Char16
: 'char16_t'
;
Char32
: 'char32_t'
;
Class
: 'class'
;
Const
: 'const'
;
Constexpr
: 'constexpr'
;
Const_cast
: 'const_cast'
;
Continue
: 'continue'
;
Decltype
: 'decltype'
;
Default
: 'default'
;
Delete
: 'delete'
;
Do
: 'do'
;
Double
: 'double'
;
Dynamic_cast
: 'dynamic_cast'
;
Else
: 'else'
;
Enum
: 'enum'
;
Explicit
: 'explicit'
;
Export
: 'export'
;
Extern
: 'extern'
;
False1
: 'false'
;
Final
: 'final'
;
Float
: 'float'
;
For
: 'for'
;
Friend
: 'friend'
;
Goto
: 'goto'
;
If
: 'if'
;
Inline
: 'inline'
;
Int
: 'int'
;
Long
: 'long'
;
Mutable
: 'mutable'
;
Namespace
: 'namespace'
;
New
: 'new'
;
Noexcept
: 'noexcept'
;
Nullptr
: 'nullptr'
;
Operator
: 'operator'
;
Override
: 'override'
;
Private
: 'private'
;
Protected
: 'protected'
;
Public
: 'public'
;
Register
: 'register'
;
Reinterpret_cast
: 'reinterpret_cast'
;
Return
: 'return'
;
Short
: 'short'
;
Signed
: 'signed'
;
Sizeof
: 'sizeof'
;
Static
: 'static'
;
Static_assert
: 'static_assert'
;
Static_cast
: 'static_cast'
;
Struct
: 'struct'
;
Switch
: 'switch'
;
Template
: 'template'
;
This
: 'this'
;
Thread_local
: 'thread_local'
;
Throw
: 'throw'
;
True1
: 'true'
;
Try
: 'try'
;
Typedef
: 'typedef'
;
Typeid_
: 'typeid'
;
Typename_
: 'typename'
;
Union
: 'union'
;
Unsigned
: 'unsigned'
;
Using
: 'using'
;
Virtual
: 'virtual'
;
Void
: 'void'
;
Volatile
: 'volatile'
;
Wchar
: 'wchar_t'
;
While
: 'while'
;
/*Operators*/
LeftParen
: '('
;
RightParen
: ')'
;
LeftBracket
: '['
;
RightBracket
: ']'
;
LeftBrace
: '{'
;
RightBrace
: '}'
;
Plus
: '+'
;
Minus
: '-'
;
Star
: '*'
;
Div
: '/'
;
Mod
: '%'
;
Caret
: '^'
;
And
: '&'
;
Or
: '|'
;
Tilde
: '~'
;
Not
: '!'
| 'not'
;
Assign
: '='
;
Less
: '<'
;
Greater
: '>'
;
PlusAssign
: '+='
;
MinusAssign
: '-='
;
StarAssign
: '*='
;
DivAssign
: '/='
;
ModAssign
: '%='
;
XorAssign
: '^='
;
AndAssign
: '&='
;
OrAssign
: '|='
;
LeftShift
: '<<'
;
RightShift
:
'>>'
;
LeftShiftAssign
: '<<='
;
RightShiftAssign
:
'>>='
;
Equal
: '=='
;
NotEqual
: '!='
;
LessEqual
: '<='
;
GreaterEqual
: '>='
;
AndAnd
: '&&'
| 'and'
;
OrOr
: '||'
| 'or'
;
PlusPlus
: '++'
;
MinusMinus
: '--'
;
Comma
: ','
;
ArrowStar
: '->*'
;
Arrow
: '->'
;
Question
: '?'
;
Colon
: ':'
;
Doublecolon
: '::'
;
Semi
: ';'
;
Dot
: '.'
;
DotStar
: '.*'
;
Ellipsis
: '...'
;
theoperator
: New #theoperator1
| Delete #theoperator2
| New '[' ']' #theoperator3
| Delete '[' ']' #theoperator4
| '+' #theoperator5
| '-' #theoperator6
| '*' #theoperator7
| '/' #theoperator8
| '%' #theoperator9
| '^' #theoperator10
| '&' #theoperator11
| '|' #theoperator12
| '~' #theoperator13
| '!' #theoperator14
| 'not' #theoperator15
| '=' #theoperator16
| '<' #theoperator17
| '>' #theoperator18
| '+=' #theoperator19
| '-=' #theoperator20
| '*=' #theoperator21
| '/=' #theoperator22
| '%=' #theoperator23
| '^=' #theoperator24
| '&=' #theoperator25
| '|=' #theoperator26
| LeftShift #theoperator27
| RightShift #theoperator28
| RightShiftAssign #theoperator29
| LeftShiftAssign #theoperator30
| '==' #theoperator31
| '!=' #theoperator32
| '<=' #theoperator33
| '>=' #theoperator34
| '&&' #theoperator35
| 'and' #theoperator36
| '||' #theoperator37
| 'or' #theoperator38
| '++' #theoperator39
| '--' #theoperator40
| ',' #theoperator41
| '->*' #theoperator42
| '->' #theoperator43
| '(' ')' #theoperator44
| '[' ']' #theoperator45
;
/*Fragments*/
Identifier
: Identifiernondigit (Identifiernondigit | DIGIT)*
;
fragment Identifiernondigit
: NONDIGIT
| Universalcharactername
;
fragment NONDIGIT
: [a-zA-Z_]
;
fragment DIGIT
: [0-9]
;
fragment Hexquad
: HEXADECIMALDIGIT HEXADECIMALDIGIT HEXADECIMALDIGIT HEXADECIMALDIGIT
;
fragment Universalcharactername
: '\\u' Hexquad
| '\\U' Hexquad Hexquad
;
literal
: Integerliteral #literal1
| Characterliteral #literal2
| Floatingliteral #literal3
| Stringliteral #literal4
| booleanliteral #literal5
| pointerliteral #literal6
| userdefinedliteral #literal7
;
Integerliteral
: Decimalliteral Integersuffix?
| Octalliteral Integersuffix?
| Hexadecimalliteral Integersuffix?
| Binaryliteral Integersuffix?
;
Decimalliteral
: NONZERODIGIT ('\''? DIGIT)*
;
Octalliteral
: '0' ('\''? OCTALDIGIT)*
;
Hexadecimalliteral
: ('0x' | '0X') HEXADECIMALDIGIT ('\''? HEXADECIMALDIGIT)*
;
Binaryliteral
: ('0b' | '0B') BINARYDIGIT ('\''? BINARYDIGIT)*
;
fragment NONZERODIGIT
: [1-9]
;
fragment OCTALDIGIT
: [0-7]
;
fragment HEXADECIMALDIGIT
: [0-9a-fA-F]
;
fragment BINARYDIGIT
: [01]
;
Integersuffix
: Unsignedsuffix Longsuffix?
| Unsignedsuffix Longlongsuffix?
| Longsuffix Unsignedsuffix?
| Longlongsuffix Unsignedsuffix?
;
fragment Unsignedsuffix
: [uU]
;
fragment Longsuffix
: [lL]
;
fragment Longlongsuffix
: 'll'
| 'LL'
;
Characterliteral
: '\'' Cchar+ '\''
| 'u' '\'' Cchar+ '\''
| 'U' '\'' Cchar+ '\''
| 'L' '\'' Cchar+ '\''
;
fragment Cchar
: ~ ['\\\r\n]
| Escapesequence
| Universalcharactername
;
fragment Escapesequence
: Simpleescapesequence
| Octalescapesequence
| Hexadecimalescapesequence
;
fragment Simpleescapesequence
: '\\\''
| '\\"'
| '\\?'
| '\\\\'
| '\\a'
| '\\b'
| '\\f'
| '\\n'
| '\\r'
| '\\t'
| '\\v'
;
fragment Octalescapesequence
: '\\' OCTALDIGIT
| '\\' OCTALDIGIT OCTALDIGIT
| '\\' OCTALDIGIT OCTALDIGIT OCTALDIGIT
;
fragment Hexadecimalescapesequence
: '\\x' HEXADECIMALDIGIT+
;
Floatingliteral
: Fractionalconstant Exponentpart? Floatingsuffix?
| Digitsequence Exponentpart Floatingsuffix?
;
fragment Fractionalconstant
: Digitsequence? '.' Digitsequence
| Digitsequence '.'
;
fragment Exponentpart
: 'e' SIGN? Digitsequence
| 'E' SIGN? Digitsequence
;
fragment SIGN
: [+-]
;
fragment Digitsequence
: DIGIT ('\''? DIGIT)*
;
fragment Floatingsuffix
: [flFL]
;
Stringliteral
: Encodingprefix? '"' Schar* '"'
| Encodingprefix? 'R' Rawstring
;
fragment Encodingprefix
: 'u8'
| 'u'
| 'U'
| 'L'
;
fragment Schar
: ~ ["\\\r\n]
| Escapesequence
| Universalcharactername
;
fragment Rawstring
: '"' .*? '(' .*? ')' .*? '"'
;
booleanliteral
: False1 #booleanliteral1
| True1 #booleanliteral2
;
pointerliteral
: Nullptr
;
userdefinedliteral
: Userdefinedintegerliteral #userdefinedliteral1
| Userdefinedfloatingliteral #userdefinedliteral2
| Userdefinedstringliteral #userdefinedliteral3
| Userdefinedcharacterliteral #userdefinedliteral4
;
Userdefinedintegerliteral
: Decimalliteral Udsuffix
| Octalliteral Udsuffix
| Hexadecimalliteral Udsuffix
| Binaryliteral Udsuffix
;
Userdefinedfloatingliteral
: Fractionalconstant Exponentpart? Udsuffix
| Digitsequence Exponentpart Udsuffix
;
Userdefinedstringliteral
: Stringliteral Udsuffix
;
Userdefinedcharacterliteral
: Characterliteral Udsuffix
;
fragment Udsuffix
: Identifier
;
Whitespace
: [ \t]+ -> channel(HIDDEN)
;
Newline
: ('\r' '\n'? | '\n') -> channel(HIDDEN)
;
BlockComment
: '/*' .*? '*/' -> channel(HIDDEN)
;
LineComment
: '//' ~ [\r\n]* -> channel(HIDDEN)
;
| 20.035197
| 116
| 0.701018
|
01d87229046af4c19a589da36860cecb46759eb7
| 36,157
|
g4
|
ANTLR
|
src/main/gov/nasa/jpf/inspector/server/expression/ExpressionGrammar.g4
|
fossabot/jpf-inspector
|
149708aa3f68749123b912f327af34db29b492e0
|
[
"Apache-2.0"
] | 4
|
2018-11-21T09:42:37.000Z
|
2021-12-04T21:42:55.000Z
|
src/main/gov/nasa/jpf/inspector/server/expression/ExpressionGrammar.g4
|
fossabot/jpf-inspector
|
149708aa3f68749123b912f327af34db29b492e0
|
[
"Apache-2.0"
] | 1
|
2020-06-01T08:23:02.000Z
|
2020-06-01T08:23:02.000Z
|
src/main/gov/nasa/jpf/inspector/server/expression/ExpressionGrammar.g4
|
fossabot/jpf-inspector
|
149708aa3f68749123b912f327af34db29b492e0
|
[
"Apache-2.0"
] | 4
|
2016-09-27T10:00:55.000Z
|
2021-09-26T05:09:13.000Z
|
//
// Copyright (C) 2010 United States Government as represented by the
// Administrator of the National Aeronautics and Space Administration
// (NASA). All Rights Reserved.
//
// This software is distributed under the NASA Open Source Agreement
// (NOSA), version 1.3. The NOSA has been approved by the Open Source
// Initiative. See the file NOSA-1.3-JPF at the top of the distribution
// directory tree for the complete NOSA document.
//
// THE SUBJECT SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY OF ANY
// KIND, EITHER EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT
// LIMITED TO, ANY WARRANTY THAT THE SUBJECT SOFTWARE WILL CONFORM TO
// SPECIFICATIONS, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR
// A PARTICULAR PURPOSE, OR FREEDOM FROM INFRINGEMENT, ANY WARRANTY THAT
// THE SUBJECT SOFTWARE WILL BE ERROR FREE, OR ANY WARRANTY THAT
// DOCUMENTATION, IF PROVIDED, WILL CONFORM TO THE SUBJECT SOFTWARE.
//
grammar ExpressionGrammar;
options {
language=Java;
}
@header{
package gov.nasa.jpf.inspector.server.expression.generated;
import gov.nasa.jpf.inspector.server.expression.*;
import gov.nasa.jpf.inspector.server.expression.expressions.*;
import gov.nasa.jpf.inspector.server.programstate.relop.*;
import gov.nasa.jpf.inspector.server.breakpoints.*;
import gov.nasa.jpf.inspector.utils.parser.*;
import gov.nasa.jpf.inspector.utils.*;
import gov.nasa.jpf.inspector.utils.expressions.*;
import gov.nasa.jpf.inspector.interfaces.*;
import gov.nasa.jpf.inspector.interfaces.CommandsInterface.StepType;
}
allKeyWordsIDFLike
: TOKEN_AND
| TOKEN_ALL
| TOKEN_ANY
| TOKEN_ARRAY
| TOKEN_ASSERT
| TOKEN_B
| TOKEN_BEGIN
| TOKEN_BOTH
| TOKEN_CHOICE_GENERATOR
| TOKEN_CLASS
| TOKEN_CONDITION
| TOKEN_D
| TOKEN_DATA
| TOKEN_E
| TOKEN_F
| TOKEN_END
| TOKEN_EXCEPTION_THROWN
| TOKEN_FIELD_ACCESS
| TOKEN_FIELD_READ
| TOKEN_FIELD_WRITE
| TOKEN_GARBAGE_COLLECTION
| TOKEN_HIT_COUNT
| TOKEN_IN
| TOKEN_INFINITY
| TOKEN_INSTRUCTION
| TOKEN_INSTRUCTION_TYPE
| TOKEN_INVOKE
| TOKEN_L
| TOKEN_LOCAL_ACCESS
| TOKEN_LOCAL_READ
| TOKEN_LOCAL_WRITE
| TOKEN_ATTRIBUTE_ACCESS
| TOKEN_ATTRIBUTE_READ
| TOKEN_ATTRIBUTE_WRITE
| TOKEN_LOCK
| TOKEN_METHOD
| TOKEN_NAN
| TOKEN_NEGATIVE_INFINITY1
| TOKEN_NONE
| TOKEN_NOT
| TOKEN_NOTIFY
| TOKEN_METHOD_INVOKE
| TOKEN_OBJECT_CREATED
| TOKEN_OBJECT_RELEASED
| TOKEN_OR
| TOKEN_POSITION
| TOKEN_POSITIVE_INFINITY1
| TOKEN_PROPERTY_VIOLATED
| TOKEN_RETURN
| TOKEN_SCHEDULING
| TOKEN_STACK_FRAME
| TOKEN_STATE_ADVANCED
| TOKEN_STEP_IN
| TOKEN_STEP_OUT
| TOKEN_STEP_OVER
| TOKEN_SYNC_BLOCK
| TOKEN_THREAD
| TOKEN_THREAD_SCHEDULED
| TOKEN_X
;
// fieldName cannot be a java keyword
javaKeyWords
: TOKEN_FALSE
| TOKEN_NULL
| TOKEN_TRUE
;
//Non IDF keywords
allKeywordsOther
: TOKEN_HASH_FIELD
| TOKEN_HASH_HEAP
| TOKEN_HASH_STACK_FRAME
| TOKEN_HASH_STACK_SLOT
| TOKEN_HASH_THREAD
| TOKEN_HASH_THIS
| TOKEN_HASH_STATIC
| TOKEN_HASH_SUPER
| TOKEN_NEGATIVE_INFINITY2
| TOKEN_NOT_A_NUMBER
| TOKEN_POSITIVE_INFINITY2
| SIGN_ASTERISK
| SIGN_BACK_SHLASH
| SIGN_DOLAR
| SIGN_DOT
| SIGN_DOUBLE_QUOTE
| SIGN_EQUALS
| SIGN_MINUS
| SIGN_PLUS
| SIGN_SINGLE_QUOTE
| ESCAPE_SEQ_B
| ESCAPE_SEQ_T
| ESCAPE_SEQ_N
| ESCAPE_SEQ_F
| ESCAPE_SEQ_R
| ESCAPE_SEQ_DOUBLE_QUOTE
| ESCAPE_SEQ_SINGLE_QUOTE
| ESCAPE_SEQ_BACKSLASH
| ESCAPE_SEQ_OCTAL
| ESCAPE_SEQ_UNICODE
| RELOP_EQUAL
| RELOP_NOT_EQUAL
| RELOP_LESS_THAN
| RELOP_LESS_OR_EQUAL_THAN
| RELOP_GREATER_THAN
| RELOP_GREATER_OR_EQUAL_THAN
;
className returns [ClassName cn]
: classNameText { $cn = new ClassName($classNameText.text); }
;
fileName returns [String text]
: fileNameText { $text = $fileNameText.text; }
;
classAndFieldName returns [FieldName fn]
: className WS? ':' WS? fieldName[$className.cn] { $fn = $fieldName.fn; }
;
fieldName [ClassName cn] returns [FieldName fn]
: idf { $fn = new FieldName($idf.text, cn); }
;
methodName [ClassName cn] returns [MethodName mn]
: idf { $mn = new MethodName($idf.text, cn); }
;
cmdBreakpointsCreateParams [ExpressionFactory expFactory] returns [ExpressionBoolean bp]
: a=cmdBreakpointsCreateParams1[expFactory] {$bp = $a.bp; } EOF
;
cmdBreakpointsCreateParams1 [ExpressionFactory expFactory] returns [ExpressionBoolean bp]
: WS? TOKEN_NOT WS? a3=cmdBreakpointsCreateParams1[expFactory] { $bp = expFactory.getBreakpointNot($a3.bp); }
| a=cmdBreakpointsCreateParamsAtomNotTerminateIDF[expFactory] {$bp = $a.bp; }
( (TOKEN_AND b=cmdBreakpointsCreateParams1[expFactory] { $bp = expFactory.getBreakpointOperatorAnd($a.bp, $b.bp); } ) |
(TOKEN_OR b=cmdBreakpointsCreateParams1[expFactory] { $bp = expFactory.getBreakpointOperatorOr ($a.bp, $b.bp); } )
)?
| a2=cmdBreakpointsCreateParamsAtomTerminateIDF[expFactory] {$bp = $a2.bp; }
( (WS TOKEN_AND b2=cmdBreakpointsCreateParams1[expFactory] { $bp = expFactory.getBreakpointOperatorAnd($a2.bp, $b2.bp); } ) |
(WS TOKEN_OR b2=cmdBreakpointsCreateParams1[expFactory] { $bp = expFactory.getBreakpointOperatorOr ($a2.bp, $b2.bp); } )
)?
;
cmdBreakpointsCreateParamsAtom [ExpressionFactory expFactory] returns [ExpressionBoolean bp]
: a=cmdBreakpointsCreateParamsAtomNotTerminateIDF[expFactory] { $bp = $a.bp; } EOF
| b=cmdBreakpointsCreateParamsAtomTerminateIDF[expFactory] { $bp = $b.bp; } EOF
;
cmdBreakpointsCreateParamsAtomNotTerminateIDF [ExpressionFactory expFactory] returns [ExpressionBoolean bp]
: WS? TOKEN_GARBAGE_COLLECTION WS? '=' WS? cmdGarbageCollectionSpec WS? { $bp = expFactory.getBreakpointGarbageCollection($cmdGarbageCollectionSpec.bpMode); }
| WS? TOKEN_CHOICE_GENERATOR WS? '=' WS? cmdChoiceGeneratorType WS? { $bp = expFactory.getBreakpointChoiceGenerator($cmdChoiceGeneratorType.bpMode); }
| WS? TOKEN_INSTRUCTION_TYPE WS? '=' WS? cmdInstructionTypes WS? { $bp = expFactory.getBreakpointInstructionType($cmdInstructionTypes.instructionType); }
| WS? TOKEN_POSITION WS? '=' WS? fileName WS? ':' WS? intValue WS? { $bp = expFactory.getExpBreakpointPosition($fileName.text, $intValue.value); }
| WS? TOKEN_PROPERTY_VIOLATED WS? { $bp = expFactory.getBreakpoointPropertyViolated(); }
| WS? TOKEN_THREAD_SCHEDULED WS? '=' WS? cmdThreadScheduledDirection WS? (':' WS? intValue WS?)?
{ $bp = expFactory.getBreakpointThreadScheduled(
$cmdThreadScheduledDirection.bpMode,
($intValue.ctx !=null? $intValue.value : null)
); }
| WS? TOKEN_STATE_ADVANCED WS? { $bp = expFactory.getBreakpointStateAdvanced(); }
| WS? '(' a=cmdBreakpointsCreateParams1[expFactory] ')' WS? { $bp = $a.bp; }
| WS? TOKEN_SPECIFIC_INSTRUCTION WS? TOKEN_THREAD WS? '=' WS? tid=intValue WS? TOKEN_INSTRUCTION WS? '=' WS? className WS? ':' WS? methodName[$className.cn] WS? ':' WS? instIndex=intValue WS? TOKEN_HIT_COUNT WS? '=' WS? hc=intValue WS? { $bp = expFactory.getBreakpointInstruction($tid.value, $methodName.mn, $instIndex.value, $hc.value); }
| WS? TOKEN_ASSERT WS? '(' fileName WS? ':' WS? intValue WS? ')' WS? '(' cmdBreakpointsCreateParams1[expFactory] ')' { $bp = expFactory.getBreakpointAssert(expFactory.getExpBreakpointPosition($fileName.text, $intValue.value), $cmdBreakpointsCreateParams1.bp); }
| WS? idf WS? '(' (WS? exprs=comma_separated_expressions[expFactory])? WS? ')' WS?
{ $bp = expFactory.getCustomHitCondition($idf.text, $exprs.ctx != null ? $exprs.expressions : new Expressions() ); }
;
comma_separated_expressions [ExpressionFactory expFactory] returns [Expressions expressions]
: a=nonCommaText WS? ',' WS? exprs=comma_separated_expressions[expFactory]
{ $expressions = $exprs.expressions; $expressions.insert($a.text); }
| b=nonCommaText { $expressions = new Expressions(); $expressions.insert($b.text); }
;
nonCommaText
: (~',') nonCommaText
| (~',')
;
cmdBreakpointsCreateParamsAtomTerminateIDF [ExpressionFactory expFactory] returns [ExpressionBoolean bp]
: WS? fieldAccess WS? '=' WS? className WS? ':' WS? fieldName[$className.cn] WS?
{ $bp = expFactory.getBreakpointFieldAccess($fieldAccess.bpMode, $fieldName.fn); }
| WS? TOKEN_METHOD_INVOKE WS? '=' WS? className WS? ':' WS? methodName[$className.cn] WS?
{ $bp = expFactory.getBreakpointMethodInvoke(BreakPointModes.BP_MODE_METHOD_INVOKE, $methodName.mn); }
| WS? TOKEN_OBJECT_CREATED WS? '=' WS? className WS?
{ $bp = expFactory.getBreakpointObjectCreated($className.cn); }
| WS? TOKEN_OBJECT_RELEASED WS? '=' WS? className WS?
{ $bp = expFactory.getBreakpointObjectReleased($className.cn); }
| WS? TOKEN_EXCEPTION_THROWN WS? '=' WS? className WS?
{ $bp = expFactory.getBreakpointExpecptionThrown($className.cn); }
| WS? TOKEN_CLASS WS? '=' WS? className WS?
{ $bp = expFactory.getBreakpointClass($className.cn); }
| WS? TOKEN_METHOD WS? '=' WS? methodName[new ClassName("*")] WS?
{ $bp = expFactory.getBreakpointMethod($methodName.mn); }
| WS? TOKEN_METHOD WS? '=' WS? className WS? ':' WS? methodName[$className.cn] WS?
{ $bp = expFactory.getBreakpointMethod($methodName.mn); }
| WS? TOKEN_LOCAL_ACCESS WS? '=' WS? idf WS? { $bp = expFactory.getBreakpointLocalAccess($idf.text); }
| WS? TOKEN_LOCAL_READ WS? '=' WS? idf WS? { $bp = expFactory.getBreakpointLocalRead($idf.text); }
| WS? TOKEN_LOCAL_WRITE WS? '=' WS? idf WS? { $bp = expFactory.getBreakpointLocalWrite($idf.text); }
| WS? TOKEN_ATTRIBUTE_ACCESS WS? '=' WS? idf WS? { $bp = expFactory.getBreakpointAttrAccess($idf.text); }
| WS? TOKEN_ATTRIBUTE_READ WS? '=' WS? idf WS? { $bp = expFactory.getBreakpointAttrRead($idf.text); }
| WS? TOKEN_ATTRIBUTE_WRITE WS? '=' WS? idf WS? { $bp = expFactory.getBreakpointAttrWrite($idf.text); }
| WS? TOKEN_ATTRIBUTE_ACCESS WS? '=' WS? className WS? ':' WS? fieldName[$className.cn] WS?
{ $bp = expFactory.getBreakpointAttrAccess($fieldName.fn); }
| WS? TOKEN_ATTRIBUTE_READ WS? '=' WS? className WS? ':' WS? fieldName[$className.cn] WS?
{ $bp = expFactory.getBreakpointAttrRead($fieldName.fn); }
| WS? TOKEN_ATTRIBUTE_WRITE WS? '=' WS? className WS? ':' WS? fieldName[$className.cn] WS?
{ $bp = expFactory.getBreakpointAttrWrite($fieldName.fn); }
| l=cmdStateExpression1Value[expFactory] relOp[expFactory] r=cmdStateExpression1Value[expFactory]
{ $bp = expFactory.getBreakpointCompare($l.expr, $relOp.relop, $r.expr); }
;
allKeyWords returns [String text]
: a=allKeyWordsIDFLike { $text = $a.text; }
| b=allKeywordsOther { $text = $b.text; }
| c=javaKeyWords { $text = $c.text; }
;
fieldAccess returns [BreakPointModes bpMode]
: TOKEN_FIELD_ACCESS { $bpMode = BreakPointModes.BP_MODE_FIELD_ACCESS; }
| TOKEN_FIELD_READ { $bpMode = BreakPointModes.BP_MODE_FIELD_ACCESS_READ; }
| TOKEN_FIELD_WRITE { $bpMode = BreakPointModes.BP_MODE_FIELD_ACCESS_WRITE; }
;
cmdGarbageCollectionSpec returns [BreakPointModes bpMode]
: TOKEN_BEGIN { $bpMode = BreakPointModes.BP_MODE_GC_BEGIN; }
| TOKEN_END { $bpMode = BreakPointModes.BP_MODE_GC_END; }
| TOKEN_BOTH { $bpMode = BreakPointModes.BP_MODE_GC_BOTH; }
| TOKEN_ALL { $bpMode = BreakPointModes.BP_MODE_GC_BOTH; }
;
cmdChoiceGeneratorType returns [BreakPointModes bpMode]
: TOKEN_DATA { $bpMode = BreakPointModes.BP_MODE_CHOICE_DATA; }
| TOKEN_SCHEDULING { $bpMode = BreakPointModes.BP_MODE_CHOICE_SCHEDULING; }
| TOKEN_BOTH { $bpMode = BreakPointModes.BP_MODE_CHOICE_BOTH; }
| TOKEN_ALL { $bpMode = BreakPointModes.BP_MODE_CHOICE_BOTH; }
;
cmdInstructionTypes returns [InstructionType instructionType]
: TOKEN_ANY { $instructionType = InstructionType.ANY; }
| TOKEN_NONE { $instructionType = InstructionType.NONE; }
| TOKEN_INVOKE { $instructionType = InstructionType.INVOKE; }
| TOKEN_RETURN { $instructionType = InstructionType.RETURN; }
| TOKEN_FIELD_ACCESS { $instructionType = InstructionType.FIELD_ACCESS; }
| TOKEN_FIELD_READ { $instructionType = InstructionType.FIELD_READ; }
| TOKEN_FIELD_WRITE { $instructionType = InstructionType.FIELD_WRITE; }
| TOKEN_LOCAL_ACCESS { $instructionType = InstructionType.LOCAL_ACCESS; }
| TOKEN_LOCAL_READ { $instructionType = InstructionType.LOCAL_READ; }
| TOKEN_LOCAL_WRITE { $instructionType = InstructionType.LOCAL_WRITE; }
| TOKEN_CONDITION { $instructionType = InstructionType.IFCOND; }
| TOKEN_LOCK { $instructionType = InstructionType.LOCK; }
| TOKEN_ARRAY { $instructionType = InstructionType.ARRAY; }
;
cmdThreadScheduledDirection returns [BreakPointModes bpMode]
: TOKEN_IN { $bpMode = BreakPointModes.BP_MODE_THREAD_SCHEDULED_IN; }
| TOKEN_OUT { $bpMode = BreakPointModes.BP_MODE_THREAD_SCHEDULED_OUT; }
| TOKEN_BOTH { $bpMode = BreakPointModes.BP_MODE_THREAD_SCHEDULED_BOTH; }
| TOKEN_ALL { $bpMode = BreakPointModes.BP_MODE_THREAD_SCHEDULED_BOTH; }
;
cmdStateAssignment [ExpressionFactory expFactory] returns [ExpressionStateAssignment expr]
: lval=cmdStateExpression1[$expFactory] SIGN_EQUALS rval=cmdStateExpression1[$expFactory] { $expr = $expFactory.getStateAssignment($lval.expr, $rval.expr); } EOF
;
cmdStateAttributeAssignment [ExpressionFactory expFactory] returns [ExpressionStateAttributeAssignment expr]
: lval=cmdStateExpression1[$expFactory] SIGN_EQUALS WS? rval=.*
{ $expr = $expFactory.getStateAttributeAssignment($lval.expr, $rval.text); }
;
cmdStateExpression [ExpressionFactory expFactory] returns [ExpressionStateRootNode expr]
: cmdStateExpression1[$expFactory] { $expr = $cmdStateExpression1.expr; } EOF
;
cmdStateExpression1 [ExpressionFactory expFactory] returns [ExpressionStateRootNode expr]
: WS? cmdStateExpressionThread[$expFactory] { $expr = $cmdStateExpressionThread.expr; }
| WS? cmdStateExpressionHeap[$expFactory] { $expr = $cmdStateExpressionHeap.expr; }
| WS? cmdStateConstValue[$expFactory] WS? { $expr = $cmdStateConstValue.expr; }
;
// This version is able to parse text which represents only values
// no #thread, #thread[0], #stackFrame[0]
// but #stackFrame[0].x is permitted
// The expression has to terminate in the cmdStateExpressionValue* rule
cmdStateExpression1Value [ExpressionFactory expFactory] returns [ExpressionStateRootNode expr]
: WS? cmdStateExpressionThreadValue[$expFactory] { $expr = $cmdStateExpressionThreadValue.expr; }
| WS? cmdStateExpressionHeapValue[$expFactory] { $expr = $cmdStateExpressionHeapValue.expr; }
| WS? cmdStateConstValue[$expFactory] WS? { $expr = $cmdStateConstValue.expr; }
;
cmdStateExpressionThread [ExpressionFactory expFactory] returns [ExpressionStateThread expr]
: TOKEN_HASH_THREAD WS? ('[' WS? intValue WS? ']' WS?)? ('.' WS? a=cmdStateExpressionStackFrame[$expFactory])?
{ $expr = $expFactory.getStateThread($intValue.ctx != null ? $intValue.value : null, $a.ctx != null ? $a.expr : null); }
|
a=cmdStateExpressionStackFrame[$expFactory]
{ $expr = $expFactory.getStateThread(null, $a.expr); }
;
cmdStateExpressionThreadValue [ExpressionFactory expFactory] returns [ExpressionStateThread expr]
: TOKEN_HASH_THREAD WS? ('[' WS? intValue WS? ']' WS?)? ('.' WS? a=cmdStateExpressionStackFrameValue[$expFactory])
{ $expr = $expFactory.getStateThread($intValue.ctx != null ? $intValue.value : null, $a.ctx != null ? $a.expr : null); }
| a=cmdStateExpressionStackFrameValue[$expFactory]
{ $expr = $expFactory.getStateThread(null, $a.expr); }
;
cmdStateExpressionStackFrame [ExpressionFactory expFactory] returns [ExpressionStateStackFrame expr]
: TOKEN_HASH_STACK_FRAME WS? ('[' WS? intValue WS? ']' WS?)?
('.' WS? a=cmdStateExpressionStackFrame1[$expFactory, $intValue.ctx!=null?$intValue.value:null])?
{ $expr = ( $a.ctx !=null ? $a.expr : $expFactory.getStateStackFrame($intValue.ctx!=null?$intValue.value:null, null) ); }
| b=cmdStateExpressionStackFrame1[$expFactory, null] { $expr = $b.expr; }
| { $expr = $expFactory.getStateStackFrame(null, null); }
;
cmdStateExpressionStackFrameValue [ExpressionFactory expFactory] returns [ExpressionStateStackFrame expr]
: TOKEN_HASH_STACK_FRAME WS? ('[' WS? intValue WS? ']' WS?)? ('.' WS? a=cmdStateExpressionStackFrame1[$expFactory, $intValue.ctx!=null?$intValue.value:null])
{ $expr = ( $a.ctx!=null ? $a.expr : $expFactory.getStateStackFrame($intValue.ctx!=null?$intValue.value:null, null) ); }
| b=cmdStateExpressionStackFrame1[$expFactory, null] { $expr = $b.expr; }
;
cmdStateExpressionStackFrame1 [ExpressionFactory expFactory, Integer sfIndex] returns [ExpressionStateStackFrame expr]
: a=cmdStateExpressionValueStackFrameSlot[$expFactory] { $expr = $expFactory.getStateStackFrame($sfIndex, $a.expr); }
| b=cmdStateExpressionValueName[$expFactory] { $expr = $expFactory.getStateStackFrameName($sfIndex, $b.expr); }
| c=cmdStateExpressionValueAfterStackFrame[$expFactory] { $expr = $expFactory.getStateStackFrameThis($sfIndex, $c.expr); }
| d=cmdStateExpressionValueStatic[$expFactory] { $expr = $expFactory.getStateStackFrameStatic($sfIndex, $d.expr); }
;
// This is a special "this" adding rule after stackFrame
cmdStateExpressionValueAfterStackFrame [ExpressionFactory expFactory] returns [ExpressionStateValueThis expr]
: a=cmdStateExpressionValueFieldIndex[$expFactory] { $expr = $expFactory.getStateValueThis($a.expr); }
| c=cmdStateExpressionValueOuterClass[$expFactory] { $expr = $expFactory.getStateValueThis($c.expr); }
| d=cmdStateExpressionValueSuper[$expFactory] { $expr = $expFactory.getStateValueThis($d.expr); }
| e=cmdStateExpressionValueThis[$expFactory] { $expr = $e.expr; }
;
cmdStateExpressionValueFieldIndex [ExpressionFactory expFactory] returns [ExpressionStateValueFieldIndex expr]
: TOKEN_HASH_FIELD WS? '[' WS? intValue WS? ']' WS? a=cmdStateExpressionValue[$expFactory]?
{ $expr = $expFactory.getStateValueFieldIndex($intValue.ctx!=null?$intValue.value:null, $a.ctx != null ? $a.expr : null); }
;
cmdStateExpressionValueName [ExpressionFactory expFactory] returns [ExpressionStateValueName expr]
: idf_fieldName WS? a=cmdStateExpressionValue[$expFactory]?
{ $expr = $expFactory.getStateValueName($idf_fieldName.text, $a.ctx != null ? $a.expr : null); }
;
cmdStateExpressionValueOuterClass [ExpressionFactory expFactory] returns [ExpressionStateValueOuterClass expr]
: TOKEN_HASH_OUTER_CLASS WS? a=cmdStateExpressionValue[$expFactory]?
{ $expr = $expFactory.getStateValueOuterClass($a.ctx != null ? $a.expr : null); }
;
cmdStateExpressionValueStatic [ExpressionFactory expFactory] returns [ExpressionStateValueStatic expr]
: TOKEN_HASH_STATIC WS? '[' WS? intValue WS? ']' WS? a=cmdStateExpressionValue[$expFactory]?
{ $expr = $expFactory.getStateValueStaticArea($intValue.value, $a.ctx != null ? $a.expr : null); }
| TOKEN_HASH_STATIC WS? b=cmdStateExpressionClass[$expFactory]?
{ $expr = $expFactory.getStateValueStaticArea(null, $b.ctx != null ? $b.expr : null); }
;
cmdStateExpressionValueStackFrameSlot [ExpressionFactory expFactory] returns [ExpressionStateStackFrameSlot expr]
: TOKEN_HASH_STACK_SLOT WS? '[' WS? intValue WS? ']' WS? a=cmdStateExpressionValue[$expFactory]?
{ $expr = $expFactory.getStateValueStackFrameSlot($intValue.value, $a.ctx != null ? $a.expr : null); }
;
cmdStateExpressionValueSuper [ExpressionFactory expFactory] returns [ExpressionStateValueSuper expr]
: TOKEN_HASH_SUPER WS? a=cmdStateExpressionValue[$expFactory]?
{ $expr = $expFactory.getStateValueSuper($a.ctx != null ? $a.expr : null); }
;
cmdStateExpressionValueThis [ExpressionFactory expFactory] returns [ExpressionStateValueThis expr]
: TOKEN_HASH_THIS WS? a=cmdStateExpressionValue[$expFactory]?
{ $expr = $expFactory.getStateValueThis($a.ctx != null ? $a.expr : null); }
;
cmdStateExpressionValueArray [ExpressionFactory expFactory] returns [ExpressionStateValue expr]
: '[' WS? intValue WS? ']' WS? a=cmdStateExpressionValue[$expFactory]?
{ $expr = $expFactory.getStateValueArrayIndex($a.ctx != null ? $a.expr : null, $intValue.value); }
;
cmdStateExpressionValue [ExpressionFactory expFactory] returns [ExpressionStateValue expr]
: a=cmdStateExpressionClass[$expFactory] { $expr = $a.expr; }
| b=cmdStateExpressionValueArray[$expFactory] { $expr = $b.expr; }
;
// Represents whole class
cmdStateExpressionClass [ExpressionFactory expFactory] returns [ExpressionStateValue expr]
: '.' WS? a=cmdStateExpressionValueFieldIndex[$expFactory] { $expr = $a.expr; }
| '.' WS? b=cmdStateExpressionValueName[$expFactory] { $expr = $b.expr; }
| '.' WS? c=cmdStateExpressionValueOuterClass[$expFactory] { $expr = $c.expr; }
| '.' WS? d=cmdStateExpressionValueSuper[$expFactory] { $expr = $d.expr; }
| '.' WS? e=cmdStateExpressionValueThis[$expFactory] { $expr = $e.expr; }
| '.' WS? f=cmdStateExpressionValueStatic[$expFactory] { $expr = $f.expr; }
;
cmdStateExpressionHeap [ExpressionFactory expFactory] returns [ExpressionStateRootNode expr]
: TOKEN_HASH_HEAP WS? '[' WS? intValue WS? ']' WS? a=cmdStateExpressionValue[$expFactory]?
{ $expr = $expFactory.getStateHeap($intValue.value, $a.ctx != null ? $a.expr : null); }
| TOKEN_HASH_HEAP WS? '[' WS? className WS? ']' WS?
{ $expr = $expFactory.getStateHeap($className.cn); }
| TOKEN_HASH_STATIC WS? '[' WS? className WS? ']' WS?
{ $expr = $expFactory.getStateStaticArea($className.cn); }
;
cmdStateExpressionHeapValue [ExpressionFactory expFactory] returns [ExpressionStateRootNode expr]
: TOKEN_HASH_HEAP WS? '[' WS? intValue WS? ']' WS? a=cmdStateExpressionValue[$expFactory]?
{ $expr = $expFactory.getStateHeap($intValue.value, $a.ctx != null ? $a.expr : null); }
;
cmdStateConstValue [ExpressionFactory expFactory] returns [ExpressionStateRootNode expr]
: booleanValue { $expr = expFactory.getConstValueBoolean($booleanValue.value); }
| charValue { $expr = expFactory.getConstValueChar ($charValue.value); }
| intValue { $expr = expFactory.getConstValueInteger($intValue.value); }
| longValue { $expr = expFactory.getConstValueLong ($longValue.value); }
| floatValue { $expr = expFactory.getConstValueFloat ($floatValue.value); }
| doubleValueLimited { $expr = expFactory.getConstValueDouble ($doubleValueLimited.value); }
| stringValue { $expr = expFactory.getConstValueString ($stringValue.value); }
| nullValue { $expr = expFactory.getConstValueNull (); }
;
relOp [ExpressionFactory expFactory] returns [RelationOperator relop]
: RELOP_EQUAL { $relop = expFactory.getRelopFactory().getRelOpEqual(); }
| RELOP_NOT_EQUAL { $relop = expFactory.getRelopFactory().getRelOpNotEqual(); }
| RELOP_LESS_THAN { $relop = expFactory.getRelopFactory().getRelOpLessThan(); }
| RELOP_LESS_OR_EQUAL_THAN { $relop = expFactory.getRelopFactory().getRelOpLessEqual(); }
| RELOP_GREATER_THAN { $relop = expFactory.getRelopFactory().getRelOpGreaterThan(); }
| RELOP_GREATER_OR_EQUAL_THAN { $relop = expFactory.getRelopFactory().getRelOpGreaterEqual(); }
;
booleanValue returns [boolean value]
: TOKEN_TRUE { $value = true; }
| TOKEN_FALSE { $value = false; }
;
nullValue returns [Object value]
: TOKEN_NULL { $value = null; }
;
charValue returns [char value]
: CHAR { $value = ExpressionStateValueConstChar.convertToCharWrapped($CHAR.text); }
;
stringValue returns [String value]
: STRING { $value = ExpressionStateValueConstString.convertToStringWrapped($STRING.text); }
;
intValue returns [Integer value]
: INT_TEXT { $value = ExpressionStateValueConstInteger.convertToIntegerWrapped($INT_TEXT.text); }
| INT { $value = ExpressionStateValueConstInteger.convertToIntegerWrapped($INT.text); }
| HEX { $value = ExpressionStateValueConstInteger.convertToIntegerWrapped($HEX.text); }
;
longValue returns [Long value] : LONG_TEXT { $value = ExpressionStateValueConstLong.convertToLongWrapped($LONG_TEXT.text); } ;
doubleValue returns [double value] : doubleText { $value = Double.valueOf($doubleText.text); } ;
floatValue returns [float value] : FLOAT_TEXT { $value = Float.valueOf($FLOAT_TEXT.text); }
;
// Note TOKEN_NEGATIVE_INFINITY1 and TOKEN_POSITIVE_INFINITY1 are parsed as idfField_name and ("special semantic hack") resolves this
doubleValueLimited returns [double value]
: DOUBLE_TEXT_LIMITTED { $value = Double.valueOf($DOUBLE_TEXT_LIMITTED.text); }
| TOKEN_NOT_A_NUMBER { $value = Double.NaN; }
| TOKEN_NEGATIVE_INFINITY2 { $value = Double.NEGATIVE_INFINITY; }
| TOKEN_POSITIVE_INFINITY2 { $value = Double.POSITIVE_INFINITY; }
;
doubleValueExtended returns [double value]
: doubleText { $value = Double.valueOf($doubleText.text); }
| TOKEN_NOT_A_NUMBER { $value = Double.NaN; }
| TOKEN_NEGATIVE_INFINITY1 { $value = Double.NEGATIVE_INFINITY; }
| TOKEN_NEGATIVE_INFINITY2 { $value = Double.NEGATIVE_INFINITY; }
| TOKEN_POSITIVE_INFINITY1 { $value = Double.POSITIVE_INFINITY; }
| TOKEN_POSITIVE_INFINITY2 { $value = Double.POSITIVE_INFINITY; }
;
doubleText
: DOUBLE_TEXT_LIMITTED
| TOKEN_NAN
| TOKEN_INFINITY
;
idf
: idf_fieldName
| javaKeyWords
;
idf_fieldName
: IDF_TEXT_INTERNAL
| allKeyWordsIDFLike
;
classNameText
: idf (( '$' | '.' | SIGN_ASTERISK ) classNameText?)?
| '$' classNameText?
| '.' classNameText? // Standard dot in file name
| SIGN_ASTERISK classNameText? // Regular expression extension
;
fileNameText
: idf ( ('.' | '\\' | '/' | ':' | SIGN_ASTERISK ) fileNameText?)?
| '.' classNameText?
| '\\' classNameText?
| '/' classNameText?
| SIGN_ASTERISK classNameText? // Regular expression extension
;
//**************
// LEXER
WS : (' '|'\n'|'\r'|'\t')+ ;
TOKEN_ALL : 'all';
TOKEN_AND : 'and' ;
TOKEN_ANY : 'any' ;
TOKEN_ARRAY : 'array' ;
TOKEN_ASSERT : 'assert' ;
TOKEN_B : 'b' ;
TOKEN_BEGIN : 'begin' ;
TOKEN_BOTH : 'both' ;
TOKEN_CHOICE_GENERATOR : 'choice_generator' | 'cg' ;
TOKEN_CONDITION : 'condition' | 'cond' ;
TOKEN_D : 'd' | 'D' ;
TOKEN_DATA : 'data' ;
TOKEN_E : 'e' | 'E' ;
TOKEN_F : 'f' | 'F' ;
TOKEN_END : 'end' ;
TOKEN_EXCEPTION_THROWN : 'exception_thrown' | 'et' ;
TOKEN_FALSE : 'false' ;
TOKEN_FIELD_ACCESS : 'field_access' | 'field' | 'fa' ;
TOKEN_FIELD_READ : 'field_read' | 'fr' ;
TOKEN_FIELD_WRITE : 'field_write' | 'fw' ;
TOKEN_GARBAGE_COLLECTION : 'garbage_collection' | 'gc' ;
TOKEN_HASH_FIELD : '#field' ;
TOKEN_HASH_HEAP : '#heap' ;
TOKEN_HASH_OUTER_CLASS : '#outerClass' ;
TOKEN_HASH_STACK_FRAME : '#stackFrame' ;
TOKEN_HASH_STACK_SLOT : '#stackSlot' ;
TOKEN_HASH_THREAD : '#thread' ;
TOKEN_HASH_THIS : '#this' ;
TOKEN_HASH_STATIC : '#static' ;
TOKEN_HASH_SUPER : '#super' ;
TOKEN_HIT_COUNT : 'hit_count' | 'hc' ;
TOKEN_IN : 'in' ;
TOKEN_INFINITY : 'Infinity' ;
TOKEN_INSTRUCTION : 'instruction' | 'inst' ;
TOKEN_INSTRUCTION_TYPE : 'instruction_type' | 'inst_type' | 'it' ;
TOKEN_INVOKE : 'invoke' | 'inv' ;
TOKEN_L : 'l' | 'L' ;
TOKEN_LOCK : 'lock' ;
TOKEN_NAN : 'NaN' ; // Not-a-number
TOKEN_NEGATIVE_INFINITY1 : 'negative_infinity' | 'neg_inf' ;
TOKEN_NEGATIVE_INFINITY2 : '-inf' ;
TOKEN_NONE : 'none' ;
TOKEN_NOT_A_NUMBER : 'not-a-number' ;
TOKEN_NOTIFY : 'notify' ;
TOKEN_NULL : 'null' ;
TOKEN_METHOD_INVOKE : 'method_invoke' | 'mi' ;
TOKEN_OBJECT_CREATED : 'object_created' | 'objc' ;
TOKEN_OBJECT_RELEASED : 'object_released' | 'objr' ;
TOKEN_OR : 'or' ;
TOKEN_OUT : 'out' ;
TOKEN_POSITION : 'position' | 'pos' ;
TOKEN_POSITIVE_INFINITY1 : 'positive_infinity' | 'pos_inf' ;
TOKEN_POSITIVE_INFINITY2 : '+inf' ;
TOKEN_PROPERTY_VIOLATED : 'property_violated' | 'pv' ;
TOKEN_RETURN : 'return' | 'ret' ;
TOKEN_SCHEDULING : 'scheduling' | 'sched' ;
TOKEN_SPECIFIC_INSTRUCTION : 'specific_instruction' ;
TOKEN_STACK_FRAME : 'stack_frame' | 'sf' ;
TOKEN_STATE_ADVANCED : 'state_advanced' | 'sa' ;
TOKEN_STEP_IN : 'step_in' | 'si' ;
TOKEN_STEP_OUT : 'step_out' | 'sout' ;
TOKEN_STEP_OVER : 'step_over' | 'so' ;
TOKEN_SYNC_BLOCK : 'sync_block' | 'sb' ;
TOKEN_THREAD : 'thread' | 'ti' ;
TOKEN_THREAD_SCHEDULED : 'thread_scheduled' | 'ts' ;
TOKEN_TRUE : 'true' ;
TOKEN_X : 'x' | 'X' ;
TOKEN_LOCAL_ACCESS : 'local_access' | 'la';
TOKEN_LOCAL_READ : 'local_read' | 'lr';
TOKEN_LOCAL_WRITE : 'local_write' | 'lw';
TOKEN_ATTRIBUTE_READ : 'attr_read' | 'attribute_read' | 'ar';
TOKEN_ATTRIBUTE_WRITE : 'attr_write' | 'attribute_write' | 'aw';
TOKEN_ATTRIBUTE_ACCESS : 'attr_access' | 'attribute_access' | 'aa';
TOKEN_METHOD : 'method';
TOKEN_CLASS : 'class';
TOKEN_NOT : 'not';
SIGN_ASTERISK : '*' ;
SIGN_BACK_SHLASH : '\\' ;
SIGN_DOLAR : '$' ;
SIGN_DOT : '.' ;
SIGN_DOUBLE_QUOTE : '"' ;
SIGN_EQUALS : '=' ;
SIGN_MINUS : '-' ;
SIGN_PLUS : '+' ;
SIGN_SINGLE_QUOTE : '\'' ;
ESCAPE_SEQ_B : '\\b' ;
ESCAPE_SEQ_T : '\\t' ;
ESCAPE_SEQ_N : '\\n' ;
ESCAPE_SEQ_F : '\\f' ;
ESCAPE_SEQ_R : '\\r' ;
ESCAPE_SEQ_DOUBLE_QUOTE : '\\"' ;
ESCAPE_SEQ_SINGLE_QUOTE : '\\\'' ;
ESCAPE_SEQ_BACKSLASH : '\\\\' ;
ESCAPE_SEQ_OCTAL : '\\' ((('0' .. '3')( '0' .. '7')('0' .. '7')) | (( '0' .. '7')('0' .. '7')) | ( '0' .. '7'));
ESCAPE_SEQ_UNICODE : '\\u' ('0' .. '9' | 'a' .. 'f' | 'A' .. 'F') ('0' .. '9' | 'a' .. 'f' | 'A' .. 'F') ('0' .. '9' | 'a' .. 'f' | 'A' .. 'F') ('0' .. '9' | 'a' .. 'f' | 'A' .. 'F') ;
RELOP_EQUAL : '==' ;
RELOP_NOT_EQUAL : '!=' ;
RELOP_LESS_THAN : '<' ;
RELOP_LESS_OR_EQUAL_THAN : '<=' ;
RELOP_GREATER_THAN : '>' ;
RELOP_GREATER_OR_EQUAL_THAN : '>=' ;
// **************************************************************************************
// **************************************************************************************
// **************************************************************************************
// Only for internal purposes don't use directly (use idf, intValue etc) instead following tokens
HEX : '0' TOKEN_X ('0'..'9'|'A'..'F'|'a'..'f')+;
INT : '0' .. '9'+ ;
IDF_TEXT_INTERNAL : ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0' .. '9')* ;
CHAR
: SIGN_SINGLE_QUOTE (
(~'\\') | // All non excape characters
( ESCAPE_SEQ_B | ESCAPE_SEQ_T | ESCAPE_SEQ_N | ESCAPE_SEQ_F | ESCAPE_SEQ_R | ESCAPE_SEQ_DOUBLE_QUOTE | ESCAPE_SEQ_SINGLE_QUOTE | ESCAPE_SEQ_BACKSLASH | ESCAPE_SEQ_OCTAL | ESCAPE_SEQ_UNICODE )
) SIGN_SINGLE_QUOTE ;
STRING
: SIGN_DOUBLE_QUOTE (
(~'\\') | // All non excape characters
( ESCAPE_SEQ_B | ESCAPE_SEQ_T | ESCAPE_SEQ_N | ESCAPE_SEQ_F | ESCAPE_SEQ_R | ESCAPE_SEQ_DOUBLE_QUOTE | ESCAPE_SEQ_SINGLE_QUOTE | ESCAPE_SEQ_BACKSLASH | ESCAPE_SEQ_OCTAL | ESCAPE_SEQ_UNICODE )
)* SIGN_DOUBLE_QUOTE ;
INT_TEXT
: SIGN_PLUS INT
| SIGN_MINUS INT
| SIGN_PLUS HEX
| SIGN_MINUS HEX
;
LONG_TEXT
: SIGN_PLUS INT TOKEN_L
| SIGN_MINUS INT TOKEN_L
| INT TOKEN_L
| SIGN_PLUS HEX TOKEN_L
| SIGN_MINUS HEX TOKEN_L
| HEX TOKEN_L
;
// The NaN and Infiniti are considered to be Double + (hack if assigned to float value)
FLOAT_TEXT
: (SIGN_PLUS | SIGN_MINUS)? INT SIGN_DOT INT? (TOKEN_F)
| (SIGN_PLUS | SIGN_MINUS)? SIGN_DOT INT (TOKEN_F)
| (SIGN_PLUS | SIGN_MINUS)? INT SIGN_DOT INT? TOKEN_E (SIGN_PLUS | SIGN_MINUS)? INT (TOKEN_F)
| (SIGN_PLUS | SIGN_MINUS)? SIGN_DOT INT TOKEN_E (SIGN_PLUS | SIGN_MINUS)? INT (TOKEN_F)
| (SIGN_PLUS | SIGN_MINUS)? INT TOKEN_E (SIGN_PLUS | SIGN_MINUS)? INT (TOKEN_F)
| (SIGN_PLUS | SIGN_MINUS)? INT (TOKEN_F)
;
// Note NaN and Infinity are parsed as idfField_name ("special semantic hack") resolves this
DOUBLE_TEXT_LIMITTED
: (SIGN_PLUS | SIGN_MINUS)? INT SIGN_DOT INT? (TOKEN_D)?
| (SIGN_PLUS | SIGN_MINUS)? SIGN_DOT INT (TOKEN_D)?
| (SIGN_PLUS | SIGN_MINUS)? INT SIGN_DOT INT? TOKEN_E (SIGN_PLUS | SIGN_MINUS)? INT (TOKEN_D)?
| (SIGN_PLUS | SIGN_MINUS)? SIGN_DOT INT TOKEN_E (SIGN_PLUS | SIGN_MINUS)? INT (TOKEN_D)?
| (SIGN_PLUS | SIGN_MINUS)? INT TOKEN_E (SIGN_PLUS | SIGN_MINUS)? INT (TOKEN_D)?
| (SIGN_PLUS | SIGN_MINUS)? INT (TOKEN_D)
| (SIGN_PLUS | SIGN_MINUS) TOKEN_NAN
| (SIGN_PLUS | SIGN_MINUS) TOKEN_INFINITY
;
| 50.078947
| 385
| 0.628205
|
c345ed1293b904d7a7e12ca910acbe454518eb4f
| 3,291
|
g4
|
ANTLR
|
asyncFlow/java/aflux-tool-commonanalytics/src/main/antlr4/CommonAnalytics.g4
|
Raj-S-Singh/aflux
|
720cf1a27c55ccd90f0b509f2889b7393527e7e9
|
[
"Apache-2.0"
] | 9
|
2019-06-24T09:08:19.000Z
|
2021-04-02T08:29:59.000Z
|
asyncFlow/java/aflux-tool-commonanalytics/src/main/antlr4/CommonAnalytics.g4
|
Raj-S-Singh/aflux
|
720cf1a27c55ccd90f0b509f2889b7393527e7e9
|
[
"Apache-2.0"
] | 1
|
2022-03-31T20:11:32.000Z
|
2022-03-31T20:11:32.000Z
|
asyncFlow/java/aflux-tool-commonanalytics/src/main/antlr4/CommonAnalytics.g4
|
Raj-S-Singh/aflux
|
720cf1a27c55ccd90f0b509f2889b7393527e7e9
|
[
"Apache-2.0"
] | 9
|
2019-06-20T16:46:17.000Z
|
2022-03-06T12:44:59.000Z
|
grammar CommonAnalytics;
tokens {LOAD,TO,SHOW,COLUMNS,SUMMARIZE,FILTER,KEYS,JOIN,MATCH,TRUE,FALSE,AND,OR,NOT,AS}
script: (sentence)*;
alias_name: (LETTER|DIGIT|valid_id_char)+;
sentence: load_sentence
| show_sentence
| select_sentence
| join_sentence
| summarize_sentence ;
load_sentence: 'LOAD' file_name 'TO' collection_name 'STRUCTURE' '(' structure_definition_list ')' eol;
show_sentence: 'SHOW' collection_name eol;
select_sentence: collection_name '=' 'SELECT' collection_name '(' expression_list ')' 'FILTER' '(' (condition_list)? ')' eol;
summarize_sentence: collection_name '=' 'SUMMARIZE' collection_name '(' (summary_expression_list)? ')' 'KEYS' '(' (groupby_list)? ')' eol;
join_sentence: collection_name '=' 'JOIN' collection_name 'AND' collection_name 'COLUMNS' '(' expression_list ')' 'MATCH' '(' (matching_list)? ')' eol;
file_name: string_literal;
collection_name: (database_name '.' )? alias_name;
eol: ';';
expression_list: '*'|(expression|expression(',' expression_list)*);
condition_list: boolean_expression | boolean_expression (',' condition_list)*;
groupby_list: '*'| groupby_clause|groupby_clause(',' groupby_list)*;
summary_expression_list:summary_expression_and_alias|summary_expression_and_alias(',' summary_expression_list)*;
matching_list:matching_clause|matching_clause(',' matching_list)*;
database_name: alias_name;
expression:simple_expression|'(' expression ')'|'[' expression ']'|'{' expression '}';
groupby_clause: collection_name;
summary_expression_and_alias: summary_expression 'AS' alias_name;
summary_expression: ( 'SUM(' expression ')') | ('AVG(' expression ')') | ('COUNT()');
matching_clause: collection_name '=' collection_name;
valid_id_char: '-'|'_';
valid_file_path_char: valid_id_char|'/'|'.';
simple_expression: string_expression | boolean_expression | numeric_expression ;
string_expression:
string_literal | collection_name | string_literal string_operator string_literal ;
boolean_expression:
boolean_constant |
collection_name |
boolean_expression 'AND' boolean_expression |
boolean_expression 'OR' boolean_expression |
'NOT' boolean_expression |
'(' boolean_expression ')' |
boolean_expression '==' boolean_expression |
comparison ;
boolean_constant: 'TRUE' | 'FALSE';
comparison: numeric_expression comparison_operator numeric_expression | string_expression comparison_operator string_expression ;
numeric_expression: number | collection_name | numeric_expression numeric_operator numeric_expression ;
comparison_operator: '>'|'<'|'>='|'<='|'==';
numeric_operator : '+'|'-'|'*'|'/';
string_operator : '+';
string_literal: '\'' ( '$' '\''? | ~('$' | '\'') )* '\'' ;
brackets_expression: '[' expression_list ']';
braces_expression: '{' expression_list '}';
numeric_operation: number | '(' expression ')' | expression '+' expression | expression '/' expression | expression '-' expression | expression '*' expression;
string_operation: string_literal | collection_name | string_operation '+' string_operation;
number: (DIGIT)+ | (DIGIT)+ '.' (DIGIT)+;
structure_definition_list: structure_definition_field (',' structure_definition_list)*;
structure_definition_field: alias_name ':' data_type;
data_type: 'INT'|'STRING'|'BOOLEAN';
LETTER: [A-Z]|[a-z] ;
DIGIT: [0-9] ;
WS: [ \n\t\r]+ -> skip;
| 50.630769
| 159
| 0.742631
|
dec6b5656c5633d57676b165284face19b296003
| 413
|
apib
|
API Blueprint
|
docs/api/routes/addresses/addressList.apib
|
gabrielmaximo/t10lab-backend
|
7226aadb253b1466ad45bf5d346c81dad1053597
|
[
"MIT"
] | 1
|
2020-01-12T22:18:50.000Z
|
2020-01-12T22:18:50.000Z
|
docs/api/routes/addresses/addressList.apib
|
gabrielmaximo/t10lab-challenge
|
7226aadb253b1466ad45bf5d346c81dad1053597
|
[
"MIT"
] | 2
|
2020-04-05T14:41:37.000Z
|
2021-09-02T03:47:45.000Z
|
docs/api/routes/addresses/addressList.apib
|
gabrielmaximo/t10lab-challenge
|
7226aadb253b1466ad45bf5d346c81dad1053597
|
[
"MIT"
] | null | null | null |
### List addresses [GET /addresses]
*Exibe todas os endereços cadastrados*
+ Request (application/json)
+ Headers
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9
+ Response 200 (application/json)
+ Attributes
<!-- include(../../responses/addressList.apib) -->
+ Response 401 (aplication/json)
+ Attributes
<!-- include(../../util/errorUnauthorized.apib) -->
| 25.8125
| 70
| 0.66586
|
36fc5ae0262702960cda93bff8cfca238a10d2a0
| 3,510
|
apib
|
API Blueprint
|
apiary.apib
|
ogentec/dredd-example
|
db18537d66bccd09ba85782a3da765cc4613a0f7
|
[
"MIT"
] | null | null | null |
apiary.apib
|
ogentec/dredd-example
|
db18537d66bccd09ba85782a3da765cc4613a0f7
|
[
"MIT"
] | null | null | null |
apiary.apib
|
ogentec/dredd-example
|
db18537d66bccd09ba85782a3da765cc4613a0f7
|
[
"MIT"
] | null | null | null |
FORMAT: 1A
# Gist Fox API
Gist Fox API is a sample **pastes service** similar to [GitHub's Gist](http://gist.github.com).
## Media Types
Where applicable this API uses the [HAL+JSON](http://stateless.co/hal_specification.html) media type to represent resources, states and affordances.
Request bodies are using plain JSON to create new resources. Bodies of the PATCH requests are processed according to [RFC7396](https://tools.ietf.org/html/rfc7396).
## Error States
The common [HTTP Response Status Codes](https://github.com/for-GET/know-your-http-well/blob/master/status-codes.md) are used.
## Gist Fox API Root [/]
Gist Fox API entry point. Provides initial API affordances in the form of the HTTP Link header and HAL links.
### Retrieve the Entry Point [GET]
+ Response 200 (application/hal+json)
+ Headers
Link: <http://api.example.com/>;rel="self",<http://api.example.com/gists>;rel="gists"
+ Attributes (Links)
## Gist [/gists/{id}]
A single Gist object. The Gist resource is the central resource in the Gist Fox API. It represents one paste - a single text note.
+ Parameters
+ id: 42 (required, string) - ID of the Gist
### Retrieve a Single Gist [GET]
+ Response 200 (application/hal+json)
+ Headers
Link: <http://api.example.com/gists/42>;rel="self", <http://api.example.com/gists/42/star>;rel="star"
+ Attributes (Gist)
### Edit a Gist [PATCH]
+ Request (application/json)
+ Attributes
+ content: `Updated content...`
+ Response 200 (application/hal+json)
+ Headers
Link: <http://api.example.com/gists/42>;rel="self", <http://api.example.com/gists/42/star>;rel="star"
+ Attributes (Gist)
### Delete a Gist [DELETE]
+ Response 204
## Gists Collection [/gists{?since}]
Collection of Gists.
+ Parameters
+ since: 0 (optional, number) - Timestamp in unix time format. Only Gists updated at or after this time are returned.
### List All Gists [GET]
+ Response 200 (application/hal+json)
+ Headers
Link: <http://api.example.com/gists>;rel="self"
+ Attributes (Gists Collection)
### Create a Gist [POST]
+ Request (application/json)
+ Attributes
+ description: `Gist description...`
+ content: `String content...`
+ Response 201 (application/hal+json)
+ Headers
Link: <http://api.example.com/gists/42>;rel="self", <http://api.example.com/gists/42/star>;rel="star"
+ Attributes (Gist)
## Star [/gists/{id}/star]
Gist's starred status.
+ Parameters
+ id: 42 (required, string) - ID of the Gist
### Star a Gist [PUT]
+ Response 204
### Unstar a Gist [DELETE]
+ Response 204
### Check If a Gist Is Starred [GET]
+ Response 200 (application/hal+json)
+ Headers
Link: <http://api.example.com/gists/42/star>;rel="self"
+ Attributes (Star)
## Data Structures
## Gist
A single Gist object. The Gist resource is the central resource in the Gist Fox API. It represents one paste - a single text note.
- id: `42`
- created_at: `2016-04-14T02:15:15Z`
- description: `Gist description...`
- content: `String content...`
- Include Links
## Gists Collection
Collection of Gists.
- _embedded
- gists (array[Gist])
- total (number) - Total number of listed Gists.
- Include Links
## Star
Gist's starred status.
- starred (boolean)
- Include Links
## Links
HAL links.
- _links
- *self*
- href - URL
- templated (boolean) - Whether the respective URL uses URI Templates
| 22.356688
| 164
| 0.668091
|
35dd05ad8a4f95065da77c15e3ae3ddf17ecad27
| 25,131
|
apib
|
API Blueprint
|
apiary.apib
|
appkr/l5essential
|
428a0051c85ad4988ef63f6d158f681bfb78c765
|
[
"MIT"
] | 180
|
2015-11-05T04:37:17.000Z
|
2021-09-28T01:15:49.000Z
|
apiary.apib
|
hyejing/l5essential
|
9652aee8c380607d245006e91846106df35921b7
|
[
"MIT"
] | 16
|
2015-11-17T00:35:39.000Z
|
2017-11-07T06:06:41.000Z
|
apiary.apib
|
hyejing/l5essential
|
9652aee8c380607d245006e91846106df35921b7
|
[
"MIT"
] | 94
|
2015-11-09T04:05:39.000Z
|
2022-03-25T01:48:49.000Z
|
FORMAT: 1A
HOST: http://api.appkr.kr
# Welcome to the myProject Api
myProject Api 에 오신 것을 환영합니다.
myProject 에서는 포럼 <sup>Forum</sup> Api 를 제공합니다. 포럼을 사용하는 사용자를 식별하고 권한을 제어하기 위해 사용자 등록 및 로그인 <sup>Authentication</sup> 기능도 제공합니다.
## Base URL
모든 Api 요청은 아래 Base URL 을 이용합니다.
```http
http://api.appkr.kr
```
## Current Version
현재 버전은 v1 입니다. [Authentication](#authentication) 을 제외하고 모든 Api 요청에 `/v1` 이 포함되어야 합니다.
```http
GET /v1 HTTP/1.1
Host: api.appkr.kr
```
## Request 101
REST 원칙을 따릅니다.
### Reqeust Headers
#### Accept (Content Negotiation)
v1 에서는 JSON 응답만 지원합니다.
```http
GET /v1 HTTP/1.1
Host: api.appkr.kr
Accept: application/json
```
#### Accept-Language (Language Negoation)
v1 에서는 ko_KR 만 지원합니다.
```http
GET /v1 HTTP/1.1
Host: api.appkr.kr
Accept-Language: ko-KR
```
### Request Payload
`multipart/form-data`, `application/x-www-form-urlencoded`, `application/json` 을 모두 지원합니다. `application/json` 사용을 권장합니다.
```http
POST /v1/articles HTTP/1.1
Host: api.appkr.kr
Content-type: application/json
{"field": "value"}
```
## Response 101
### Collection Response
Collection 에 해당하는 리소스를 요청하면 Pagination 이 포함된 응답을 받습니다. `data` 키 아래에 포함된 내용이 Collection 입니다.
```http
GET /v1/articles HTTP/1.1
Host: api.appkr.kr
Content-type: application/json
```
```json
HTTP/1.1 200 OK
{
"data": [
{"key": "value"},
{"key": "value"},
{"key": "value"},
{"key": "value"},
{"key": "value"}
],
"meta": {
"pagination": {
"total": 20,
"count": 5,
"per_page": 5,
"current_page": 1,
"total_pages": 4,
"links": {
"next": "/v1/articles?page=2"
}
}
}
}
```
### Instance Response
Instance 에 해당하는 리소스를 요청하면 요청한 Instance 하나에 대한 응답을 받습니다. 이 응답은 JSON 키가 없습니다.
```http
GET /v1/articles/95280986 HTTP/1.1
Host: api.appkr.kr
Content-type: application/json
```
```json
HTTP/1.1 200 OK
{
"id": 95280986,
"title": "example title"
}
```
### Successful Response
리소스 생성, 수정, 삭제 등의 요청을 성공하면 성공 응답을 받습니다.
```http
PUT /v1/articles/95280986 HTTP/1.1
Host: api.appkr.kr
Content-type: application/json
Authorization: Bearer header.payload.signagure
{"title": "modified title"}
```
```javascript
HTTP/1.1 200 OK
{
"success": {
"code": 200,
"message": "Updated"
}
}
```
성공 응답 목록은 아래와 같고, HTTP 응답 코드와 동일한 코드를 JSON 본문에도 포함합니다.
Response Code|Description
---|---
200|성공
201|새로운 리소스가 성공적으로 생성되었습니다.
204|요청한 리소스가 삭제되었습니다.
### Error Response
에러가 발생했을 때는 아래와 같은 응답을 받습니다.
```http
PUT /v1/articles/95280986 HTTP/1.1
Host: api.appkr.kr
Content-type: application/json
Authorization: Bearer header.payload.signagure
{"title": "modified title"}
```
```javascript
HTTP/1.1 403 Forbidden
{
"error": {
"code": 403,
"message": "Forbidden"
}
}
```
오류 응답 목록은 아래와 같고, HTTP 응답 코드와 동일한 코드를 JSON 본문에도 포함합니다.
Response Code|Description
---|---
400|요청에 오류가 있습니다.
401|인증 오류입니다. Authorization 헤더를 확인해 주세요.
403|권한이 없습니다. Authorization 헤더로 넘긴 토큰에 해당하는 사용자가 요청하신 Action 을 수행할 권한이 없습니다.
404|요청한 리소스가 없습니다.
405|잘못된 HTTP 메소드를 사용했습니다.
422|유효성 검사 오류입니다. 요청 본문에 데이터가 형식에 맞는지 확인하세요.
429|Rate Limit 를 초과했습니다. 잠시 후 다시 시도하세요.
500|서버에 오류가 있습니다. [관리자](mailto:[email protected]) 에게 신고해 주세요.
503|서버에 트래픽이 폭주했거나, 서버 유지보수 작업 중입니다.
## Rate Limit
[Authentication](#authentication) 요청은 1 분에 10 회 까지, 리소스 요청은 1분에 60 회까지 허용합니다.
```http
GET /v1/articles/95280986 HTTP/1.1
Host: api.appkr.kr
Content-type: application/json
```
```http
HTTP/1.1 429 Too Many Requests
Retry-After: 60
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 0
```
## Caching
GET 동사를 이용한 요청은 `Etag` 헤더를 응답합니다.
> 대부분의 HTTP 클라이언트 라이브러리가 자동으로 모든 처리를 해 줍니다.<br/><br/>
> 다만, 여러분의 클라이언트가 `Etag` 기능을 지원하지 않는데, 캐싱의 이득을 보려면, 응답 받은 Etag 헤더를 파싱하여 요청 URL 과 응답 본문을 저장하고, 다음 요청시 `If-None-Match: Etag` 헤더를 전송해야 합니다.
아래 그림은 `Etag` 를 이용한 클라이언트-서버간 캐싱 동작 시퀀스 다이어그램입니다.

### First Request & Response
처음으로 `Etag` 값을 받습니다. 클라이언트 저장소에 받은 `Etag` 값을 키로 요청 URL 과 응답 본문을 저장해 놓습니다. *(대부분의 클라이언트 라이브러리가 자동으로 처리해 줍니다.)*
```http
GET /v1/articles/95280986 HTTP/1.1
Host: api.appkr.kr
```
```http
HTTP/1.1 200 OK
Etag: CtXS0QQlWJKY2dXe
```
### Second-on Request & Response - **No change in server resources**
요청 URL 에 해당하는 `Etag` 값을 `If-None-Match` 헤더에 달아서 보냅니다.
응답을 보니 리소스의 내용이 변경되지 않았으므로, 클라이언트 저장소에 저장된 지난 번 응답 본문을 그대로 사용합니다. *(대부분의 클라이언트 라이브러리가 자동으로 처리해 줍니다.)*
```http
GET /v1/articles/95280986 HTTP/1.1
Host: api.appkr.kr
Content-type: application/json
If-None-Match: CtXS0QQlWJKY2dXe
```
```http
HTTP/1.1 304 Not Modified
```
### Second-on Request & Response - **Server resource changed**
서버의 리소스가 변경되었습니다. 새로 받은 `Etag` 값과 응답 본문을 클라이언트 저장소에 저장합니다. *(대부분의 클라이언트 라이브러리가 자동으로 처리해 줍니다.)*
```http
GET /v1/articles/95280986 HTTP/1.1
Host: api.appkr.kr
Content-type: application/json
If-Non-Match: CtXS0QQlWJKY2dXe
```
```http
HTTP/1.1 200 OK
Etag: F8tG872adeIC3zlf
```
**`WHY`** 모바일 환경에서 응답속도 개선 및 사용자 요금 절감을 위해 꼭 필요합니다.
## Sub Resource Inclusion
### Signature
`include` 쿼리스트링을 이용하면, 현재 요청하는 리소스의 자식 리소스의 Collection 또는 Instance 를 응답에 포함할 수 있습니다.
문법은 아래와 같습니다.
```http
GET /v1/parent?include=child_resource:limit(limit|offset):sort(sort|order) HTTP/1.1
# 여러 개의 자식 리소스를 포함할 때는 array 필드나 콤마 (,) 를 이용할 수 있습니다.
GET /v1/parent?include[]=child_resource_1&include[]=child_resource_2 HTTP/1.1
# --or--
GET /v1/parent?include[]=child_resource_1,child_resource_2 HTTP/1.1
```
Keyword|Description
---|---
`child_resource`|자식 리소스의 이름입니다. (Article 부모 리소스에 대해서는 `comments`, `author`, `tags`, `attachments` 자식 리소스가 가용합니다.)
`:`|파라미터를 구분하는 구분자입니다.
`limit`|예약어 입니다. `comments`, `author`, `tags`, `attachments` 등 Collection 형태의 리소스에만 적용 가능합니다.
`limit(offset\\limit)`|`limit` 반환 받을 Collection 개수 입니다. `offset` 건너뛸 Collection 개수입니다. **(기본값 `limit(3\\0)`)**
`sort`|예약어 입니다. Collection 형태의 리소스에만 적용 가능합니다.
`sort(sort\\order)`|`sort` 정렬 기준 필드로 현재는 `created`, `view_count` 두 개만 지원합니다. `order` 정렬 방향으로 `asc`, `desc` 를 쓸 수 있습니다. **(기본값 `sort(created\\desc)`)**
**`알림`** 위 표에서 `\\` 는 Apiary 의 마크다운 컴파일 에러를 방지하기 위해 `|` 대신 넣은 문자입니다.
### Example
아래는 Article 리소스의 자식 리소스인 comments 와 authors 를 포함하는 예제 입니다.
```http
GET /v1/articles/95280986?include=comments:limit(1|0):sort('created'|'asc') HTTP/1.1
Host: api.appkr.kr
Content-type: application/json
```
```javascript
HTTP/1.1 200 OK
{
"id": 95280986,
"title": "example title",
"content_raw": "example content",
"content_html": "<p>example content</p>",
"created": "2015-12-19T10:37:42+0000",
"view_count": 1,
"link": {
"rel": "self",
"href": "/v1/articles/95280986"
},
"comments": {
"data": [
{
"id": 95280986,
"content_raw": "example comment",
"content_html": "<p>example comment</p>",
"created": "2015-12-19T10:37:42+0000",
"vote": {
"up": 1,
"down": 1
},
"link": {
"rel": "self",
"href": "/v1/comments/95280986"
},
"author": {
"name": "John Doe",
"email": "[email protected]",
"avatar": "http://www.gravatar.com/d4c74594d841139328695756648b6bd6"
}
}
]
},
"author": {
"name": "John Doe",
"email": "[email protected]",
"avatar": "http://www.gravatar.com/d4c74594d841139328695756648b6bd6"
},
"tags": [
"laravel",
"eloquent"
],
"attachments": 1
}
```
## Partial Response
### Against Parent Resource
`fields` 쿼리스트링을 이용하면, 응답 필드를 골라서 받을 수 있습니다. 필드는 콤마 (`,`) 로 구분하고, 필드간에 공백이 없도록 주의하십시오.
```http
GET /v1/articles/95280986?fields=id,title,content_raw,author HTTP/1.1
Host: api.appkr.kr
Content-type: application/json
```
```javascript
HTTP/1.1 200 OK
{
"id": 95280986,
"title": "example title",
"content_raw": "example content",
"author": {
"name": "John Doe",
"email": "[email protected]",
"avatar": "http://www.gravatar.com/d4c74594d841139328695756648b6bd6"
}
}
```
### Against Sub Resource
역시 `fields` 쿼리스트링을 이용해서 자식 리소스의 응답 필드를 골라 받을 수 있습니다. 부모 리소스에서와 달리, 필드 구분에 파이프 문자 (`|`) 를 이용합니다. 필드 사이에 공백이 없도록 주의하십시오.
```http
GET /v1/articles/95280986?fields=id,title,content_raw,author&include=comments:fields(id|created|vote) HTTP/1.1
Host: api.appkr.kr
Content-type: application/json
```
```javascript
HTTP/1.1 200 OK
{
"id": 95280986,
"title": "example title",
"content_raw": "example content",
"author": {
"name": "John Doe",
"email": "[email protected]",
"avatar": "http://www.gravatar.com/d4c74594d841139328695756648b6bd6"
},
"comments": {
"data": [
{
"id": 95280986,
"created": "2015-12-19T10:37:42+0000",
"vote": {
"up": 1,
"down": 1
}
}
]
},
}
```
# group Welcome to myProject Api v1
myProject Api v1 에 오신 것을 환영합니다.
## Welcoming the Api v1 [/v1]
### Hello myProject Api v1 [GET]
- request
- headers
Accept: application/json
- response 200 (application/json)
{
"name": "myProject Api",
"message": "Welcome to myProject Api. This is a base endpoint of version 1.",
"version": "v1",
"links": [
{
"rel": "self",
"href": "/v1"
},
{
"rel": "api.users.store",
"href": "/auth/register"
},
{
"rel": "api.sessions.store",
"href": "/auth/login"
},
{
"rel": "api.v1.docs",
"href": "/v1/docs"
}
]
}
# group Authentication
<a name="authentication"></a>
사용자 등록 및 인증을 위한 Api 입니다. myProject Api 는 사용자 인증을 위해 JWT <sup>Json Web Token</sup> 을 이용합니다.
## `token` 의 발급 및 사용
사용자 등록 및 로그인을 통해 생성된 `token` 은 myProject 서버에 새로운 리소스를 생성, 기존 리소스 수정 또는 삭제를 위한 Api 요청을 할 때 꼭 필요합니다. 전술한 Api 요청을 할 때 `token` 을 HTTP Authorization Header 에 붙여서 사용합니다. (e.g. `Authorization: Bearer token`) `token` 이 없으면 401 Unauthorized 응답을 받습니다. 한번 발급된 `token` 은 120 분 동안 유효하며, 유효한 기간 동안은 로그인 없이 Api 요청을 할 수 있습니다. 그래서, Api 클라이언트는 사용자 등록 및 로그인에서 받은 토큰을 로컬 저장소에 저장하고 있어야 합니다.
## `token` 의 만료 및 갱신
`token` 이 만료되면 서버는 401 Unauthorized 응답 코드와 함께 `token_expired` 메시지를 응답합니다. `token` 을 사용하지 않은지 총 2 주일이 지나지 않았다면, 기존 `token` 을 이용하여 새로운 토큰을 받을 수 있습니다. 2 주가 지나 더 이상 갱신이 불가한 상태가 되면, 서버로 부터 401 응답을 받게 되며 이때는 사용자에게 로그인 UI 를 표출하여 로그인을 하도록 유도하여 `token` 을 발급 받아야 합니다.
## User Registration [/auth/register]
새로운 사용자를 등록합니다.
### User Registration [POST]
- request OK
- headers
Accept: application/json
Content-type: application/json
- body
{
"name": "New User",
"email": "[email protected]",
"password": "password",
"password_confirmation": "password"
}
- response 201 (application/json)
- Attributes
- success (object)
- code: `201` (number) - Http Status Equivalent Message Code
- message: `Created` (string) - Message
- meta (object)
- token: `header.payload.signature` (string) - Json Web Token
- request Invalid Data
- headers
Accept: application/json
Content-type: application/json
- body
{"email": "invalid-email-address"}
- response 422 (application/json)
- Attributes
- error (object)
- code: `422` (number) - Http Status Equivalent Message Code
- message (array)
- `name 은(는) 필수 입력 항목 입니다.`
- `email 은(는) 유효한 이메일 주소가 아닙니다.`
- `password 은(는) 필수 입력 항목 입니다.`
- request Duplicate User
- headers
Accept: application/json
Content-type: application/json
- body
{
"name": "John Doe",
"email": "[email protected]",
"password": "password",
"password_confirmation": "password"
}
- response 422 (application/json)
- Attributes
- error (object)
- code: `422` (number) - Http Status Equivalent Message Code
- message (array)
- `email 은(는) 이미 사용 중입니다.`
## User Login [/auth/login]
로그인을 하고 `token` 을 얻습니다.
### User Login [POST]
- request OK
- headers
Accept: application/json
Content-type: application/json
- body
{
"email": "[email protected]",
"password": "password"
}
- response 201 (application/json)
- Attributes
- success (object)
- code: `201` (number) - Http Status Equivalent Message Code
- message: `Created` (string) - Message
- meta (object)
- token: `header.payload.signature` (string) - Json Web Token
- request Invalid Credential
- headers
Accept: application/json
Content-type: application/json
- body
{
"email": "[email protected]",
"password": "wrong-password"
}
- response 401 (application/json)
- Attributes
- error (object)
- code: `401` (number) - Http Status Equivalent Message Code
- message: `invalid_credentials` (string) - Message
- request Invalid Data
- headers
Accept: application/json
Content-type: application/json
- body
{
"email": "invalid-email-address",
"password": "password"
}
email: invalid-email-address
- response 422 (application/json)
- Attributes
- error (object)
- code: `422` (number) - Http Status Equivalent Message Code
- message (array)
- `email 은(는) 유효한 이메일 주소가 아닙니다.` (string)
## Token Refresh [/auth/refresh]
만료된 `token` 을 갱신합니다.
### Token Refresh [POST]
- request OK
- headers
Accept: application/json
Authorization: Bearer header.payload.signagure
- response 201 (application/json)
- Attributes
- success (object)
- code: `201` (number) - Http Status Equivalent Message Code
- message: `Created` (string) - Message
- meta (object)
- token: `header.payload.signature` (string) - Json Web Token
# group Forum
Forum Api 는 HTTP 요청을 통해 여러분의 Api 클라이언트가 서버에 저장된 게시글 <sup>`Article`</sup> 과 댓글 <sup>`Comment`</sup> 리소스를 이용할 수 있도록 해 줍니다.
**`참고`** 댓글에 대한 생성, 수정, 삭제 Api 는 현재 구현되어 있지 않습니다.
## Articles Collection [/v1/articles]
### List All Articles [GET]
`Article` Collection 을 요청합니다. 사용할 수 있는 쿼리스트링은 다음과 같습니다.
<a name="available_querystrings"></a>
#### Available Querystrings
- `filter` - 필터 (선택, `no_comment`|`not_solved`)
```http
GET /v1/articles?filter=no_comment
```
- `limit` - 응답 받을 게시물 수 (선택, `1`~`10`, 기본값 `5`)
```http
GET /v1/articles?limit=3
```
- `sort` - 정렬에 사용할 필드 (선택, `created`|`view_count`, 기본값 `created`)
```http
GET /v1/articles?sort=view_count
```
- `order` - 정렬 방향 (선택, `asc`|`desc`, 기본값 `desc`)
```http
GET /v1/articles?sort=view_count&order=asc
```
- `q` - 풀 텍스트 서치 키워드 (선택)
```http
GET /v1/articles?q=hello%20api
```
- request OK
- headers
Accept: application/json
- response 200 (application/json)
- headers
Etag: aK08i2L8jQRdjBcd
- attributes
- data (array[Article])
- meta (Pagination)
- request Not Modified
- headers
Accept: application/json
If-None-Match: etag
- response 304 (application/json)
### Not-allowed Querystrings [GET /v1/articles?filter=not_existing_filter]
- request Not-existing Querystrings
- headers
Accept: application/json
- response 422 (application/json)
- Attributes
- error (object)
- code: `422` (number) - Http Status Equivalent Message Code
- message (object)
- filter (array)
- `filter 은(는) 유효하지 않습니다.` (string)
### Create New Article [POST]
새로운 `Article` 리소스를 생성합니다.
- request OK
- headers
Accept: application/json
Content-type: application/json
Authorization: Bearer header.payload.signagure
- body
{
"title": "some title",
"content": "some content",
"tags[]": 1,
"tags[]": 2
}
- response 201 (application/json)
- attributes
- success (object)
- code: `201` (number) - Http Status Equivalent Message Code
- message: `Created` (string) - Message
- request Token Not Provided
- headers
Accept: application/json
Content-type: application/json
- response 400 (application/json)
- attributes
- error (object)
- code: `400` (number) - Http Status Equivalent Message Code
- message: `token_not_provided` (string) - Message
- request Token Invalid
- headers
Accept: application/json
Authorization: Bearer invalid.token.signature
- response 400 (application/json)
- attributes
- error (object)
- code: `400` (number) - Http Status Equivalent Message Code
- message: `token_invalid` (string) - Message
- request Token Expired
- headers
Authorization: Bearer expired.token.signagure
Content-type: application/json
- response 401 (application/json)
- attributes
- error (object)
- code: `400` (number) - Http Status Equivalent Message Code
- message: `token_expired` (string) - Message
## Articles Instance [/v1/articles/{id}]
- parameters
- id: `95280986` (required, number)
### Fetch Article Instance [GET]
`id` 로 지정된 `Article` 리소스의 상세정보를 요청합니다.
`Article Collection` 과 동일한 [Available Querystrings](#available_querystrings) 을 사용할 수 있습니다.
- request OK
- headers
Accept: application/json
- response 200 (application/json)
- headers
Etag: 31Ba8Uuo29Za4s2v
- body
{
"id": 95280986,
"title": "example title",
"content_raw": "example content",
"content_html": "<p>example content</p>",
"created": "2015-12-19T10:37:42+0000",
"view_count": 1,
"link": {
"rel": "self",
"href": "/v1/articles/95280986"
},
"comments": 1,
"author": {
"name": "John Doe",
"email": "[email protected]",
"avatar": "http://www.gravatar.com/d4c74594d841139328695756648b6bd6"
},
"tags": [
"laravel",
"eloquent"
],
"attachments": 1
}
- request Not Modified
- headers
Accept: application/json
If-None-Match: 31Ba8Uuo29Za4s2v
- response 304 (application/json)
### Fetch Not-existing Article Instance [GET /v1/articles/{id}]
없는 `id` 이면 404 Not Found 응답을 받습니다.
- parameters
- id: `00000000` (required, number)
- request Not-existing Resource
- headers
Accept: application/json
- response 404 (application/json)
- Attributes
- error (object)
- code: `404` (number) - Http Status Equivalent Message Code
- message: `No query results for model [App\\Article].` (string) - Message
### Update Article Instance [PUT]
`id` 로 지정된 `Article` 의 내용을 수정합니다. 수정은 리소스의 소유자 또는 관리자에게만 허용되며, 이 조건이 충족되지 않을 경우에는 403 Forbidden 응답을 받습니다.
- request OK
- headers
Accept: application/json
Content-type: application/json
Authorization: Bearer header.payload.signagure
- body
{
"title": "updated title",
"content": "updated content",
"tags[]": "3"
}
- response 200 (application/json)
- attributes
- success (object)
- code: `200` (number) - Http Status Equivalent Message Code
- message: `Updated` (string) - Message
- request Forbidden
- headers
Accept: application/json
Content-type: application/json
Authorization: Bearer not.owner.signagure
- response 403 (application/json)
- attributes
- error (object)
- code: `403` (number) - Http Status Equivalent Message Code
- message: `Forbidden` (string) - Message
### Delete Article Instance [DELETE]
`id` 로 지정된 `Article` 을 삭제합니다. 삭제는 리소스의 소유자 또는 관리자에게만 허용되며, 이 조건이 충족되지 않을 경우에는 403 Forbidden 응답을 받습니다.
- request OK
- headers
Accept: application/json
Authorization: Bearer header.payload.signagure
- response 204 (application/json)
- request Forbidden
- headers
Accept: application/json
Authorization: Bearer not.owner.signagure
- response 403 (application/json)
- attributes
- error (object)
- code: `403` (number) - Http Status Equivalent Message Code
- message: `Forbidden` (string) - Message
# data structures
## Article (object)
- id: `95280986` (number) - 고유 키
- title: `example title` (string) - 제목
- content_raw: `example content` (string) - 본문 (Markdown 형식)
- content_html: `<p>example content</p>` (string) - 본문 (HTML 컴파일)
- created: `2015-12-19T10:37:42+0000` (string) - 생성일
- view_count: 1 (number) - 조회 수
- link (object)
- rel: `self`
- href: `/v1/articles/95280986` (string) - 상세 내용 요청을 위한 Api Endpoint
- comments: `1` (number) - 댓글 개수
- author (object)
- name: `John Doe` (string) - 작성자 이름
- email: `[email protected]` (string) - 작성자 이메일
- avatar: `http://www.gravatar.com/d4c74594d841139328695756648b6bd6` (string) - 작성자 아바타 URL
- tags (array)
- laravel
- eloquent
- attachments: `1` (number) - 첨부파일 개수
## User (object)
- id: `95280986` (number) - 고유 키
- name: `John Doe` (string) - 사용자 이름
- email: `[email protected]` (string) - 사용자 이메일
- avatar: `http://www.gravatar.com/d4c74594d841139328695756648b6bd6` (string) - 사용자 아바타 URL
- signup: `2016-01-12T06:18:10+0000` - 가입일
- link (object)
- rel: `self`
- href: `/users/95280986` (string) - 상세 내용 요청을 위한 Api Endpoint
- articles: `1` (number) - 포럼 게시글 개수
- comments: `1` (number) - 작성한 댓글 개수
## Comment (object)
- id: `95280986` (number) - 고유 키
- content_raw: `example content` (string) - 본문 (Markdown 형식)
- content_html: `<p>example content</p>` (string) - 본문 (HTML 컴파일)
- created: `2015-12-19T10:37:42+0000` (string) - 생성일
- vote (object)
- up: `1` (number) - 좋아요 투표 수
- down: `1` (number) - 싫어요 투표 수
- link (object)
- rel: `self`
- href: `/v1/comments/95280986` (string) - 상세 내용 요청을 위한 Api Endpoint
- author (object)
- name: `John Doe` (string) - 작성자 이름
- email: `[email protected]` (string) - 작성자 이메일
- avatar: `http://www.gravatar.com/d4c74594d841139328695756648b6bd6` (string) - 작성자 아바타 URL
## Tag (object)
- id: `95280986` (number) - 고유 키
- slug: `laravel` (string) - Slug
- created: `2015-12-19T10:37:42+0000` (string) - 생성일
- link (object)
- rel: `self`
- href: `/v1/tags/laravel/articles` (string) - 상세 내용 요청을 위한 Api Endpoint
- articles: 1 (number) - 태그에 해당하는 게시글 개수
## Attachment (object)
- id: `95280986` (number) - 고유 키
- name: `kEvzc4qBPwEze1mi.jpg`
- created: `2015-12-19T10:37:42+0000` (string) - 생성일
- link (object)
- rel: `self`
- href: `http://myproject.dev:8000/attachments/kEvzc4qBPwEze1mi.jpg` (string) - 첨부파일 다운로드 URL
## Pagination
- pagination (object)
- total: `20` (number) - 전체 게시글 개수
- count: `5` (number) - 현재 응답의 게시글 개수
- per_page: `5` (number) - 요청당 응답할 게시글 개수
- current_page: `2` (number) - 현재 페이지 번호
- total_pages: `4` (number) - 총 페이지 수
- links (object)
- previous: `/v1/articles?page=1` (string) - 이전 페이지 URL
- next: `/v1/articles?page=3` (string) - 다음 페이지 URL
| 23.820853
| 369
| 0.572958
|
892164c6d4e47eaf709cc598a96d73274c23c7d0
| 104
|
dyalog
|
APL
|
MS3/QA/Examples/DC/FieldsetSimple.dyalog
|
Dyalog/DUI
|
10d92de322aa465fe101994a57edd7228c029fe6
|
[
"MIT"
] | 4
|
2019-06-14T18:47:43.000Z
|
2020-11-08T15:53:20.000Z
|
DUI/MS3/QA/Examples/DC/FieldsetSimple.dyalog
|
Dyalog/HTMLRenderer
|
8261ea3b9ad39420198c197284ae4ca30087894e
|
[
"MIT"
] | 5
|
2018-11-03T08:59:39.000Z
|
2022-01-03T09:41:05.000Z
|
DUI/MS3/QA/Examples/DC/FieldsetSimple.dyalog
|
Dyalog/HTMLRenderer
|
8261ea3b9ad39420198c197284ae4ca30087894e
|
[
"MIT"
] | 3
|
2018-11-03T09:13:04.000Z
|
2022-01-03T09:38:01.000Z
|
msg←Test dummy
'fname' 'lname'SendKeys¨'Morten' 'Kromberg'
msg←'output'WaitFor'Hi Morten Kromberg!'
| 26
| 44
| 0.730769
|
a240af9bc274131ae9f42ac950f1262cd66b37c2
| 82
|
apl
|
APL
|
day_06/day_06.apl
|
niccolomarcon/AoC_2020
|
1afe7453f7ad8c789a3f804c29159c0bb62a7499
|
[
"MIT"
] | null | null | null |
day_06/day_06.apl
|
niccolomarcon/AoC_2020
|
1afe7453f7ad8c789a3f804c29159c0bb62a7499
|
[
"MIT"
] | null | null | null |
day_06/day_06.apl
|
niccolomarcon/AoC_2020
|
1afe7453f7ad8c789a3f804c29159c0bb62a7499
|
[
"MIT"
] | null | null | null |
P1 ← ⊃∘(+/)∘(⍴∘⊃∘(∪/)¨)∘{(⊃,/(×∘⍴¨⍵))⊆⍵}
P2 ← ⊃∘(+/)∘(⍴∘⊃∘(∩/)¨)∘{(⊃,/(×∘⍴¨⍵))⊆⍵}
| 27.333333
| 40
| 0.04878
|
8e7556b6d4d487b3dd8065df74775873a7654636
| 551
|
dyalog
|
APL
|
v2/DRC/Clt.dyalog
|
Dyalog/Conga
|
91a3bf9dc920e72bb0f3e27b178b5688a0270632
|
[
"MIT"
] | 2
|
2018-08-13T21:57:08.000Z
|
2021-12-14T07:11:52.000Z
|
v2/DRC/Clt.dyalog
|
Dyalog/Conga
|
91a3bf9dc920e72bb0f3e27b178b5688a0270632
|
[
"MIT"
] | 1
|
2017-02-27T12:06:55.000Z
|
2017-02-27T13:06:39.000Z
|
v2/DRC/Clt.dyalog
|
Dyalog/Conga
|
91a3bf9dc920e72bb0f3e27b178b5688a0270632
|
[
"MIT"
] | 3
|
2021-04-14T00:50:47.000Z
|
2021-05-11T19:27:40.000Z
|
r←Clt a
⍝ Create a Client
⍝ "Name", // string
⍝ "Address", // string
⍝ "Port", // Integer or service name
⍝ "Mode", // command,raw,text
⍝ "BufferSize",
⍝ "SSLValidation", // integer
⍝ "EOM", // Vector of stop strings
⍝ "IgnoreCase", // boolean
⍝ "Protocol", // ipv4,ipv6
⍝ "PublicCertData",
⍝ "PrivateKeyFile",
⍝ "PrivateKeyPass",
⍝ "PublicCertFile",
⍝ "PublicCertPass",
⍝ "PrivateKeyData'
a←reparg a
r←check ⍙CallR RootName'AClt'a 0
| 26.238095
| 50
| 0.517241
|
a2bc73524b005509dacbd3ca66316cc77bee0e2a
| 415
|
dyalog
|
APL
|
Demos/InputDemoCallback.dyalog
|
Dyalog19/SA3
|
feb8c276eb13a97ee57aed8e5194d24ae6559908
|
[
"MIT"
] | 1
|
2019-12-08T11:50:51.000Z
|
2019-12-08T11:50:51.000Z
|
Demos/InputDemoCallback.dyalog
|
Dyalog/HTMLRenderer
|
8261ea3b9ad39420198c197284ae4ca30087894e
|
[
"MIT"
] | null | null | null |
Demos/InputDemoCallback.dyalog
|
Dyalog/HTMLRenderer
|
8261ea3b9ad39420198c197284ae4ca30087894e
|
[
"MIT"
] | 1
|
2019-09-05T09:46:44.000Z
|
2019-09-05T09:46:44.000Z
|
r←InputDemoCallback req;fname;fav;dob;nextBd;msg
⍝ at this point we have all the form data in the request object
fname←req.GetData'first'
fav←req.GetData'color'
dob←¯1⌽#.Dates.ParseDate req.GetData'dob'
nextBd←1 #.Dates.DateFormat{⍵,⍨⎕TS[1]+(10⊥⍵)<10⊥⎕TS[2 3]}dob[2 3]
msg←'<br>',fname,', on ',nextBd,' we''ll wish you a'
msg,←'<h2 style="color:',fav,';">Happy Birthday!</h2>'
r←'#output'#.JQ.Replace msg
| 41.5
| 66
| 0.672289
|
504f6a20ae545106f1b01806216015a335199133
| 1,351
|
apl
|
APL
|
spec/fixtures/heredocs.apl
|
Alhadis/language-apl
|
5113179d6890c004a26426b6bfa49fd87dda2a2b
|
[
"0BSD"
] | 6
|
2017-12-01T01:18:52.000Z
|
2021-11-27T15:07:13.000Z
|
spec/fixtures/heredocs.apl
|
Alhadis/language-apl
|
5113179d6890c004a26426b6bfa49fd87dda2a2b
|
[
"0BSD"
] | 14
|
2018-06-18T13:56:48.000Z
|
2019-05-06T12:16:22.000Z
|
spec/fixtures/heredocs.apl
|
Alhadis/language-apl
|
5113179d6890c004a26426b6bfa49fd87dda2a2b
|
[
"0BSD"
] | 3
|
2016-05-07T18:45:40.000Z
|
2021-02-23T07:04:25.000Z
|
⍝ HTML
text ← ⎕INP "END-OF-HTML"
<header id="top">
Heading
</header>
END-OF-HTML
aaa text ← ⎕INP "END-OF-XHTML"
<div id="top">
Heading
</div>
END-OF-XHTML
text ← ⎕INP "END-OF-⎕INP"
<header id="top">
Heading
</header>
=== END-OF-⎕INP ===
aatext ← ⎕INP "END-OF-HTML"
<header id="top">Heading</header>
========== END-OF-HTML ===============
⍝ XML
tree ← ⎕INP "END-OF-XML"
<?xml version="1.0" encoding="utf-8"?>
<svg><!-- Fancy lines, etc --></svg>
END-OF-XML
svg ← ⎕INP "SVG"
<?xml version="1.0" encoding="utf-8"?>
<svg><!-- Fancy lines, etc --></svg>
End of SVG
⍝ JavaScript
js ← ⎕INP "ENDJS"
"use strict";
let light = "shine";
function fn(){
return Math.max(...[5, 6, 8]);
}
JSON.stringify({});
const $ = s => document.querySelector(s);
ENDJS
⍝ JSON
json ← ⎕INP "JSON"
{
"name": "language-apl",
"version": "1.0.1",
"description": "APL language support for Atom",
"keywords": ["APL", "Dyalog"],
"repository": "https://github.com/Alhadis/language-apl",
"license": "ISC",
"engines": {
"atom": "*"
},
"dependencies": {}
}
JSON
⍝ CSS
styles ← ⎕INP "END-CSS"
html{
background: #f00;
}
END-CSS
⍝ Plain text
text ← ⎕INP "Plain Text"
Z←Z←81 9⍴1 ◊ F1←0
Plain Text
⍝ Anything else: native APL
native ← ⎕INP 'END-OF-STORY'
⍝ APL comment
Z←Z←81 9⍴1 ◊ F1←0
life←{↑1 ⍵∨.∧3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵}
==/ END-OF-STORY \==
| 13.927835
| 57
| 0.57735
|
ac3ff07b7e505b5e20af4fb3c757124fab55eaba
| 1,354
|
aspx
|
ASP
|
templates/NewsGroupIntro.aspx
|
Episerver-trainning/episerver4_adfs
|
66187fc979ee39173e891ae9674174b3c53a31a3
|
[
"MIT"
] | null | null | null |
templates/NewsGroupIntro.aspx
|
Episerver-trainning/episerver4_adfs
|
66187fc979ee39173e891ae9674174b3c53a31a3
|
[
"MIT"
] | null | null | null |
templates/NewsGroupIntro.aspx
|
Episerver-trainning/episerver4_adfs
|
66187fc979ee39173e891ae9674174b3c53a31a3
|
[
"MIT"
] | null | null | null |
<%@ Page language="c#" Codebehind="NewsGroupIntro.aspx.cs" AutoEventWireup="false" Inherits="development.Templates.NewsGroupIntro" %>
<%@ Register TagPrefix="EPiServer" Namespace="EPiServer.WebControls" Assembly="EPiServer" %>
<%@ Register TagPrefix="development" TagName="Header" Src="~/templates/units/header.ascx"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<development:header ID="pageHeader" runat="server" />
</head>
<body class="NewsGroupItem" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
<form runat="server" method="post" id="newsintro">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td class="NewsGroupBarTitle" background="../images/bar_background.gif" valign="middle" align="left"> <episerver:property id="pageName" propertyname="PageName" runat="server" /> </td>
<td background="../images/bar_background.gif" valign="top" align="left"><EPiServer:Clear width="10" height="26" runat="server" /></td>
</tr>
<tr>
<td colspan="2" background="../images/bar_shadow_white.gif" valign="top" align="left"><EPiServer:Clear width="10" height="4" runat="server" /></td>
</tr>
</table>
<div style="margin-left: 10px;">
<episerver:property id="pageBody" propertyname="MainBody" runat="server" />
</div>
</form>
</body>
</html>
| 54.16
| 208
| 0.700886
|
3e7a2d5d7e485455759a33098906d07264076af4
| 67
|
asax
|
ASP
|
Samples/Autocore.Samples.Mvc5/Global.asax
|
x5-emaint/Autocore
|
be61303702f409619c401eb7d89853d7b8cc0cdd
|
[
"MIT"
] | 2
|
2016-11-16T05:53:33.000Z
|
2018-07-23T15:37:50.000Z
|
Samples/Autocore.Samples.Mvc5/Global.asax
|
x5-emaint/Autocore
|
be61303702f409619c401eb7d89853d7b8cc0cdd
|
[
"MIT"
] | 1
|
2019-06-04T10:24:36.000Z
|
2019-06-04T10:24:36.000Z
|
Samples/Autocore.Samples.Mvc5/Global.asax
|
x5-emaint/Autocore
|
be61303702f409619c401eb7d89853d7b8cc0cdd
|
[
"MIT"
] | 4
|
2018-08-16T10:36:22.000Z
|
2021-11-23T05:28:02.000Z
|
<%@ Application Inherits="Autocore.Samples.Mvc5.MvcApplication" %>
| 33.5
| 66
| 0.776119
|
92c3e3e65fbfad7d818e0a8ccca731ea29bc6b2e
| 2,229
|
aspx
|
ASP
|
Eksamen/Anmeldelser.aspx
|
Mort094/Final-Project
|
fd23178830929016c2ebb0bb3f4440c5c4a5dd48
|
[
"MIT"
] | null | null | null |
Eksamen/Anmeldelser.aspx
|
Mort094/Final-Project
|
fd23178830929016c2ebb0bb3f4440c5c4a5dd48
|
[
"MIT"
] | null | null | null |
Eksamen/Anmeldelser.aspx
|
Mort094/Final-Project
|
fd23178830929016c2ebb0bb3f4440c5c4a5dd48
|
[
"MIT"
] | null | null | null |
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Anmeldelser.aspx.cs" Inherits="Anmeldelser" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<asp:panel runat="server" id="panel_comment" visible="false">
<table class="table">
<tr>
<td class="col-sm-1">Title:</td>
<td><asp:textbox runat="server" ID="tb_title" /></td>
</tr>
<tr>
<td>Text:</td>
<td><asp:textbox runat="server" id="tb_text" textmode="multiline" columns="50" rows="10" style="resize:none;" /></td>
</tr>
<tr>
<td><asp:button text="Send anmeldelse" runat="server" CssClass="btn btn-primary" id="btn_send" onclick="btn_send_Click" />
<asp:label text="" id="lbl_fejl" runat="server" />
</td>
</tr>
</table>
</asp:panel>
<asp:repeater runat="server" id="repeater_content">
<headerTemplate>
<table class="table">
<tr><th>Cover</th>
<th>Album</th>
<th>Kunstner
</th>
<th>Genre</th>
<th>Udgivelses År</th>
</tr>
</headerTemplate>
<ItemTemplate>
<tr><td class="col-sm-2">
<img src='Images/Albums/Large/<%# Eval("albumCover") %>' alt="Album Cover billede" width="100" /></td>
<td><h4> <a href='Anmeldelse.aspx?Anmeldelse=<%# Eval("albumId") %>'><%# Eval("albumTitle") %></a></h4></td>
<td><h5><%# Eval("albumArtist") %></h5></td>
<td><h5><%# Eval("genreName") %></h5</td>
<td><h5><%# Eval("albumDate", "{0:d}") %></h5</td>
</tr>
</ItemTemplate>
<footertemplate>
</table>
</footertemplate>
</asp:repeater>
<br />
</asp:Content>
| 38.431034
| 150
| 0.466128
|
df7ab7c5fadaf6d73806791624f44c22b5400918
| 542
|
aspx
|
ASP
|
UmbracoDev/Umbraco/ucommerce/ContentTree.aspx
|
Ryyyyannnn/UmbracoDev
|
7404dd2166ca49b6dbcffb4944c57fc83cf4a8ee
|
[
"MIT"
] | 2
|
2021-02-22T15:38:47.000Z
|
2021-12-27T19:53:41.000Z
|
UmbracoDev/Umbraco/ucommerce/ContentTree.aspx
|
Ryyyyannnn/UmbracoDev
|
7404dd2166ca49b6dbcffb4944c57fc83cf4a8ee
|
[
"MIT"
] | 1
|
2022-02-10T23:35:24.000Z
|
2022-02-10T23:35:24.000Z
|
UmbracoDev/Umbraco/ucommerce/ContentTree.aspx
|
RyanHelmn/UmbracoDev
|
7404dd2166ca49b6dbcffb4944c57fc83cf4a8ee
|
[
"MIT"
] | null | null | null |
<%@ Page Title="" Language="C#" MasterPageFile="MasterPages/Dialog.Master" AutoEventWireup="true" CodeBehind="ContentTree.aspx.cs" Inherits="UCommerce.Web.UI.UCommerce.ContentTree" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:content ID="Content2" runat="server" contentplaceholderid="HeaderLabel">
</asp:content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentArea" runat="server">
<asp:PlaceHolder runat="server" ID="TreePlaceholder"></asp:PlaceHolder>
</asp:Content>
| 41.692308
| 184
| 0.752768
|
b24ec6a10615b49b50b24137168d3318d2280af3
| 104
|
asax
|
ASP
|
NPSSMSVoting/Global.asax
|
sinch/csharp-nps-sms-delighted
|
afa1309939d4b5c38c08cd5975efe0a1639819a2
|
[
"MIT"
] | null | null | null |
NPSSMSVoting/Global.asax
|
sinch/csharp-nps-sms-delighted
|
afa1309939d4b5c38c08cd5975efe0a1639819a2
|
[
"MIT"
] | 1
|
2022-02-24T08:59:44.000Z
|
2022-02-24T08:59:44.000Z
|
NPSSMSVoting/Global.asax
|
isabella232/csharp-nps-sms-delighted
|
afa1309939d4b5c38c08cd5975efe0a1639819a2
|
[
"MIT"
] | 1
|
2022-02-24T08:44:09.000Z
|
2022-02-24T08:44:09.000Z
|
<%@ Application Codebehind="Global.asax.cs" Inherits="NPSSMSVoting.WebApiApplication" Language="C#" %>
| 52
| 103
| 0.759615
|
73ceef8bd087527318ff9db04d3e313ab8578f3d
| 404
|
aspx
|
ASP
|
Web/GetCss.aspx
|
robocoder-media/Low-Code-Development-Platform
|
16039c8fc0131e18537f01355f761f4675d7f622
|
[
"Apache-2.0"
] | 1
|
2019-05-11T15:36:44.000Z
|
2019-05-11T15:36:44.000Z
|
Web/GetCss.aspx
|
whitemike889/Low-Code-Development-Platform
|
d689212ba585b08a1046347d9a159e2aadb19102
|
[
"Apache-2.0"
] | null | null | null |
Web/GetCss.aspx
|
whitemike889/Low-Code-Development-Platform
|
d689212ba585b08a1046347d9a159e2aadb19102
|
[
"Apache-2.0"
] | 1
|
2018-08-22T14:13:10.000Z
|
2018-08-22T14:13:10.000Z
|
<%@ Page language="c#" Inherits="RO.Web.GetCss" CodeFile="GetCss.aspx.cs" CodeFileBaseClass="RO.Web.PageBase" EnableEventValidation="false" %>
<%@ Register TagPrefix="Module" TagName="UsrPref" Src="modules/UsrPrefModule.ascx" %>
<!doctype html>
<html>
<body>
<form id="GetCssForm" method="post" runat="server">
<Module:UsrPref id="ModuleUsrPref" Runat="server" />
</form>
</body>
</html>
| 44.888889
| 143
| 0.690594
|
5bbed64819241e2588917187963c1cbc7791c984
| 3,023
|
aspx
|
ASP
|
samples/snippets/csharp/VS_Snippets_WebNet/WebParts_EditorPartCollection_Overview/CS/editorpartcollectioncs.aspx
|
hamarb123/dotnet-api-docs
|
6aeb55784944a2f1f5e773b657791cbd73a92dd4
|
[
"CC-BY-4.0",
"MIT"
] | 421
|
2018-04-01T01:57:50.000Z
|
2022-03-28T15:24:42.000Z
|
samples/snippets/csharp/VS_Snippets_WebNet/WebParts_EditorPartCollection_Overview/CS/editorpartcollectioncs.aspx
|
hamarb123/dotnet-api-docs
|
6aeb55784944a2f1f5e773b657791cbd73a92dd4
|
[
"CC-BY-4.0",
"MIT"
] | 5,797
|
2018-04-02T21:12:23.000Z
|
2022-03-31T23:54:38.000Z
|
samples/snippets/csharp/VS_Snippets_WebNet/WebParts_EditorPartCollection_Overview/CS/editorpartcollectioncs.aspx
|
hamarb123/dotnet-api-docs
|
6aeb55784944a2f1f5e773b657791cbd73a92dd4
|
[
"CC-BY-4.0",
"MIT"
] | 1,482
|
2018-03-31T11:26:20.000Z
|
2022-03-30T22:36:45.000Z
|
<!-- <snippet1> -->
<%@ page language="c#" %>
<%@ register TagPrefix="uc1"
TagName="DisplayModeMenu"
Src="DisplayModecs.ascx" %>
<%@ register tagprefix="aspSample"
Namespace="Samples.AspNet.CS.Controls"
Assembly="TextDisplayWebPartCS" %>
<!-- <snippet2> -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
protected void Button1_Click(object sender, EventArgs e)
{
ArrayList list = new ArrayList(2);
list.Add(AppearanceEditorPart1);
list.Add(PropertyGridEditorPart1);
// Pass an ICollection object to the constructor.
EditorPartCollection myParts = new EditorPartCollection(list);
foreach (EditorPart editor in myParts)
{
editor.BackColor = System.Drawing.Color.LightBlue;
editor.Description = "My " + editor.DisplayTitle + " editor.";
}
// Use the IndexOf property to locate an EditorPart control.
int propertyGridPart = myParts.IndexOf(PropertyGridEditorPart1);
myParts[propertyGridPart].ChromeType = PartChromeType.TitleOnly;
// Use the Contains method to see if an EditorPart exists.
if(!myParts.Contains(LayoutEditorPart1))
LayoutEditorPart1.BackColor = System.Drawing.Color.LightYellow;
// Use the CopyTo method to create an array of EditorParts.
EditorPart[] partArray = new EditorPart[3];
partArray[0] = LayoutEditorPart1;
myParts.CopyTo(partArray,1);
Label1.Text = "<h3>EditorParts in Custom Array</h3>";
foreach (EditorPart ePart in partArray)
{
Label1.Text += ePart.Title + "<br />";
}
}
</script>
<!-- </snippet2> -->
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>
Text Display WebPart with AppearanceEditorPart
</title>
</head>
<body>
<form id="form1" runat="server">
<asp:webpartmanager id="WebPartManager1" runat="server" />
<uc1:DisplayModeMenu ID="DisplayModeMenu1" runat="server" />
<asp:webpartzone id="zone1" runat="server">
<zonetemplate>
<aspSample:TextDisplayWebPart
runat="server"
id="textwebpart"
title = "Text Content WebPart" />
</zonetemplate>
</asp:webpartzone>
<asp:EditorZone ID="EditorZone1" runat="server">
<ZoneTemplate>
<asp:AppearanceEditorPart ID="AppearanceEditorPart1"
runat="server" />
<asp:LayoutEditorPart ID="LayoutEditorPart1"
runat="server" />
<asp:PropertyGridEditorPart ID="PropertyGridEditorPart1"
runat="server" />
</ZoneTemplate>
</asp:EditorZone>
<asp:Button ID="Button1" runat="server"
Text="Create EditorPartCollection"
OnClick="Button1_Click" />
<asp:Label ID="Label1" runat="server" Text="" />
</form>
</body>
</html>
<!-- </snippet1> -->
| 35.564706
| 70
| 0.626861
|
617f9b4c75d88ca8b3e70f8a1bd21ad084848e9c
| 285
|
ascx
|
ASP
|
othercode/Citrix WI extensions/DesktopWeb/app_data/clientDetection/include/advancedPageView.ascx
|
stevenwright1/sms2
|
6dd11cd20add4298e327767010f8c22a266f6470
|
[
"Unlicense"
] | null | null | null |
othercode/Citrix WI extensions/DesktopWeb/app_data/clientDetection/include/advancedPageView.ascx
|
stevenwright1/sms2
|
6dd11cd20add4298e327767010f8c22a266f6470
|
[
"Unlicense"
] | null | null | null |
othercode/Citrix WI extensions/DesktopWeb/app_data/clientDetection/include/advancedPageView.ascx
|
stevenwright1/sms2
|
6dd11cd20add4298e327767010f8c22a266f6470
|
[
"Unlicense"
] | null | null | null |
<%
// advancedPageView.ascx
// Copyright (c) 2000 - 2010 Citrix Systems, Inc. All Rights Reserved.
// Web Interface 5.4.0.0
%>
<!--#include file="~/app_data/clientDetection/include/includeBottom.aspxf" -->
<!--#include file="~/app_data/clientDetection/include/advanced.inc" -->
| 35.625
| 79
| 0.694737
|
fd2f0fd814ed94e26f22025ec393494562a61012
| 11,576
|
aspx
|
ASP
|
CIS/Reception/ReceptionManageAppointments.aspx
|
alfredpaulus/Web-based-Clinical-Information-Systems
|
7e3326b5f614447c831ffe14e3726015ffa8b145
|
[
"CC-BY-3.0"
] | null | null | null |
CIS/Reception/ReceptionManageAppointments.aspx
|
alfredpaulus/Web-based-Clinical-Information-Systems
|
7e3326b5f614447c831ffe14e3726015ffa8b145
|
[
"CC-BY-3.0"
] | null | null | null |
CIS/Reception/ReceptionManageAppointments.aspx
|
alfredpaulus/Web-based-Clinical-Information-Systems
|
7e3326b5f614447c831ffe14e3726015ffa8b145
|
[
"CC-BY-3.0"
] | null | null | null |
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPageCISReception.master" AutoEventWireup="true" CodeFile="ReceptionManageAppointments.aspx.cs" Inherits="CIS_Reception_ReceptionManageAppointments" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script>
function isNumberKeyWhole(evt) {
var charCode = (evt.which) ? evt.which : evt.keyCode;
if (charCode > 31 && (charCode < 48 || charCode > 57))
return false;
return true;
}
</script>
<!-- Main -->
<div class="wrapper style1">
<div class="container">
<article id="main" class="special">
<header>
<h2><a href="#">Manage Appointments</a></h2>
</header>
<br/>
<br/>
<h3>Create an appointment</h3>
<br/>
<br/>
<table>
<tr style="text-align:left">
<td style="width: 05%"></td>
<td style="width: 15%">Patient Account No.:</td>
<td style="width: 05%"></td>
<td style="width: 25%"><asp:TextBox runat="server" ID="tbPatientAccountNo" Width="300" Font-Size="Medium" Height="30px" onkeypress="return isNumberKeyWhole(event)"></asp:TextBox></td>
<td style="width: 25%"></td>
<td style="width: 20%"></td>
<td style="width: 05%"></td>
</tr>
</table>
<table>
<tr style="text-align:left">
<td style="width: 05%"></td>
<td style="width: 15%">Appointment Date:</td>
<td style="width: 05%"></td>
<td style="width: 25%"><asp:TextBox runat="server" ID="tbAppointmentDate" TextMode="Date" Width="300" Font-Size="Medium" Height="30px"></asp:TextBox></td>
<td style="width: 25%"></td>
<td style="width: 20%"></td>
<td style="width: 05%"></td>
</tr>
</table>
<table>
<tr style="text-align:left">
<td style="width: 05%"></td>
<td style="width: 15%">Appointment Time:</td>
<td style="width: 05%"></td>
<td style="width: 25%"><asp:TextBox runat="server" ID="tbAppointmentTime" TextMode="Time" Width="300" Font-Size="Medium" Height="30px"></asp:TextBox></td>
<td style="width: 25%"></td>
<td style="width: 20%"></td>
<td style="width: 05%"></td>
</tr>
</table>
<%--<table>
<tr style="text-align:left">
<td style="width: 05%"></td>
<td style="width: 15%">Subspecialty:</td>
<td style="width: 05%"></td>
<td style="width: 25%">
<asp:DropDownList ID="ddlDepartment" Width="300" Font-Size="Medium" runat="server">
<asp:ListItem Text="ALLERGOLOGY" Value="ALLERGOLOGY"></asp:ListItem>
<asp:ListItem Text="CARDIOLOGY" Value="CARDIOLOGY"></asp:ListItem>
<asp:ListItem Text="COSMETIC SURGERY" Value="COSMETICSURGERY"></asp:ListItem>
<asp:ListItem Text="DENTAL" Value="DENTAL"></asp:ListItem>
<asp:ListItem Text="DERMATOLOGY" Value="DERMATOLOGY"></asp:ListItem>
<asp:ListItem Text="ENT" Value="ENT"></asp:ListItem>
<asp:ListItem Text="GASTROENTEROLOGY" Value="GASTROENTEROLOGY"></asp:ListItem>
<asp:ListItem Text="GENERAL SURGERY" Value="GENERALSURGERY"></asp:ListItem>
<asp:ListItem Text="INTERNAL MEDICINE" Value="INTERNALMEDICINE"></asp:ListItem>
<asp:ListItem Text="NEUROLOGY" Value="NEUROLOGY"></asp:ListItem>
<asp:ListItem Text="NEPHROLOGY" Value="NEPHROLOGY"></asp:ListItem>
<asp:ListItem Text="OBSTETRICS/GYNECOLOGY" Value="OBSTETRICS"></asp:ListItem>
<asp:ListItem Text="OPTHALMOLOGY" Value="OPTHALMOLOGY"></asp:ListItem>
<asp:ListItem Text="ORTHOPEDICS" Value="ORTHOPEDICS"></asp:ListItem>
<asp:ListItem Text="ORTHODONTICS" Value="ORTHODONTICS"></asp:ListItem>
<asp:ListItem Text="PEDIATRICS" Value="PEDIATRICS"></asp:ListItem>
<asp:ListItem Text="PERIPHERAL VASCULAR SURGERY" Value="PERIPHERALVASCULARSURGERY"></asp:ListItem>
<asp:ListItem Text="PLASTIC SURGERY" Value="PLASTICSURGERY"></asp:ListItem>
<asp:ListItem Text="PRIMARY CARE" Value="PRIMARYCARE"></asp:ListItem>
<asp:ListItem Text="PULMONOLOGY" Value="PULMONOLOGY"></asp:ListItem>
<asp:ListItem Text="RADIOLOGY" Value="RADIOLOGY"></asp:ListItem>
<asp:ListItem Text="REHAB-MEDICINE" Value="REHABMEDICINE"></asp:ListItem>
<asp:ListItem Text="UROLOGY" Value="UROLOGY"></asp:ListItem>
</asp:DropDownList>
</td>
<td style="width: 25%"></td>
<td style="width: 20%"></td>
<td style="width: 05%"></td>
</tr>
</table>--%>
<table>
<tr style="text-align:left">
<td style="width: 05%"></td>
<td style="width: 15%">Doctor Account No.:</td>
<td style="width: 05%"></td>
<td style="width: 25%"><asp:TextBox runat="server" ID="tbAppointmentDoctor" Width="300" Font-Size="Medium" Height="30px" onkeypress="return isNumberKeyWhole(event)"></asp:TextBox></td>
<td style="width: 25%"></td>
<td style="width: 20%"></td>
<td style="width: 05%"></td>
</tr>
</table>
<table>
<tr style="text-align:center">
<td style="width: 25%"><asp:Button ID="btnClear" runat="server" Text="Clear" BackColor="#999999" /></td>
<td style="width: 25%"><asp:Button ID="btnSubmit" runat="server" Text="Submit" /></td>
<td style="width: 25%"></td>
<td style="width: 25%"></td>
</tr>
</table>
<table>
<tr style="text-align:center">
<td style="width: 25%"></td>
<td style="width: 25%"><asp:Label ID="lblMessage" runat="server" Text=""></asp:Label></td>
<td style="width: 25%"></td>
<td style="width: 25%"></td>
</tr>
</table>
<hr />
<table>
<tr style="text-align:center">
<td style="width: 25%"><asp:Button ID="btnRefresh" runat="server" Text="Refresh" /></td>
<td style="width: 25%"></td>
<td style="width: 25%"></td>
<td style="width: 25%"></td>
</tr>
</table>
<br/>
<table>
<tr style="text-align:left">
<td style="width: 05%"></td>
<td style="width: 25%"><asp:Button ID="btnShowAppointmentScheduleRequests" runat="server" Text="Show Appointment Schedule Requests" /></td>
<td style="width: 10%"></td>
<td style="width: 25%"></td>
<td style="width: 25%"></td>
</tr>
</table>
<asp:Panel ID="Panel1" runat="server" Visible="False">
<asp:GridView ID="gridviewAppointmentScheduleRequests" runat="server" HeaderStyle-BorderStyle="Solid" autogeneratecolumns="true" AllowSorting="True" AutoGenerateDeleteButton="True" HeaderStyle-HorizontalAlign="Left" HeaderStyle-VerticalAlign="Middle" HeaderStyle-BackColor="#99FF99" ItemStyle-HorizontalAlign="Center" BorderColor="#999999" BorderStyle="Solid" BorderWidth=".5" RowStyle-BorderStyle="Solid" RowStyle-BorderWidth="1" RowStyle-BorderColor="#999999" ></asp:GridView>
</asp:Panel>
<hr/>
<table>
<tr style="text-align:left">
<td style="width: 05%"></td>
<td style="width: 25%"><asp:Button ID="btnShowApprovedAppointments" runat="server" Text="Show Approved Appointments" /></td>
<td style="width: 10%"></td>
<td style="width: 25%"></td>
<td style="width: 25%"></td>
</tr>
</table>
<asp:Panel ID="Panel2" runat="server" Visible="False">
<asp:GridView ID="gridviewApprovedAppointments" runat="server" HeaderStyle-BorderStyle="Solid" autogeneratecolumns="true" AllowSorting="True" AutoGenerateDeleteButton="True" AutoGenerateEditButton="True" HeaderStyle-HorizontalAlign="Left" HeaderStyle-VerticalAlign="Middle" HeaderStyle-BackColor="#99FF99" ItemStyle-HorizontalAlign="Center" BorderColor="#999999" BorderStyle="Solid" BorderWidth=".5" RowStyle-BorderStyle="Solid" RowStyle-BorderWidth="1" RowStyle-BorderColor="#999999" ></asp:GridView>
</asp:Panel>
</article>
<hr />
</div>
</div>
</asp:Content>
| 64.670391
| 532
| 0.425449
|
066a5deda159bd3275e43f7cc635a36cb66dd10e
| 10,518
|
aspx
|
ASP
|
LiveVideoSDK/VIMS.Cms/GRGcms.Web/admin/manager/manager_list.aspx
|
zengfanmao/mpds
|
c2bba464eaddc9ec70604a8614d84c5334461e8e
|
[
"MIT"
] | null | null | null |
LiveVideoSDK/VIMS.Cms/GRGcms.Web/admin/manager/manager_list.aspx
|
zengfanmao/mpds
|
c2bba464eaddc9ec70604a8614d84c5334461e8e
|
[
"MIT"
] | null | null | null |
LiveVideoSDK/VIMS.Cms/GRGcms.Web/admin/manager/manager_list.aspx
|
zengfanmao/mpds
|
c2bba464eaddc9ec70604a8614d84c5334461e8e
|
[
"MIT"
] | null | null | null |
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="manager_list.aspx.cs" Inherits="GRGcms.Web.admin.manager.manager_list" ValidateRequest="false" %>
<%@ Import Namespace="GRGcms.Common" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<title>用户列表</title>
<link rel="stylesheet" type="text/css" href="../../scripts/artdialog/ui-dialog.css" />
<link rel="stylesheet" type="text/css" href="../../css/pagination.css" />
<link rel="stylesheet" type="text/css" href="../skin/icon/iconfont.css" />
<link rel="stylesheet" type="text/css" href="../skin/default/style.css" />
<script type="text/javascript" src="../../scripts/jquery/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="../../../scripts/datepicker/WdatePicker.js"></script>
<script type="text/javascript" src="../../scripts/artdialog/dialog-plus-min.js"></script>
<script type="text/javascript" charset="utf-8" src="../js/laymain.js"></script>
<script type="text/javascript" charset="utf-8" src="../js/common.js"></script>
<script type="text/javascript">
function showGroupUser(ucode)
{
parent.layer.open({
type: 2,
area: ['1000px', '560px'],
title:'关联组管理',
content: ["manager/group_user.aspx?keywords=" + ucode, 'no']
});
}
function batchSelectGroup() {
var ucode = "12";
var names = [];
var ids = [];
$.each($('table input:checkbox'), function () {
if (this.checked) {
var currenItem = $(this).parent().prev();
names.push($(currenItem).attr("name"));
ids.push($(currenItem).val());
}
});
if (ids.length > 0) {
parent.layer.open({
type: 2,
area: ['1000px', '550px'],
title: '批量关联组',
btn: ["确认", "取消"],
yes: function (index, layero) {
var iframeWin = layero.find('iframe')[0];
iframeWin.contentWindow.selectGroupForm.save();
},
end: function () {
window.location.reload();
},
content: ["manager/group_select_batch.aspx?names=" + names.join(",")+"&ids="+ids.join(","), 'no']
});
}
else {
parent.layer.alert('请先选择用户!', { icon: 0 });
}
}
</script>
</head>
<body class="mainbody">
<form id="form1" runat="server">
<!--导航栏-->
<div class="location">
<a href="javascript:history.back(-1);" class="back"><i class="iconfont icon-up"></i><span>返回上一页</span></a>
<a href="../center.aspx" class="home"><i class="iconfont icon-home"></i><span>首页</span></a>
<i class="arrow iconfont icon-arrow-right"></i>
<span>用户列表</span>
<asp:Label ID="importResult" runat="server"></asp:Label>
</div>
<!--/导航栏-->
<!--工具栏-->
<div id="floatHead" class="toolbar-wrap">
<div class="toolbar">
<div class="box-wrap">
<a class="menu-btn"><i class="iconfont icon-more"></i></a>
<div class="l-list">
<ul class="icon-list">
<li><a href="manager_edit.aspx?action=<%=DTEnums.ActionEnum.Add %>"><i class="iconfont icon-close"></i><span>新增</span></a></li>
<li><a href="javascript:;" onclick="checkAll(this);"><i class="iconfont icon-check"></i><span>全选</span></a></li>
<li><asp:LinkButton ID="btnDelete" runat="server" OnClientClick="return ExePostBack('btnDelete');" OnClick="btnDelete_Click"><i class="iconfont icon-delete"></i><span>删除</span></asp:LinkButton></li>
<li><asp:LinkButton ID="btnStop" runat="server" OnClientClick="return ExeSinglePostBack('btnStop', '您确定执行遥晕操作嘛?');" OnClick="btnStop_Click"><i class="iconfont icon-delete"></i><span>遥晕</span></asp:LinkButton></li>
<li><asp:LinkButton ID="btnKill" runat="server" OnClientClick="return ExeSinglePostBack('btnKill', '您确定执行遥毙操作嘛?');" OnClick="btnKill_Click"><i class="iconfont icon-delete"></i><span>遥毙</span></asp:LinkButton></li>
<li><asp:LinkButton ID="btnDisable" runat="server" OnClientClick="return ExeSinglePostBack('btnDisable', '您确定执行禁用操作嘛?');" OnClick="btnDisable_Click"><i class="iconfont icon-delete"></i><span>禁用</span></asp:LinkButton></li>
<li><asp:LinkButton ID="btnEnable" runat="server" OnClientClick="return ExeSinglePostBack('btnEnable', '您确定执行激活操作嘛?');" OnClick="btnEnable_Click"><i class="iconfont icon-delete"></i><span>激活</span></asp:LinkButton></li>
<li><a href="javascript:;" onclick="batchSelectGroup();"><i class="iconfont icon-check"></i><span>批量关联组</span></a></li>
</ul>
<div class="menu-list">
<asp:TextBox ID="startDt" runat="server" CssClass="input rule-date-input" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"></asp:TextBox>
-
<asp:TextBox ID="endDt" runat="server" CssClass="input rule-date-input" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"></asp:TextBox>
</div>
<ul class="icon-list">
<li>
<asp:LinkButton ID="btnImport" runat="server" OnClick="btnImport_Click"><i class="iconfont icon-down"></i><span>PDT数据接入</span></asp:LinkButton>
</li>
</ul>
</div>
<div class="r-list">
<asp:TextBox ID="txtKeywords" runat="server" CssClass="keyword" />
<asp:LinkButton ID="lbtnSearch" runat="server" CssClass="btn-search" OnClick="btnSearch_Click"><i class="iconfont icon-search"></i></asp:LinkButton>
</div>
</div>
</div>
</div>
<!--/工具栏-->
<!--列表-->
<div class="table-container">
<asp:Repeater ID="rptList" runat="server">
<HeaderTemplate>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="ltable">
<tr>
<th width="5%">选择</th>
<th align="left" width="5%">用户名</th>
<th align="left" width="5%">姓名</th>
<th align="left" width="5%">角色</th>
<th align="left" width="4%">警员编号</th>
<th align="left" width="4%">职位</th>
<th align="left" width="5%">所属部门</th>
<th align="left" width="4%">帐户类型</th>
<th align="left" width="8%">电话</th>
<th align="left" width="5%">当前组</th>
<th align="left" width="4%">移动台号</th>
<th align="left" width="4%">类别</th>
<th align="left" width="8%">添加时间</th>
<th width="4%">状态</th>
<th width="8%">操作</th>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td align="center">
<input type="hidden" value="<%#Eval("uCode")%>" name="<%# Eval("uName") %>" />
<asp:CheckBox ID="chkId" CssClass="checkall" runat="server" Style="vertical-align: middle;" />
<asp:HiddenField ID="hidId" Value='<%#Eval("id")%>' runat="server" />
</td>
<td><a href="manager_edit.aspx?action=<%#DTEnums.ActionEnum.Edit %>&id=<%#Eval("id")%>"><%# Eval("uCode") %></a></td>
<td><%# Eval("uName") %></td>
<td><%#new GRGcms.BLL.role().GetTitle(Convert.ToInt32(Eval("roleid")))%></td>
<td><%# Eval("pcNum") %></td>
<td><%# Eval("uDuty") %></td>
<td><%# Eval("dName") %></td>
<td><%# Eval("accountType") %></td>
<td><%# Eval("uTel") %></td>
<td><%# Eval("groupName") %></td>
<td><%# Eval("deviceid") %></td>
<td><%# Eval("devicetype") %></td>
<td><%#string.Format("{0:g}",Eval("Createtime"))%></td>
<td align="center"><%# Eval("status") %></td>
<td align="center">
<div style='display:<%# Eval("devicetype").ToString().Trim()=="PDT"?"none":"block" %>'>
<a href="manager_edit.aspx?action=<%#DTEnums.ActionEnum.Edit %>&id=<%#Eval("ID")%>">修改</a>
<a href="javascript:void(0)" onclick="showGroupUser('<%# Eval("uCode") %>')">关联组</a>
</div>
</td>
</tr>
</ItemTemplate>
<FooterTemplate>
<%#rptList.Items.Count == 0 ? "<tr><td align=\"center\" colspan=\"13\">暂无记录</td></tr>" : ""%>
</table>
</FooterTemplate>
</asp:Repeater>
</div>
<!--/列表-->
<!--内容底部-->
<div class="line20"></div>
<div class="pagelist">
<div class="l-btns">
<span>显示</span><asp:TextBox Enabled="true" ID="txtPageNum" runat="server" CssClass="pagenum" onkeydown="return checkNumber(event);"
OnTextChanged="txtPageNum_TextChanged" AutoPostBack="True"></asp:TextBox><span>条/页</span>
</div>
<div id="PageContent" runat="server" class="default"></div>
</div>
<!--/内容底部-->
</form>
</body>
</html>
| 56.548387
| 250
| 0.472238
|
f5a8e82468979a09e4b860d3f8f0348ca68a95c6
| 593
|
aspx
|
ASP
|
Module-2/Design-Patterns/Materials/DI.NET/SimpleCommerce/CommerceWebWithCastleWindsor/Views/Home/Index.aspx
|
owolp/TelerikAcademy
|
291838d267eed3e97be62a24e4f0dd0984b3e0bd
|
[
"MIT"
] | 2
|
2016-09-19T18:25:36.000Z
|
2016-09-20T13:35:40.000Z
|
Module-2/Design-Patterns/Materials/DI.NET/SimpleCommerce/CommerceWebWithCastleWindsor/Views/Home/Index.aspx
|
owolp/Telerik-Academy
|
291838d267eed3e97be62a24e4f0dd0984b3e0bd
|
[
"MIT"
] | null | null | null |
Module-2/Design-Patterns/Materials/DI.NET/SimpleCommerce/CommerceWebWithCastleWindsor/Views/Home/Index.aspx
|
owolp/Telerik-Academy
|
291838d267eed3e97be62a24e4f0dd0984b3e0bd
|
[
"MIT"
] | null | null | null |
<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<FeaturedProductsViewModel>" %>
<%@ Import Namespace="Ploeh.Samples.Commerce.Web.Models" %>
<asp:Content ID="indexTitle" ContentPlaceHolderID="TitleContent" runat="server">
Home Page
</asp:Content>
<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
<h2>Featured Products</h2>
<div>
<% foreach (var product in this.Model.Products)
{ %>
<div><%= this.Html.Encode(product.SummaryText) %></div>
<% } %>
</div>
</asp:Content>
| 34.882353
| 132
| 0.681282
|
13ebeec7d13b4cba774093e94efac6710408e0a6
| 909
|
ascx
|
ASP
|
src/TrueOrFalse.Frontend.Web/Views/Questions/Answer/AnswerControls/SolutionTypeFlashCard.ascx
|
memucho/webapp
|
96a919d8298bb7ac282bac32692c443f9a98fceb
|
[
"MIT"
] | 4
|
2021-09-09T15:32:23.000Z
|
2022-01-03T11:52:54.000Z
|
src/TrueOrFalse.Frontend.Web/Views/Questions/Answer/AnswerControls/SolutionTypeFlashCard.ascx
|
memucho/webapp
|
96a919d8298bb7ac282bac32692c443f9a98fceb
|
[
"MIT"
] | 214
|
2019-11-14T14:10:06.000Z
|
2022-03-30T21:32:09.000Z
|
src/TrueOrFalse.Frontend.Web/Views/Questions/Answer/AnswerControls/SolutionTypeFlashCard.ascx
|
memucho/webapp
|
96a919d8298bb7ac282bac32692c443f9a98fceb
|
[
"MIT"
] | null | null | null |
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<QuestionSolutionFlashCard>" %>
<%@ Import Namespace="TrueOrFalse.Web" %>
<div id="flashCardContent">
<div class="front flashCardContentSite" id="flashCard-front">
<div class="flipClickHint">
<span class="flipClickHintIcon"><i class="fa fa-repeat" aria-hidden="true"></i></span>
<span class="flipClickHintText">Zum Umdrehen klicken</span>
</div>
</div>
<div class="back flashCardContentSite" id="flashCard-back">
<%= MarkdownMarkdig.ToHtml(Model.Text) %>
<div class="flipClickHint">
<span class="flipClickHintIcon"><i class="fa fa-repeat" aria-hidden="true"></i></span>
<span class="flipClickHintText">Zum Umdrehen klicken</span>
</div>
</div>
</div>
<script type="text/javascript">
$('#flashCardContent').flip();
</script>
| 41.318182
| 99
| 0.634763
|
f2f33395141df00f5f053d3f96ba436c6a7cbb84
| 768
|
ascx
|
ASP
|
Util/FileManager/SearchHeader.ascx
|
Episerver-trainning/episerver4_adfs
|
66187fc979ee39173e891ae9674174b3c53a31a3
|
[
"MIT"
] | null | null | null |
Util/FileManager/SearchHeader.ascx
|
Episerver-trainning/episerver4_adfs
|
66187fc979ee39173e891ae9674174b3c53a31a3
|
[
"MIT"
] | null | null | null |
Util/FileManager/SearchHeader.ascx
|
Episerver-trainning/episerver4_adfs
|
66187fc979ee39173e891ae9674174b3c53a31a3
|
[
"MIT"
] | null | null | null |
<%@ Control EnableViewState="False" Language="c#" AutoEventWireup="false" Codebehind="SearchHeader.ascx.cs" Inherits="EPiServer.Util.FileManager.SearchHeader" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<%@ Register TagPrefix="EPiServer" Namespace="EPiServer.WebControls" Assembly="EPiServer" %>
<table cellspacing="0" class="FM-CommandHeading">
<tr>
<td class="FM-DirectoryToolbar" align="center" valign="middle">
<asp:Image Runat="server"
ID="FolderIcon"
ImageUrl="~/Util/Images/FileManager/folder_color_search.gif"
ImageAlign="Middle"
hspace="5" />
</td>
<td class="FM-DirectoryToolbar" width="100%">
<span class="FM-Title"><EPiServer:Translate Text="/button/search" runat="server"/></span>
</td>
</tr>
</table>
| 45.176471
| 222
| 0.71875
|
aec12af0f0ad0961b4a257fa4ffc683359d59124
| 2,595
|
ascx
|
ASP
|
MonoX/ModuleGallery/MonoXMenuSimple.ascx
|
Zoomicon/Trafilm
|
24ae2514c79b0abe820bc88aef4ad5959cbbab20
|
[
"MIT"
] | 1
|
2016-05-26T15:19:14.000Z
|
2016-05-26T15:19:14.000Z
|
MonoX/ModuleGallery/MonoXMenuSimple.ascx
|
Zoomicon/Trafilm
|
24ae2514c79b0abe820bc88aef4ad5959cbbab20
|
[
"MIT"
] | null | null | null |
MonoX/ModuleGallery/MonoXMenuSimple.ascx
|
Zoomicon/Trafilm
|
24ae2514c79b0abe820bc88aef4ad5959cbbab20
|
[
"MIT"
] | 1
|
2016-05-26T15:19:09.000Z
|
2016-05-26T15:19:09.000Z
|
<%@ Control Language="C#" AutoEventWireup="true" Inherits="MonoSoftware.MonoX.ModuleGallery.MonoXMenuSimple" Codebehind="MonoXMenuSimple.ascx.cs" %>
<%@ Import Namespace="MonoSoftware.MonoX.Controls.HierarchicalRepeater" %>
<%@ Register Assembly="MonoX" Namespace="MonoSoftware.MonoX.Controls.HierarchicalRepeater" TagPrefix="Mono" %>
<nav>
<Mono:HierarchicalRepeater runat="server" ID="repeater" CssClass="MonoXSimpleMenu <%# GetItemCssClass((HierarchyData<NavigationMenuItem>)Container.DataItem) %>" ControlHTMLTag="ul">
<TemplateCollection>
<Mono:ItemTemplate ListItemType="HeaderTemplate">
<Template>
</Template>
</Mono:ItemTemplate>
<Mono:ItemTemplate Depth="-1" ListItemType="DepthHeaderTemplate">
<Template>
</Template>
</Mono:ItemTemplate>
<Mono:ItemTemplate Depth="0" ListItemType="ItemHeaderTemplate">
<Template>
</Template>
</Mono:ItemTemplate>
<Mono:ItemTemplate Depth="-1" ListItemType="ItemTemplate">
<Template>
<li class='<%# SetItemClass(Eval("Item.Url").ToString()) %> <%# Eval("Item.CssClass").ToString() %>' title='<%#Eval("Item.ToolTip") %>'><%# Convert.ToBoolean(Eval("Item.Url").ToString().Length > 0) ? "<a href=\"" + Eval("Item.Url") + "\">" : "<a href=\"#\">"%><%#Eval("Item.Title") %></a><%# Convert.ToBoolean(Eval("HasChildren")) ? "<ul class='level" + Convert.ToInt32(Eval("Item.Depth")).ToString() + "'>" : Convert.ToInt32(Eval("Item.Depth")) > 0 ? "</li>" : "" %>
</Template>
</Mono:ItemTemplate>
<Mono:ItemTemplate Depth="0" ListItemType="ItemFooterTemplate">
<Template>
<%# Convert.ToBoolean(Eval("HasChildren")) ? "</ul></li>" : "</li>"%>
</Template>
</Mono:ItemTemplate>
<Mono:ItemTemplate Depth="-1" ListItemType="ItemFooterTemplate">
<Template>
<%# Convert.ToBoolean(Eval("HasChildren")) ? "</ul></li>" : "" %>
</Template>
</Mono:ItemTemplate>
<Mono:ItemTemplate Depth="-1" ListItemType="DepthFooterTemplate">
<Template>
</Template>
</Mono:ItemTemplate>
<Mono:ItemTemplate ListItemType="FooterTemplate">
<Template>
</Template>
</Mono:ItemTemplate>
</TemplateCollection>
</Mono:HierarchicalRepeater>
</nav>
| 57.666667
| 484
| 0.565318
|
ed178ec71afb5ee076c3a7a070f451aee887a7ab
| 2,049
|
aspx
|
ASP
|
PM/SysFolder/AppFrame/AppWorkFlowPrint.aspx
|
chen1993nian/CPMPlatform
|
6835b63574bfbb3e30683f74233b554a3d3514bd
|
[
"MIT"
] | null | null | null |
PM/SysFolder/AppFrame/AppWorkFlowPrint.aspx
|
chen1993nian/CPMPlatform
|
6835b63574bfbb3e30683f74233b554a3d3514bd
|
[
"MIT"
] | null | null | null |
PM/SysFolder/AppFrame/AppWorkFlowPrint.aspx
|
chen1993nian/CPMPlatform
|
6835b63574bfbb3e30683f74233b554a3d3514bd
|
[
"MIT"
] | 1
|
2020-12-23T02:34:19.000Z
|
2020-12-23T02:34:19.000Z
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AppWorkFlowPrint.aspx.cs" Inherits="EIS.Web.SysFolder.AppFrame.AppWorkFlowPrint" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>查看流程相关信息</title>
<meta http-equiv="Pragma" content="no-cache"/>
<link type="text/css" rel="stylesheet" href="../../Css/appPrint.css" />
<script type="text/javascript" src="../../js/jquery-1.4.2.min.js"></script>
<%=customScript%>
<style type="text/css" media="print">
.NoPrint{display:none;}
.PageNext{page-break-after: always;}
#maindiv{height:100%;overflow:visible}
</style>
<script type="text/javascript">
jQuery(function () {
$(window).resize(function () {
$("#maindiv").height($(document.body).height() - 75);
});
$("#maindiv").height($(document.body).height() - 75);
});
function appPrint() {
document.getElementById("WebBrowser").ExecWB(7, 1);
}
</script>
<script type="text/javascript" src="LodopFuncs.js"></script>
<object id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width="0" height="0">
<embed id="LODOP_EM" type="application/x-print-lodop" width="0" height="0" pluginspage="install_lodop.exe"></embed>
</object>
</head>
<body>
<form id="form1" runat="server">
<object id="WebBrowser" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height="0" width="0" ></object>
<!-- 工具栏 -->
<div class="menubar NoPrint">
<div class="topnav">
<ul>
<li><a href="javascript:" onclick="appPrint();" >打印</a></li>
<li><a href="javascript:" onclick="window.close();" >关闭</a> </li>
</ul>
</div>
</div>
<div id="maindiv" style="background:white;">
<% =tblHTML%>
</div>
</form>
</body>
</html>
| 40.176471
| 142
| 0.587604
|
557c922dd043fd9644d7ba0508e1203b7dc56fff
| 1,734
|
aspx
|
ASP
|
DOTP.DRM/Views/Characters/Index.aspx
|
anxkha/DRM
|
7652c4ebde11abffa340363c29be9b1a14564c2a
|
[
"BSD-2-Clause"
] | 1
|
2017-04-01T10:05:25.000Z
|
2017-04-01T10:05:25.000Z
|
DOTP.DRM/Views/Characters/Index.aspx
|
anxkha/DRM
|
7652c4ebde11abffa340363c29be9b1a14564c2a
|
[
"BSD-2-Clause"
] | null | null | null |
DOTP.DRM/Views/Characters/Index.aspx
|
anxkha/DRM
|
7652c4ebde11abffa340363c29be9b1a14564c2a
|
[
"BSD-2-Clause"
] | null | null | null |
<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="DOTP.RaidManager" %>
<%@ Import Namespace="DOTP.Users" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
DRM - Account Management - Characters
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<h2>Characters</h2>
<p><%: Html.ActionLink("Add Character", "Add", "Characters") %></p>
<table class="listTable" style="width: 75em;">
<thead>
<tr>
<td><b>Name</b></td>
<td><b>Level</b></td>
<td><b>Class</b></td>
<td><b>Race</b></td>
<td><b>Primary Specialization</b></td>
<td><b>Secondary Specialization</b></td>
<td></td>
<td></td>
</tr>
</thead>
<tbody>
<%
var characters = (List<Character>)ViewBag.Characters;
if(null != characters)
{
foreach(var character in characters)
{
%>
<tr>
<td><%: character.Name %></td>
<td><%: character.Level %></td>
<td><%: character.Class %></td>
<td><%: character.Race %></td>
<td><%: Specialization.Store.ReadOneOrDefault(s => s.ID == character.PrimarySpecialization).Name %></td>
<td><%: Specialization.Store.ReadOneOrDefault(s => s.ID == character.SecondarySpecialization).Name %></td>
<td><a href="/Characters/Edit?Name=<%: character.Name %>" title="Edit this character"><img src="/Content/images/edit-icon.png" alt="Edit" /></a></td>
<td><a href="/Characters/Delete?Name=<%: character.Name %>" title="Delete this character"><img src="/Content/images/delete-icon.png" alt="Edit" /></a></td>
</tr>
<%
}
}
%>
</tbody>
</table>
</asp:Content>
| 29.389831
| 159
| 0.607843
|
d9aab03131a73e9a9360aa8ddccf160f2c80810a
| 5,770
|
aspx
|
ASP
|
SITE/VenderSelGenero.aspx
|
FbFDestro/DownloadBanker
|
81ebc54e620402e2c3169b7ed36daaa4c7ddf220
|
[
"MIT"
] | 1
|
2020-08-06T19:03:28.000Z
|
2020-08-06T19:03:28.000Z
|
SITE/VenderSelGenero.aspx
|
JCGCosta/DownloadBanker
|
81ebc54e620402e2c3169b7ed36daaa4c7ddf220
|
[
"MIT"
] | null | null | null |
SITE/VenderSelGenero.aspx
|
JCGCosta/DownloadBanker
|
81ebc54e620402e2c3169b7ed36daaa4c7ddf220
|
[
"MIT"
] | 3
|
2020-07-03T17:50:44.000Z
|
2020-08-06T19:03:29.000Z
|
<%@ Page Title="" Language="C#" MasterPageFile="~/Inicio.master" AutoEventWireup="true" CodeFile="VenderSelGenero.aspx.cs" Inherits="VenderSelGenero" %>
<asp:Content ID="Content1" ContentPlaceHolderID="phCabecalho" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="phConteudo" Runat="Server">
<!-- inicio box geral -->
<div id="boxGeral" class="uk-container uk-container-center">
<!-- inicio grid geral -->
<div class="uk-grid uk-grid-collapse">
<!-- inicio box esquerda -->
<div class="uk-width-1-2">
<h2 class="tituloEsquerda"><div class="uk-icon-file"></div> GÊNEROS DE CATEGORIA >> <asp:Label ID="lblCategoriaTitulo" runat="server" Text="Label"></asp:Label></h2>
<div id="boxEsquerda" class="uk-container uk-container-center">
<div class="uk-grid uk-grid-match uk-grid-small">
<!-- conteudo box esquerda -->
<div class="uk-width-1-1 selCat">Selecione o gênero em que seu produto se encaixa: </div>
<asp:ListBox ID="lbGenero" runat="server" DataTextField="nome_genero" DataValueField="id_genero" CssClass="listCats"></asp:ListBox>
<div class="uk-width-1-3"> <asp:Button ID="btnVoltar" runat="server" Text="VOLTAR" OnClick="btnVoltar_Click" /></div>
<div class="uk-width-1-3"> <asp:Button ID="btnProsseguir" runat="server" Text="PROSSEGUIR" OnClick="btnProsseguir_Click" /> </div>
</div>
</div>
</div>
<!-- fim box esquerda -->
<!-- inicio box direita -->
<div class="uk-width-1-2">
<h2 class="tituloDireita">Crie um novo gênero</h2>
<div id="boxDireita" class="uk-container uk-container-center">
<div class="uk-grid uk-grid-match uk-grid-small">
<!-- conteudo box direita -->
<div class="uk-width-1-1 selCat">Caso necessário, crie um novo gênero:</div>
<div class="uk-width-2-3"> <asp:TextBox ID="txtNovoGenero" placeholder="Nome do gênero" runat="server"></asp:TextBox><br /></div>
<div class="uk-width-1-3"> <asp:Button ID="btnCriar" runat="server" Text="CONTINUAR" OnClick="btnCriar_Click" /></div>
<br />
<div class="uk-width-1-1"><img id="imgAnuncioApp" src="imgs/anuncioApp.jpg" alt="Baixe o app android" /> </div>
</div>
</div>
</div>
<!-- fim box direita -->
</div>
<!-- fim grid geral -->
</div> <!-- fim box geral -->
<asp:SqlDataSource ID="sqlCarregarGenero" runat="server" ConnectionString="<%$ ConnectionStrings:downloadbankerConnectionString %>" ProviderName="<%$ ConnectionStrings:downloadbankerConnectionString.ProviderName %>" SelectCommand="SELECT genero.id_genero, genero.nome_genero FROM genero INNER JOIN categoriagenero ON genero.id_genero = categoriagenero.id_genero INNER JOIN categoria ON categoriagenero.id_cat = categoria.id_cat WHERE (categoria.id_cat = @cat)">
<SelectParameters>
<asp:SessionParameter Name="cat" SessionField="idCategoriaArquivo" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="sqlCriarGen" runat="server" ConnectionString="<%$ ConnectionStrings:downloadbankerConnectionString %>" InsertCommand="INSERT INTO genero(id_genero, nome_genero) VALUES (@idGen, @titGen)" ProviderName="<%$ ConnectionStrings:downloadbankerConnectionString.ProviderName %>" SelectCommand="SELECT * FROM genero">
<InsertParameters>
<asp:SessionParameter Name="idGen" SessionField="idNovoGen" />
<asp:Parameter Name="titGen" />
</InsertParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="sqlCriarCatGen" runat="server" ConnectionString="<%$ ConnectionStrings:downloadbankerConnectionString %>" InsertCommand="INSERT INTO categoriagenero(id_cat, id_genero) VALUES (@idCat,@idGen)" ProviderName="<%$ ConnectionStrings:downloadbankerConnectionString.ProviderName %>" SelectCommand="SELECT * FROM categoriagenero">
<InsertParameters>
<asp:SessionParameter Name="idCat" SessionField="idCategoriaArquivo" />
<asp:SessionParameter Name="idGen" SessionField="idGeneroArquivo" />
</InsertParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="sqlAud" runat="server" ConnectionString="<%$ ConnectionStrings:downloadbankerConnectionString %>" InsertCommand="INSERT INTO auditoriau(data_audU, hora_audU, id_user, acao_audU, desc_audU) VALUES (@data,@hora,@id,@acao,@desc)" ProviderName="<%$ ConnectionStrings:downloadbankerConnectionString.ProviderName %>" SelectCommand="SELECT * FROM [auditoriau]">
<InsertParameters>
<asp:Parameter Name="data" />
<asp:Parameter Name="hora" />
<asp:Parameter Name="id" />
<asp:Parameter Name="acao" />
<asp:Parameter Name="desc" />
</InsertParameters>
</asp:SqlDataSource>
</asp:Content>
| 48.487395
| 465
| 0.571231
|
bf70d96548eb535b568fb8b90f8ce53134219072
| 233,426
|
aspx
|
ASP
|
OnLine/OnLine/Pages/DashBoard.aspx
|
shibathethinker/ChimeraCRM
|
7e202d6cc10b87c6ab9e7eb0235fb8d981ff0036
|
[
"Apache-2.0"
] | 19
|
2017-03-16T01:20:31.000Z
|
2021-07-19T10:07:02.000Z
|
OnLine/OnLine/Pages/DashBoard.aspx
|
shibathethinker/ChimeraCRM
|
7e202d6cc10b87c6ab9e7eb0235fb8d981ff0036
|
[
"Apache-2.0"
] | 1
|
2018-09-27T21:54:37.000Z
|
2018-10-02T05:32:06.000Z
|
OnLine/OnLine/Pages/DashBoard.aspx
|
shibathethinker/ChimeraCRM
|
7e202d6cc10b87c6ab9e7eb0235fb8d981ff0036
|
[
"Apache-2.0"
] | 9
|
2017-03-16T01:20:32.000Z
|
2021-12-10T12:07:35.000Z
|
<%@ Page Title="" Language="C#" Theme="ThemeBlue" MasterPageFile="~/Pages/Site1.Master" AutoEventWireup="true" CodeBehind="DashBoard.aspx.cs" Inherits="OnLine.Pages.DashBoard" %>
<%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script type="text/javascript">
$(function () {
$('#demo > a:first').fancyzoom({ Speed: 400, showoverlay: false });
$('#demo > a:last').fancyzoom({ Speed: 400, showoverlay: false });
$('#nooverlay').fancyzoom({ Speed: 400, showoverlay: false });
$('img.fancyzoom').fancyzoom();
});
</script>
<style type="text/css">
legend {color:#00488F}
.style9
{
width: 100%;
border-collapse: collapse;
border-bottom-color: "#0066CC";
font-weight: bold;
border-left-width: thin;
border-right-width: thin;
border-top-width: thin;
border-bottom-width: thin;
}
.style10
{
font-weight: normal;
}
.style11
{
width: 100%;
border-collapse: collapse;
border-bottom-color: "#0066CC";
font-size: small;
border-left-width: thin;
border-right-width: thin;
border-top-width: thin;
border-bottom-width: thin;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderHeader" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolderBody" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:Label ID="Label_Dashboard_Screen_Access"
runat="server" ForeColor="Red"
style="font-size: small; font-family: Andalus;"
Visible="False"></asp:Label>
<asp:Label ID="Label_Lead_Dashboard_Access" runat="server" ForeColor="Red"
style="font-size: small" Visible="False"></asp:Label>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<table width="100%">
<tr>
<td background="../Images/menu_bg.gif" >
<asp:LinkButton ID="LinkButton_Lead" runat="server"
ToolTip="Click to expand or collapse">Lead Dashboard</asp:LinkButton>
<div style="float: right; vertical-align: middle;">
<asp:Image ID="Pend_Appr_Collapse_Img" runat="server"/>
</div>
</td>
</tr>
</table>
<asp:Panel ID="Panel_Lead_Dashboard" runat="server" BorderColor="#0066CC"
BorderStyle="Ridge" BorderWidth="2px"
style="font-family: Andalus">
<asp:UpdateProgress ID="UpdateProgress1"
AssociatedUpdatePanelID="UpdatePanel11" runat="server" DisplayAfter="1">
<ProgressTemplate>
<div style="position:fixed;top:40px;left:35%;z-index:100;width:50%;height:50%">
<image style="z-index:105" src="../Images/loading.gif"></image>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<asp:UpdatePanel ID="UpdatePanel11" runat="server" UpdateMode="Conditional" OnLoad="UpdatePanel11_load">
<ContentTemplate>
<table id="LeadTable" border="0" cellpadding="0" cellspacing="0" width="90%" >
<tr>
<td align="center" width="45%">
<br />
<asp:Chart ID="Chart_Lead_Conv_By_Val" runat="server" BorderlineColor="Tan"
BorderlineDashStyle="Solid" Height="400px" ViewStateContent="All" Width="400px"
ViewStateMode="Enabled" >
<Series>
<asp:Series ChartType="Pie" Font="Baskerville Old Face, 9pt" Legend="Legend1"
Name="Series1" ChartArea="ChartArea1">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea1">
<Area3DStyle Enable3D="True" />
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend1">
</asp:Legend>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend2">
</asp:Legend>
</Legends>
<Titles>
<asp:Title Font="Book Antiqua, 9.75pt" Name="Lead Conversion % by Lead Amount">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<span class="style10">
Filter By Submit Date (default range is last 12 months):<br />
<span class="style6">From Date:</span></span>
<asp:TextBox class="form-control datepicker-textbox" ID="TextBox_From_Date_Lead_Val" runat="server"
style="font-family: Andalus" ValidationGroup="LeadValDateRange"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_From_Date_Lead_Val_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton3"
TargetControlID="TextBox_From_Date_Lead_Val">
</ajaxtoolkit:CalendarExtender>
<span class="style10">
<span class="style6">To Date:</span></span><asp:TextBox
ID="TextBox_To_Date_Lead_Val" runat="server" class="form-control datepicker-textbox"
style="font-family: Andalus" ValidationGroup="LeadValDateRange" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_To_Date_Lead_Val_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton4"
TargetControlID="TextBox_To_Date_Lead_Val">
</ajaxtoolkit:CalendarExtender>
<asp:Button ID="Button_Lead_Conv_Val_Show" runat="server" class="btn btn-sm btn-success"
onclick="Button_Lead_Conv_Val_Show_Click"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="LeadValDateRange" />
<span class="style10">
<asp:Button ID="Button_Lead_Conv_Val_Download" runat="server" class="btn btn-sm btn-success"
onclick="Button_Lead_Conv_Val_Download_Click"
style="font-family: Andalus; font-size: small;" Text="Report"
ValidationGroup="LeadValDateRange" />
<asp:CompareValidator ID="CompareValidator3" runat="server"
ControlToCompare="TextBox_From_Date_Lead_Val"
ControlToValidate="TextBox_To_Date_Lead_Val" Display="Dynamic"
ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="LeadValDateRange"></asp:CompareValidator>
</span><asp:Label ID="Label_Message_Lead_Val" runat="server" Text="Label"
Visible="False"></asp:Label>
</td>
<td align="center" width="45%">
<asp:Chart ID="Chart_Lead_Conv_By_Number" runat="server" BorderlineColor="Tan"
BorderlineDashStyle="Solid" Height="400px" ViewStateContent="All"
ViewStateMode="Enabled" Width="400px">
<Series>
<asp:Series ChartType="Pie" Font="Baskerville Old Face, 9pt" Legend="Legend1"
Name="Series1">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea1">
<Area3DStyle Enable3D="True" />
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend1">
</asp:Legend>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend2">
</asp:Legend>
</Legends>
<Titles>
<asp:Title Font="Book Antiqua, 9.75pt" Name="Title1">
</asp:Title>
</Titles>
</asp:Chart>
<span class="style9">
<br />
</span><span class="style11"><span class="style10">Filter By Submit Date (default range
is last 12 months):</span>
<br />
From Date:</span>
<asp:TextBox class="form-control datepicker-textbox" ID="TextBox_From_Date_Lead_Amnt" runat="server"
style="font-family: Andalus" ValidationGroup="LeadAmntDateRange"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_From_Date_Lead_Amnt_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton5"
TargetControlID="TextBox_From_Date_Lead_Amnt">
</ajaxtoolkit:CalendarExtender>
<span class="style11">To </span><span class="style11">Date:</span><asp:TextBox
ID="TextBox_To_Date_Lead_Amnt" runat="server" class="form-control datepicker-textbox"
style="font-family: Andalus" ValidationGroup="LeadAmntDateRange"
ReadOnly="True"></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_To_Date_Lead_Amnt_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton6"
TargetControlID="TextBox_To_Date_Lead_Amnt">
</ajaxtoolkit:CalendarExtender>
<asp:Button ID="Button_Lead_Conv_Val_Show0" runat="server" class="btn btn-sm btn-success"
onclick="Button_Lead_Conv_Val_Show0_Click" style="font-family: Andalus; "
Text="Show!" ValidationGroup="LeadAmntDateRange" />
<span class="style10"><asp:Button ID="Button_Lead_Conv_No_Download" class="btn btn-sm btn-success"
runat="server" onclick="Button_Lead_Conv_No_Download_Click"
style="font-family: Andalus; font-size: small;" Text="Report"
ValidationGroup="LeadValDateRange" />
</span>
<asp:CompareValidator ID="CompareValidator2" runat="server"
ControlToCompare="TextBox_From_Date_Lead_Amnt"
ControlToValidate="TextBox_To_Date_Lead_Amnt"
Display="Dynamic" ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="LeadAmntDateRange"></asp:CompareValidator>
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
<br />
</asp:Panel>
<ajaxtoolkit:CollapsiblePanelExtender ID="CollapsiblePanelExtender_Lead" runat="server" Collapsed="false" AutoCollapse="false" TargetControlID="Panel_Lead_Dashboard"
ImageControlId="Pend_Appr_Collapse_Img" CollapsedImage="~/Images/ArrowTip_Down.png" ExpandedImage="~/Images/ArrowTip_Parallel.png" ExpandControlID="LinkButton_Lead"
CollapseControlID="LinkButton_Lead"/>
</ContentTemplate>
</asp:UpdatePanel>
<asp:Label ID="Label_Potn_Dashboard_Access" runat="server" ForeColor="Red"
style="font-size: small" Visible="False"></asp:Label>
<asp:UpdatePanel ID="UpdatePanel2" runat="server">
<ContentTemplate>
<asp:UpdateProgress ID="UpdateProgressPotential" AssociatedUpdatePanelID="UpdatePanelPotential" DisplayAfter="1" runat="server">
<ProgressTemplate>
<div style="position:fixed;top:40px;left:35%;z-index:100;width:50%;height:50%">
<image style="z-index:105" src="../Images/loading.gif"></image>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<br />
<table width="100%">
<tr>
<td background="../Images/menu_bg.gif">
<asp:LinkButton ID="LinkButton_Pot" runat="server"
ToolTip="Click to expand or collapse">Potential Dashboard</asp:LinkButton>
<div style="float: right; vertical-align: middle;">
<asp:Image ID="Pend_Appr_Collapse_Img1" runat="server"/>
</div>
</td>
</tr>
</table>
<asp:Panel ID="Panel_Pot_Dashboard" runat="server" BorderColor="#0066CC"
BorderStyle="Ridge" BorderWidth="2px"
style="font-family: Andalus" CssClass="cpBody">
<asp:UpdatePanel ID="UpdatePanelPotential" runat="server" UpdateMode="Conditional" OnLoad="UpdatePanelPotential_load">
<ContentTemplate>
<table id="potTable" border="0" cellpadding="0" cellspacing="0" width="90%">
<tr>
<td align="center" width="45%">
<br />
<asp:Chart ID="Chart_Potn_Conv_By_Val" runat="server" BorderlineColor="Tan"
BorderlineDashStyle="Solid" Height="400px" ViewStateContent="All"
ViewStateMode="Enabled" Width="400px">
<Series>
<asp:Series ChartType="Pie" Font="Baskerville Old Face, 9pt" Legend="Legend1"
Name="Series1">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea1">
<Area3DStyle Enable3D="True" />
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend1">
</asp:Legend>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend2">
</asp:Legend>
</Legends>
<Titles>
<asp:Title Font="Book Antiqua, 9.75pt" Name="Lead Conversion % by Lead Amount">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<span class="style10">
<br />
<span class="style6">Filter By Create Date (default range is last 12 months):
<br />
From Date:</span></span>
<asp:TextBox class="form-control datepicker-textbox" ID="TextBox_From_Date_Potn_Val" runat="server"
style="font-family: Andalus" ValidationGroup="PotnValDateRange"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_From_Date_Potn_Val_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton7"
TargetControlID="TextBox_From_Date_Potn_Val">
</ajaxtoolkit:CalendarExtender>
<span class="style10">
<span class="style6">To Date:</span></span><asp:TextBox
ID="TextBox_To_Date_Potn_Val" runat="server" class="form-control datepicker-textbox"
style="font-family: Andalus" ValidationGroup="PotnValDateRange"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_To_Date_Potn_Val_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton8"
TargetControlID="TextBox_To_Date_Potn_Val">
</ajaxtoolkit:CalendarExtender>
<asp:Button ID="Button_Potn_Conv_Val_Show" runat="server" class="btn btn-sm btn-success"
onclick="Button_Potn_Conv_Val_Show_Click"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="PotnValDateRange" />
<span class="style10">
<asp:Button ID="Button_Potn_Conv_Val_Download" runat="server" class="btn btn-sm btn-success"
onclick="Button_Potn_Conv_Val_Download_Click"
style="font-family: Andalus; font-size: small;" Text="Report"
ValidationGroup="PotnValDateRange" />
<asp:CompareValidator ID="CompareValidator4" runat="server"
ControlToCompare="TextBox_From_Date_Potn_Val"
ControlToValidate="TextBox_To_Date_Potn_Val" Display="Dynamic"
ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="PotnValDateRange"></asp:CompareValidator>
</span>
</td>
<td align="center" width="45%">
<br />
<asp:Chart ID="Chart_Potn_Conv_By_No" runat="server" BorderlineColor="Tan"
BorderlineDashStyle="Solid" Height="400px" ViewStateContent="All"
ViewStateMode="Enabled" Width="400px">
<Series>
<asp:Series ChartType="Pie" Font="Baskerville Old Face, 9pt" Legend="Legend1"
Name="Series1">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea1">
<Area3DStyle Enable3D="True" />
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend1">
</asp:Legend>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend2">
</asp:Legend>
</Legends>
<Titles>
<asp:Title Font="Book Antiqua, 9.75pt" Name="Title1">
</asp:Title>
</Titles>
</asp:Chart>
<span class="style9">
<br />
<br />
</span><span class="style11"><span class="style6"><span class="style10">Filter By Create
Date (default range is last 12 months):<br /> </span></span> From Date:</span>
<asp:TextBox class="form-control datepicker-textbox" ID="TextBox_From_Date_Potn_No" runat="server"
style="font-family: Andalus" ValidationGroup="PotnNoDateRange"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_From_Date_Potn_No_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton9"
TargetControlID="TextBox_From_Date_Potn_No">
</ajaxtoolkit:CalendarExtender>
<span class="style11">To </span><span class="style11">Date:</span><asp:TextBox
ID="TextBox_To_Date_Potn_No" runat="server" class="form-control datepicker-textbox"
style="font-family: Andalus" ValidationGroup="PotnNoDateRange"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_To_Date_Potn_No_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton10"
TargetControlID="TextBox_To_Date_Potn_No">
</ajaxtoolkit:CalendarExtender>
<asp:Button ID="Button_Potn_Conv_No_Show" runat="server" class="btn btn-sm btn-success"
onclick="Button_Potn_Conv_No_Show_Click" style="font-family: Andalus; "
Text="Show!" ValidationGroup="PotnNoDateRange" />
<span class="style10"><asp:Button ID="Button_Potn_Conv_No_Download" class="btn btn-sm btn-success"
runat="server" onclick="Button_Potn_Conv_No_Download_Click"
style="font-family: Andalus; font-size: small;" Text="Report"
ValidationGroup="PotnValDateRange" />
</span>
<asp:CompareValidator ID="CompareValidator5" runat="server"
ControlToCompare="TextBox_From_Date_Potn_No"
ControlToValidate="TextBox_To_Date_Potn_No"
Display="Dynamic" ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="PotnNoDateRange"></asp:CompareValidator>
</td>
</tr>
<tr>
<td align="center" width="45%">
<br />
<asp:Chart ID="Chart_Pot_By_Stage" runat="server" BorderlineColor="Tan" Height="400px"
Width="400px" BorderlineDashStyle="Solid">
<Series>
<asp:Series Name="Series1" BackGradientStyle="TopBottom"
CustomProperties="DrawingStyle=Cylinder, LabelStyle=Center"
Font="Book Antiqua, 8.25pt">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea1" BackColor="LightSteelBlue"
BackGradientStyle="Center" BorderColor="Gainsboro">
<AxisY TitleFont="Baskerville Old Face, 9.75pt" IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisY>
<AxisX TitleFont="Baskerville Old Face, 9.75pt" IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisX>
<Area3DStyle Enable3D="True" Inclination="0" PointDepth="30"
PointGapDepth="30" />
</asp:ChartArea>
</ChartAreas>
<Titles>
<asp:Title Font="Book Antiqua, 8.25pt" Name="Title1">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<br />
<span class="style10"><span class="style6">Filter By Create Date (default range
is last 12 months):<br /> From Date:</span></span>
<asp:TextBox class="form-control datepicker-textbox" ID="TextBox_From_Date_Potn_Stage" runat="server"
style="font-family: Andalus" ValidationGroup="PotnStageGroup"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_From_Date_Potn_Stage_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton11"
TargetControlID="TextBox_From_Date_Potn_Stage">
</ajaxtoolkit:CalendarExtender>
<span class="style10">
<span class="style6">To Date:</span></span><asp:TextBox
ID="TextBox_To_Date_Potn_Stage" runat="server" class="form-control datepicker-textbox"
style="font-family: Andalus" ValidationGroup="PotnStageGroup"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_To_Date_Potn_Stage_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton12"
TargetControlID="TextBox_To_Date_Potn_Stage">
</ajaxtoolkit:CalendarExtender>
<asp:Button ID="Button_Potn_Stage" runat="server" class="btn btn-sm btn-success"
onclick="Button_Potn_Stage_Click"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="PotnStageGroup" />
<span class="style10">
<asp:CompareValidator ID="CompareValidator6" runat="server"
ControlToCompare="TextBox_From_Date_Potn_Stage"
ControlToValidate="TextBox_To_Date_Potn_Stage" Display="Dynamic"
ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="PotnStageGroup"></asp:CompareValidator>
</span>
</td>
<td align="center" width="45%">
<br />
<asp:Chart ID="Chart_Potn_By_Product" runat="server" BorderlineColor="Tan"
BorderlineDashStyle="Solid" Height="400px" ViewStateContent="All"
ViewStateMode="Enabled" Width="400px">
<Series>
<asp:Series ChartType="Pie" Font="Baskerville Old Face, 9pt" Legend="Legend1"
Name="Series1">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea1">
<Area3DStyle Enable3D="True" />
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend1">
</asp:Legend>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend2">
</asp:Legend>
</Legends>
<Titles>
<asp:Title Font="Book Antiqua, 9.75pt" Name="Title1">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<br />
<span class="style10"><span class="style6">Filter By Create Date (default range
is last 12 months):<br /> From Date:</span></span>
<asp:TextBox class="form-control datepicker-textbox" ID="TextBox_From_Date_Potn_by_Cat" runat="server"
style="font-family: Andalus"
ValidationGroup="PotnByCatGroup" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_From_Date_Potn_by_Cat_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton13"
TargetControlID="TextBox_From_Date_Potn_by_Cat">
</ajaxtoolkit:CalendarExtender>
<span class="style10">
<span class="style6">To Date:</span></span><asp:TextBox
ID="TextBox_To_Date_Potn_By_Cat" runat="server" class="form-control datepicker-textbox"
style="font-family: Andalus" ValidationGroup="PotnByCatGroup"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_To_Date_Potn_By_Cat_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton14"
TargetControlID="TextBox_To_Date_Potn_By_Cat">
</ajaxtoolkit:CalendarExtender>
<asp:Button ID="Button_Potn_By_Cat" runat="server" class="btn btn-sm btn-success"
onclick="Button_Potn_By_Cat_Click"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="PotnByCatGroup" />
<span class="style10">
<asp:Button ID="Button_Potn_By_Cat_Download" runat="server" class="btn btn-sm btn-success"
onclick="Button_Potn_By_Cat_Download_Click"
style="font-family: Andalus; font-size: small;" Text="Report"
ValidationGroup="PotnValDateRange" />
<asp:CompareValidator ID="CompareValidator7" runat="server"
ControlToCompare="TextBox_From_Date_Potn_Stage"
ControlToValidate="TextBox_To_Date_Potn_Stage" Display="Dynamic"
ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="PotnByCatGroup"></asp:CompareValidator>
</span>
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
<br />
</asp:Panel>
<ajaxtoolkit:CollapsiblePanelExtender ID="CollapsiblePanelExtender_Pot" runat="server" Collapsed="true" AutoCollapse="false" TargetControlID="Panel_Pot_Dashboard"
ImageControlId="Pend_Appr_Collapse_Img1" CollapsedImage="~/Images/ArrowTip_Down.png" ExpandedImage="~/Images/ArrowTip_Parallel.png" ExpandControlID="LinkButton_Pot"
CollapseControlID="LinkButton_Pot"/>
</ContentTemplate>
</asp:UpdatePanel>
<asp:Label ID="Label_Tran_Sales_Dashboard_Access"
runat="server" ForeColor="Red"
style="font-size: small" Visible="False"></asp:Label>
<asp:UpdatePanel ID="UpdatePanel3" runat="server">
<ContentTemplate>
<br />
<table width="100%">
<tr>
<td background="../Images/menu_bg.gif" >
<asp:LinkButton ID="LinkButton_Tran_Sales" runat="server"
ToolTip="Click to expand or collapse">Transaction Dashboard-Sales</asp:LinkButton>
<div style="float: right; vertical-align: middle;">
<asp:Image ID="Pend_Appr_Collapse_Img2" runat="server"/>
</div>
</td>
</tr>
</table>
<asp:UpdateProgress ID="UpdateProgress_Tran_Sales"
AssociatedUpdatePanelID="UpdatePanelTranSales" runat="server" DisplayAfter="1">
<ProgressTemplate>
<div style="position:fixed;top:40px;left:35%;z-index:100;width:50%;height:50%">
<image style="z-index:105" src="../Images/loading.gif"></image>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<asp:Panel ID="Panel_Tran_Sales_Dashboard" runat="server" BorderColor="#0066CC"
BorderStyle="Ridge" BorderWidth="2px"
style="font-family: Andalus" CssClass="cpBody">
<asp:UpdatePanel ID="UpdatePanelTranSales" runat="server" UpdateMode="Conditional" OnLoad="UpdatePanelTranSales_load">
<ContentTemplate>
<table id="potTable0" border="0" cellpadding="0" cellspacing="0" width="90%">
<tr>
<td align="center" width="45%" >
<asp:Chart ID="Chart_Transaction_Sales_Prod_Wise_Qnty" runat="server"
BorderlineColor="Tan" BorderlineDashStyle="Solid" Height="400px"
ViewStateContent="All" ViewStateMode="Enabled" Width="400px">
<Series>
<asp:Series ChartType="Pie" Font="Baskerville Old Face, 9pt" Legend="Legend1"
Name="Series1">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea1">
<Area3DStyle Enable3D="True" />
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend1">
</asp:Legend>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend2">
</asp:Legend>
</Legends>
<Titles>
<asp:Title Font="Book Antiqua, 9.75pt" Name="Title1">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<span class="style10">
<span class="style6">Filter By Invoice Date (default range is last 12 months):<br />
From Date:</span>
<asp:TextBox class="form-control datepicker-textbox" ID="TextBox_From_Date_Prod_Wise_Sales_Qnty" runat="server"
style="font-family: Andalus"
ValidationGroup="Prod_Wise_Sales_Qnty_Group" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_From_Date_Prod_Wise_Sales_Qnty_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton21"
TargetControlID="TextBox_From_Date_Prod_Wise_Sales_Qnty">
</ajaxtoolkit:CalendarExtender>
<span class="style6">To Date:</span><asp:TextBox
ID="TextBox_To_Date_Prod_Wise_Sales_Qnty" runat="server" class="form-control datepicker-textbox"
style="font-family: Andalus" ValidationGroup="Prod_Wise_Sales_Qnty_Group"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_To_Date_Prod_Wise_Sales_Qnty_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton22"
TargetControlID="TextBox_To_Date_Prod_Wise_Sales_Qnty">
</ajaxtoolkit:CalendarExtender>
<asp:Button ID="Button_Prod_Wise_Sales_Qnty" runat="server" class="btn btn-sm btn-success"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="Prod_Wise_Sales_Qnty_Group"
onclick="Button_Prod_Wise_Sales_Qnty_Click" />
<asp:Button ID="Button_Prod_Wise_Sales_Qnty_Download" runat="server" class="btn btn-sm btn-success"
onclick="Button_Prod_Wise_Sales_Qnty_Download_Click"
style="font-family: Andalus; font-size: small;" Text="Report"
ValidationGroup="Prod_Wise_Sales_Qnty_Group" />
<asp:CompareValidator ID="CompareValidator11" runat="server"
ControlToCompare="TextBox_From_Date_Prod_Wise_Sales_Qnty"
ControlToValidate="TextBox_To_Date_Prod_Wise_Sales_Qnty" Display="Dynamic"
ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="Prod_Wise_Sales_Qnty_Group"></asp:CompareValidator>
<br />
</span>
</td>
<td align="center" width="45%">
<br />
<asp:Chart ID="Chart_Transaction_Sales_Prod_Wise_Amount" runat="server"
BorderlineColor="Tan" BorderlineDashStyle="Solid" Height="400px"
ViewStateContent="All" ViewStateMode="Enabled" Width="400px"
style="text-align: right">
<Series>
<asp:Series ChartType="Pie" Font="Baskerville Old Face, 9pt" Legend="Legend1"
Name="Series1">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea1">
<Area3DStyle Enable3D="True" />
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend1">
</asp:Legend>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend2">
</asp:Legend>
</Legends>
<Titles>
<asp:Title Font="Book Antiqua, 9.75pt" Name="Title1">
</asp:Title>
</Titles>
</asp:Chart>
<span class="style9">
<br />
<br />
</span><span class="style11"><span class="style10"><span class="style6">
Filter
By Invoice Date (default range is last 12 months):<br /> </span></span>From
Date:</span>
<asp:TextBox class="form-control datepicker-textbox" ID="TextBox_From_Date_Prod_Wise_Sales_Amount" runat="server"
style="font-family: Andalus" ValidationGroup="Prod_Wise_Sales_Amount_Group"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_From_Date_Prod_Wise_Sales_Amount_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton17"
TargetControlID="TextBox_From_Date_Prod_Wise_Sales_Amount">
</ajaxtoolkit:CalendarExtender>
<span class="style11">To </span><span class="style11">Date:</span><asp:TextBox
ID="TextBox_To_Date_Prod_Wise_Sales_Amount" runat="server"
class="form-control datepicker-textbox"
style="font-family: Andalus" ValidationGroup="Prod_Wise_Sales_Amount_Group"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_To_Date_Prod_Wise_Sales_Amount_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton18"
TargetControlID="TextBox_To_Date_Prod_Wise_Sales_Amount">
</ajaxtoolkit:CalendarExtender>
<asp:Button ID="Button_Prod_Wise_Sales_Amount" runat="server" class="btn btn-sm btn-success"
style="font-family: Andalus; "
Text="Show!" ValidationGroup="Prod_Wise_Sales_Amount_Group"
onclick="Button_Prod_Wise_Sales_Amount_Click" />
<asp:CompareValidator ID="CompareValidator9" runat="server"
ControlToCompare="TextBox_From_Date_Prod_Wise_Sales_Amount"
ControlToValidate="TextBox_To_Date_Prod_Wise_Sales_Amount"
Display="Dynamic" ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="PotnNoDateRange"></asp:CompareValidator>
</td>
</tr>
<tr>
<td align="center" width="45%">
<br />
<asp:Chart ID="Chart_Sales_Pending_Clear_By_Account" runat="server"
BorderlineColor="Tan" Height="400px"
Width="400px" BorderlineDashStyle="Solid" Palette="EarthTones">
<Series>
<asp:Series Name="clearedSeries" BackGradientStyle="TopBottom"
Font="Book Antiqua, 9pt" IsValueShownAsLabel="True" Legend="Cleared"
LegendText="Cleared"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True, LabelStyle=Center"
ChartType="StackedColumn">
</asp:Series>
<asp:Series ChartArea="ChartArea1" Font="Book Antiqua, 9pt"
IsValueShownAsLabel="True" Legend="Not Cleared" LegendText="Not Cleared"
Name="NotClearedSeries"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True, LabelStyle=Center"
ChartType="StackedColumn">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea1" BackColor="LightSteelBlue"
BackGradientStyle="Center" BorderColor="Gainsboro">
<AxisY TitleFont="Baskerville Old Face, 9.75pt" IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisY>
<AxisX TitleFont="Baskerville Old Face, 9.75pt" IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisX>
<Area3DStyle Enable3D="True" Inclination="10" PointDepth="50"
PointGapDepth="50" />
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Alignment="Far" Docking="Bottom" LegendStyle="Column" Name="Cleared"
TitleFont="Book Antiqua, 9.75pt" Font="Book Antiqua, 9pt"
IsTextAutoFit="False" BackColor="White"
DockedToChartArea="ChartArea1" IsDockedInsideChartArea="False"
ItemColumnSpacing="5">
</asp:Legend>
<asp:Legend Alignment="Far" Name="Not Cleared"
TitleFont="Book Antiqua, 9.75pt" Font="Book Antiqua, 9pt"
IsTextAutoFit="False" BackColor="White" IsDockedInsideChartArea="False"
ItemColumnSpacing="5" LegendStyle="Column">
</asp:Legend>
</Legends>
<Titles>
<asp:Title Font="Book Antiqua, 8.25pt" Name="Title1">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<br />
<span class="style10"><span class="style6">Filter By Payment Date (default range
is last 12 months) and Customer:<br /> From Date:</span></span>
<asp:TextBox class="form-control datepicker-textbox" ID="TextBox_From_Date_Pending_Clear_Contact" runat="server" style="font-family: Andalus" ValidationGroup="Pending_Clear_Contact_Group"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_From_Date_Pending_Clear_Contact_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton19"
TargetControlID="TextBox_From_Date_Pending_Clear_Contact">
</ajaxtoolkit:CalendarExtender>
<span class="style10">
<span class="style6">To Date:</span></span><asp:TextBox
ID="TextBox_To_Date_Pending_Clear_Contact" runat="server"
class="form-control datepicker-textbox"
style="font-family: Andalus" ValidationGroup="Pending_Clear_Contact_Group"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_To_Date_Pending_Clear_Contact_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton20"
TargetControlID="TextBox_To_Date_Pending_Clear_Contact">
</ajaxtoolkit:CalendarExtender>
<span class="style10"><span class="style6">Select customer : </span>
<asp:ListBox ID="ListBox_Contacts_Pending_Clear_Amnt_Sales" runat="server"
Height="57px" SelectionMode="Multiple"
style="font-family: Andalus; font-size: small" Width="180px"></asp:ListBox>
</span>
<asp:Button ID="Button_Pending_Clear_Contact" runat="server" class="btn btn-sm btn-success"
onclick="Button_Pending_Clear_Contact_Click"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="Pending_Clear_Contact_Group" />
<span class="style10">
<asp:Button ID="Button_Pending_Clear_Contact_Download" runat="server" class="btn btn-sm btn-success"
onclick="Button_Pending_Clear_Contact_Download_Click"
style="font-family: Andalus; font-size: small;" Text="Report"
ValidationGroup="Pending_Clear_Contact_Group" />
<asp:CompareValidator ID="CompareValidator10" runat="server"
ControlToCompare="TextBox_From_Date_Pending_Clear_Contact"
ControlToValidate="TextBox_To_Date_Pending_Clear_Contact" Display="Dynamic"
ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="Pending_Clear_Contact_Group"></asp:CompareValidator>
</span>
</td>
<td align="center" width="45%">
<br />
<asp:Chart ID="Chart_Sales_Total_Business_Contact" runat="server"
BorderlineColor="Tan" BorderlineDashStyle="Solid" Height="400px"
Width="400px" Palette="EarthTones">
<Series>
<asp:Series CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True, LabelStyle=Center"
Font="Book Antiqua, 9pt" Legend="Total Business" LegendText="Total Business"
Name="TotalBusiness" ChartType="StackedColumn">
</asp:Series>
<asp:Series BackGradientStyle="TopBottom" ChartArea="ChartArea1"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True, LabelStyle=Center"
Font="Book Antiqua, 9pt" IsValueShownAsLabel="True"
Legend="Business During Period" LegendText="Business During Period"
Name="BusinessDuringTimeSpan" ChartType="StackedColumn">
</asp:Series>
<asp:Series ChartArea="ChartArea1"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True, LabelStyle=Center"
Font="Book Antiqua, 9pt" IsValueShownAsLabel="True" Legend="Pending Amount"
LegendText="Total Pending" Name="TotalPendingAmount"
ChartType="StackedColumn">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea BackColor="LightSteelBlue" BackGradientStyle="Center"
BorderColor="Gainsboro" Name="ChartArea1">
<AxisY IsLabelAutoFit="False" TitleFont="Baskerville Old Face, 9.75pt">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisY>
<AxisX IsLabelAutoFit="False" TitleFont="Baskerville Old Face, 9.75pt">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisX>
<Area3DStyle Enable3D="True" PointDepth="30" PointGapDepth="30" />
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Alignment="Far" Docking="Bottom" Font="Book Antiqua, 9pt"
IsTextAutoFit="False" ItemColumnSpacing="10" LegendStyle="Row"
Name="Total Business" TitleFont="Book Antiqua, 9.75pt"
BackColor="White" DockedToChartArea="ChartArea1">
</asp:Legend>
<asp:Legend Alignment="Far" Docking="Bottom" Font="Book Antiqua, 9pt"
IsTextAutoFit="False" ItemColumnSpacing="10" LegendStyle="Row"
Name="Business During Period" TitleFont="Book Antiqua, 9.75pt"
BackColor="White" BackImageTransparentColor="Transparent"
DockedToChartArea="ChartArea1">
</asp:Legend>
<asp:Legend Alignment="Far" Docking="Bottom" Font="Book Antiqua, 9pt"
IsTextAutoFit="False" ItemColumnSpacing="10" LegendStyle="Row"
Name="Pending Amount" TitleAlignment="Near" BackColor="White"
BackImageTransparentColor="Transparent" BorderColor="Transparent"
DockedToChartArea="ChartArea1">
</asp:Legend>
</Legends>
<Titles>
<asp:Title Font="Book Antiqua, 8.25pt" Name="Title1">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<span class="style10"><span class="style6">
<br />
Filter By Invoice Date (default range is last 12 months) and Customer:<br />
From Date:</span></span>
<asp:TextBox class="form-control datepicker-textbox" ID="TextBox_From_Date_Chart_Sales_Total_Business_Contact"
runat="server" style="font-family: Andalus"
ValidationGroup="PotnValDateRange" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_From_Date_Chart_Sales_Total_Business_Contact_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton15"
TargetControlID="TextBox_From_Date_Chart_Sales_Total_Business_Contact">
</ajaxtoolkit:CalendarExtender>
<span class="style10">
<span class="style6">To Date:</span></span><asp:TextBox
ID="TextBox_To_Date_Chart_Sales_Total_Business_Contact" runat="server"
class="form-control datepicker-textbox" style="font-family: Andalus"
ValidationGroup="PotnValDateRange" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_To_Date_Chart_Sales_Total_Business_Contact_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton16"
TargetControlID="TextBox_To_Date_Chart_Sales_Total_Business_Contact">
</ajaxtoolkit:CalendarExtender>
<span class="style10"><span class="style6">Select customer : </span>
<asp:ListBox ID="ListBox_Contacts_Total_Business_Chart" runat="server"
Height="57px" SelectionMode="Multiple"
style="font-family: Andalus; font-size: small" Width="180px"></asp:ListBox>
</span><asp:Button ID="Button_Chart_Sales_Total_Business_Contact" class="btn btn-sm btn-success"
runat="server" onclick="Button_Chart_Sales_Total_Business_Contact_Click"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="PotnValDateRange" />
<span class="style10">
<asp:CompareValidator ID="CompareValidator8" runat="server"
ControlToCompare="TextBox_From_Date_Chart_Sales_Total_Business_Contact"
ControlToValidate="TextBox_To_Date_Chart_Sales_Total_Business_Contact"
Display="Dynamic" ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="PotnValDateRange"></asp:CompareValidator>
</span>
<br />
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
<br />
</asp:Panel>
<ajaxtoolkit:CollapsiblePanelExtender ID="CollapsiblePanelExtender_Tran_Sales" runat="server" Collapsed="true" AutoCollapse="false" TargetControlID="Panel_Tran_Sales_Dashboard"
ImageControlId="Pend_Appr_Collapse_Img2" CollapsedImage="~/Images/ArrowTip_Down.png" ExpandedImage="~/Images/ArrowTip_Parallel.png" ExpandControlID="LinkButton_Tran_Sales"
CollapseControlID="LinkButton_Tran_Sales"/>
</ContentTemplate>
</asp:UpdatePanel>
<asp:Label ID="Label_Tran_Purchase_Dashboard_Access"
runat="server" ForeColor="Red"
style="font-size: small" Visible="False"></asp:Label>
<br />
<asp:UpdatePanel ID="UpdatePanel4" runat="server">
<ContentTemplate>
<table width="100%">
<tr>
<td background="../Images/menu_bg.gif" >
<asp:LinkButton ID="LinkButton_Tran_Purchase" runat="server"
ToolTip="Click to expand or collapse">Transaction Dashboard-Purchase</asp:LinkButton>
<div style="float: right; vertical-align: middle;">
<asp:Image ID="Pend_Appr_Collapse_Img3" runat="server"/>
</div>
</td>
</tr>
</table>
<asp:UpdateProgress ID="UpdateProgress_Tran_Purchase"
AssociatedUpdatePanelID="UpdatePanelTranPurchase" runat="server" DisplayAfter="1">
<ProgressTemplate>
<div style="position:fixed;top:40px;left:35%;z-index:100;width:50%;height:50%">
<image style="z-index:105" src="../Images/loading.gif"></image>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<asp:Panel ID="Panel_Tran_Purchase_Dashboard" runat="server" BorderColor="#0066CC"
BorderStyle="Ridge" BorderWidth="2px"
style="font-family: Andalus">
<asp:UpdatePanel ID="UpdatePanelTranPurchase" runat="server" UpdateMode="Conditional" OnLoad="UpdatePanelTranPurchase_load">
<ContentTemplate>
<table id="potTable1" border="0" cellpadding="0" cellspacing="0" width="90%">
<tr>
<td align="center" width="45%">
<asp:Chart ID="Chart_Transaction_Purchase_Prod_Wise_Qnty" runat="server"
BorderlineColor="Tan" BorderlineDashStyle="Solid" Height="400px"
ViewStateContent="All" ViewStateMode="Enabled" Width="400px">
<Series>
<asp:Series ChartType="Pie" Font="Baskerville Old Face, 9pt" Legend="Legend1"
Name="Series1">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea1">
<Area3DStyle Enable3D="True" />
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend1">
</asp:Legend>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend2">
</asp:Legend>
</Legends>
<Titles>
<asp:Title Font="Book Antiqua, 9.75pt" Name="Title1">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<span class="style10">
<span class="style6">Filter By Invoice Date (default range is last 12 months):<br />
From Date:</span>
<asp:TextBox class="form-control datepicker-textbox" ID="TextBox_From_Date_Prod_Wise_Purchase_Qnty" runat="server"
style="font-family: Andalus"
ValidationGroup="Prod_Wise_Purchase_Qnty_Group" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_From_Date_Prod_Wise_Purchase_Qnty_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton23"
TargetControlID="TextBox_From_Date_Prod_Wise_Purchase_Qnty">
</ajaxtoolkit:CalendarExtender>
<span class="style6">To Date:</span><asp:TextBox
ID="TextBox_To_Date_Prod_Wise_Purchase_Qnty" runat="server" class="form-control datepicker-textbox"
style="font-family: Andalus" ValidationGroup="Prod_Wise_Purchase_Qnty_Group"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_To_Date_Prod_Wise_Purchase_Qnty_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton24"
TargetControlID="TextBox_To_Date_Prod_Wise_Purchase_Qnty">
</ajaxtoolkit:CalendarExtender>
<asp:Button ID="Button_Prod_Wise_Purchase_Qnty" runat="server" class="btn btn-sm btn-success"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="Prod_Wise_Purchase_Qnty_Group"
onclick="Button_Prod_Wise_Purchase_Qnty_Click" />
<asp:Button ID="Button_Prod_Wise_Purchase_Qnty_Download" runat="server" class="btn btn-sm btn-success"
onclick="Button_Prod_Wise_Purchase_Qnty_Download_Click"
style="font-family: Andalus; font-size: small;" Text="Report"
ValidationGroup="Prod_Wise_Purchase_Qnty_Group" />
<asp:CompareValidator ID="CompareValidator12" runat="server"
ControlToCompare="TextBox_From_Date_Prod_Wise_Purchase_Qnty"
ControlToValidate="TextBox_To_Date_Prod_Wise_Purchase_Qnty" Display="Dynamic"
ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="Prod_Wise_Purchase_Qnty_Group"></asp:CompareValidator>
<br />
</span>
</td>
<td align="center" width="45%">
<br />
<asp:Chart ID="Chart_Transaction_Purchase_Prod_Wise_Amount" runat="server" BorderlineColor="Tan"
BorderlineDashStyle="Solid" Height="400px" ViewStateContent="All"
ViewStateMode="Enabled" Width="400px">
<Series>
<asp:Series ChartType="Pie" Font="Baskerville Old Face, 9pt" Legend="Legend1"
Name="Series1">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea1">
<Area3DStyle Enable3D="True" />
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend1">
</asp:Legend>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend2">
</asp:Legend>
</Legends>
<Titles>
<asp:Title Font="Book Antiqua, 9.75pt" Name="Title1">
</asp:Title>
</Titles>
</asp:Chart>
<span class="style9">
<br />
<br />
</span><span class="style11"><span class="style10"><span class="style6">Filter By
Invoice Date (default range is last 12 months):<br /> </span></span>From Date:</span>
<asp:TextBox class="form-control datepicker-textbox" ID="TextBox_From_Date_Prod_Wise_Purchase_Amount" runat="server"
style="font-family: Andalus" ValidationGroup="Prod_Wise_Purchase_Amount_Group"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_From_Date_Prod_Wise_Purchase_Amount_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton25"
TargetControlID="TextBox_From_Date_Prod_Wise_Purchase_Amount">
</ajaxtoolkit:CalendarExtender>
<span class="style11">To </span><span class="style11">Date:</span><asp:TextBox
ID="TextBox_To_Date_Prod_Wise_Purchase_Amount" runat="server"
class="form-control datepicker-textbox"
style="font-family: Andalus" ValidationGroup="Prod_Wise_Purchase_Amount_Group"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_To_Date_Prod_Wise_Purchase_Amount_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton26"
TargetControlID="TextBox_To_Date_Prod_Wise_Purchase_Amount">
</ajaxtoolkit:CalendarExtender>
<asp:Button ID="Button_Prod_Wise_Purchase_Amount" runat="server" class="btn btn-sm btn-success"
style="font-family: Andalus; "
Text="Show!" ValidationGroup="Prod_Wise_Purchase_Amount_Group"
onclick="Button_Prod_Wise_Purchase_Amount_Click" />
<asp:CompareValidator ID="CompareValidator13" runat="server"
ControlToCompare="TextBox_From_Date_Prod_Wise_Purchase_Amount"
ControlToValidate="TextBox_To_Date_Prod_Wise_Purchase_Amount"
Display="Dynamic" ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="Prod_Wise_Purchase_Amount_Group"></asp:CompareValidator>
</td>
</tr>
<tr>
<td align="center" width="45%">
<br />
<asp:Chart ID="Chart_Purchase_Pending_Clear_By_Account" runat="server"
BorderlineColor="Tan" Height="400px"
Width="400px" BorderlineDashStyle="Solid" Palette="EarthTones">
<Series>
<asp:Series Name="clearedSeries" BackGradientStyle="TopBottom"
Font="Book Antiqua, 9pt" IsValueShownAsLabel="True" Legend="Cleared"
LegendText="Cleared"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True, LabelStyle=Center"
ChartType="StackedColumn">
</asp:Series>
<asp:Series ChartArea="ChartArea1" Font="Book Antiqua, 9pt"
IsValueShownAsLabel="True" Legend="Not Cleared" LegendText="Not Cleared"
Name="NotClearedSeries"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True, LabelStyle=Center"
ChartType="StackedColumn">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea1" BackColor="LightSteelBlue"
BackGradientStyle="Center" BorderColor="Gainsboro">
<AxisY TitleFont="Baskerville Old Face, 9.75pt" IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisY>
<AxisX TitleFont="Baskerville Old Face, 9.75pt" IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisX>
<Area3DStyle Enable3D="True" Inclination="10" PointDepth="50"
PointGapDepth="50" />
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Alignment="Far" Docking="Bottom" LegendStyle="Row" Name="Cleared"
TitleFont="Book Antiqua, 9.75pt" Font="Book Antiqua, 9pt"
IsTextAutoFit="False" BackColor="White"
DockedToChartArea="ChartArea1">
</asp:Legend>
<asp:Legend Alignment="Far" Docking="Bottom" Name="Not Cleared"
TitleFont="Book Antiqua, 9.75pt" Font="Book Antiqua, 9pt"
IsTextAutoFit="False" BackColor="White"
DockedToChartArea="ChartArea1">
</asp:Legend>
</Legends>
<Titles>
<asp:Title Font="Book Antiqua, 8.25pt" Name="Title1">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<br />
<span class="style10"><span class="style6">Filter By Payment Date (default range
is last 12 months) and Vendor:<br /> From Date:</span></span>
<asp:TextBox class="form-control datepicker-textbox" ID="TextBox_From_Date_Pending_Clear_Contact_Purchase"
runat="server"
style="font-family: Andalus" ValidationGroup="Pending_Clear_Contact_Group_Purchase"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_From_Date_Pending_Clear_Contact_Purchase_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton27"
TargetControlID="TextBox_From_Date_Pending_Clear_Contact_Purchase">
</ajaxtoolkit:CalendarExtender>
<span class="style10">
<span class="style6">To Date:</span></span><asp:TextBox
ID="TextBox_To_Date_Pending_Clear_Contact_Purchase" runat="server"
class="form-control datepicker-textbox"
style="font-family: Andalus" ValidationGroup="Pending_Clear_Contact_Group_Purchase"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_To_Date_Pending_Clear_Contact_Purchase_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton28"
TargetControlID="TextBox_To_Date_Pending_Clear_Contact_Purchase">
</ajaxtoolkit:CalendarExtender>
<span class="style10"><span class="style6">Select Vendor : </span>
<asp:ListBox ID="ListBox_Contacts_Pending_Clear_Amnt_Purchase" runat="server"
Height="57px" SelectionMode="Multiple"
style="font-family: Andalus; font-size: small" Width="180px"></asp:ListBox>
</span>
<asp:Button ID="Button_Pending_Clear_Contact_Purchase" runat="server" class="btn btn-sm btn-success"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="Pending_Clear_Contact_Group_Purchase"
onclick="Button_Pending_Clear_Contact_Purchase_Click" />
<span class="style10">
<asp:Button ID="Button_Pending_Clear_Contact_Purchase_Download" runat="server" class="btn btn-sm btn-success"
onclick="Button_Pending_Clear_Contact_Purchase_Download_Click"
style="font-family: Andalus; font-size: small;" Text="Report"
ValidationGroup="Pending_Clear_Contact_Group_Purchase" />
</span>
</td>
<td align="center" width="45%">
<br />
<asp:Chart ID="Chart_Purchase_Total_Business_Contact" runat="server"
BorderlineColor="Tan" BorderlineDashStyle="Solid" Height="400px"
Width="400px" Palette="EarthTones">
<Series>
<asp:Series CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True, LabelStyle=Center"
Font="Book Antiqua, 9pt" Legend="Total Business" LegendText="Total Business"
Name="TotalBusiness" ChartType="StackedColumn">
</asp:Series>
<asp:Series BackGradientStyle="TopBottom" ChartArea="ChartArea1"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True, LabelStyle=Center"
Font="Book Antiqua, 9pt" IsValueShownAsLabel="True"
Legend="Business During Period" LegendText="Business During Period"
Name="BusinessDuringTimeSpan" ChartType="StackedColumn">
</asp:Series>
<asp:Series ChartArea="ChartArea1"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True, LabelStyle=Center"
Font="Book Antiqua, 9pt" IsValueShownAsLabel="True" Legend="Pending Amount"
LegendText="Total Pending" Name="TotalPendingAmount"
ChartType="StackedColumn">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea BackColor="LightSteelBlue" BackGradientStyle="Center"
BorderColor="Gainsboro" Name="ChartArea1">
<AxisY IsLabelAutoFit="False" TitleFont="Baskerville Old Face, 9.75pt">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisY>
<AxisX IsLabelAutoFit="False" TitleFont="Baskerville Old Face, 9.75pt">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisX>
<Area3DStyle Enable3D="True" PointDepth="30" PointGapDepth="30" />
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Alignment="Far" Docking="Bottom" Font="Book Antiqua, 9pt"
IsTextAutoFit="False" ItemColumnSpacing="10" LegendStyle="Row"
Name="Total Business" TitleFont="Book Antiqua, 9.75pt"
BackColor="White" DockedToChartArea="ChartArea1">
</asp:Legend>
<asp:Legend Alignment="Far" Docking="Bottom" Font="Book Antiqua, 9pt"
IsTextAutoFit="False" ItemColumnSpacing="10" LegendStyle="Row"
Name="Business During Period" TitleFont="Book Antiqua, 9.75pt"
BackColor="White" DockedToChartArea="ChartArea1">
</asp:Legend>
<asp:Legend Alignment="Far" Docking="Bottom" Font="Book Antiqua, 9pt"
IsTextAutoFit="False" ItemColumnSpacing="10" LegendStyle="Row"
Name="Pending Amount" TitleAlignment="Near" BackColor="White"
DockedToChartArea="ChartArea1">
</asp:Legend>
</Legends>
<Titles>
<asp:Title Font="Book Antiqua, 8.25pt" Name="Title1">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<span class="style10"><span class="style6">
<br />
Filter By Invoice Date (default range is last 12 months) and Vendor:<br /> From
Date:</span></span>
<asp:TextBox class="form-control datepicker-textbox" ID="TextBox_From_Date_Chart_Purchase_Total_Business_Contact"
runat="server" style="font-family: Andalus"
ValidationGroup="PotnValDateRange" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_From_Date_Chart_Purchase_Total_Business_Contact_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton29"
TargetControlID="TextBox_From_Date_Chart_Purchase_Total_Business_Contact">
</ajaxtoolkit:CalendarExtender>
<span class="style10">
<span class="style6">To Date:</span></span><asp:TextBox
ID="TextBox_To_Date_Chart_Purchase_Total_Business_Contact" runat="server"
style="font-family: Andalus" class="form-control datepicker-textbox"
ValidationGroup="PotnValDateRange" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_To_Date_Chart_Purchase_Total_Business_Contact_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton30"
TargetControlID="TextBox_To_Date_Chart_Purchase_Total_Business_Contact">
</ajaxtoolkit:CalendarExtender>
<span class="style10"><span class="style6">Select customer : </span>
<asp:ListBox ID="ListBox_Contacts_Total_Business_Chart_Purchase" runat="server"
Height="57px" SelectionMode="Multiple"
style="font-family: Andalus; font-size: small" Width="180px"></asp:ListBox>
</span><asp:Button ID="Button_Chart_Purchase_Total_Business_Contact" class="btn btn-sm btn-success"
runat="server"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="PotnValDateRange"
onclick="Button_Chart_Purchase_Total_Business_Contact_Click" />
<span class="style10">
<asp:CompareValidator ID="CompareValidator15" runat="server"
ControlToCompare="TextBox_From_Date_Chart_Purchase_Total_Business_Contact"
ControlToValidate="TextBox_To_Date_Chart_Purchase_Total_Business_Contact"
Display="Dynamic" ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="PotnValDateRange"></asp:CompareValidator>
</span>
<br />
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
<br />
</asp:Panel>
<ajaxtoolkit:CollapsiblePanelExtender ID="CollapsiblePanelExtender_Tran_Purchase" runat="server" Collapsed="true" AutoCollapse="false" TargetControlID="Panel_Tran_Purchase_Dashboard"
ImageControlId="Pend_Appr_Collapse_Img3" CollapsedImage="~/Images/ArrowTip_Down.png" ExpandedImage="~/Images/ArrowTip_Parallel.png" ExpandControlID="LinkButton_Tran_Purchase"
CollapseControlID="LinkButton_Tran_Purchase"/>
</ContentTemplate>
</asp:UpdatePanel>
<asp:Label ID="Label_Incm_Def_Dashboard_Access"
runat="server" ForeColor="Red"
style="font-size: small" Visible="False"></asp:Label>
<br />
<asp:UpdatePanel ID="UpdatePanel5" runat="server">
<ContentTemplate>
<table width="100%">
<tr>
<td background="../Images/menu_bg.gif" >
<asp:LinkButton ID="LinkButton_Inc_Defect" runat="server"
ToolTip="Click to expand or collapse">Incoming Defects Dashboard</asp:LinkButton>
<div style="float: right; vertical-align: middle;">
<asp:Image ID="Pend_Appr_Collapse_Img4" runat="server"/>
</div>
</td>
</tr>
</table>
<asp:UpdateProgress ID="UpdateProgress_Incm_Def"
AssociatedUpdatePanelID="UpdatePanelIncmDefects" runat="server" DisplayAfter="1">
<ProgressTemplate>
<div style="position:fixed;top:40px;left:35%;z-index:100;width:50%;height:50%">
<image style="z-index:105" src="../Images/loading.gif"></image>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<asp:Panel ID="Panel_Incoming_Defects" runat="server" BorderColor="#0066CC"
BorderStyle="Ridge" BorderWidth="2px"
style="font-family: Andalus">
<asp:UpdatePanel ID="UpdatePanelIncmDefects" runat="server" UpdateMode="Conditional" OnLoad="UpdatePanelIncmDefects_load">
<ContentTemplate>
<table id="potTable2" border="0" cellpadding="0" cellspacing="0" width="90%">
<tr>
<td align="left" style="font-size: small; font-weight: 700" width="45%">
<asp:Chart ID="Chart_Defect_Arrival_Closure" runat="server"
BorderlineColor="Tan" BorderlineDashStyle="Solid" Height="412px"
ViewStateContent="All" ViewStateMode="Enabled" Width="1126px"
Palette="EarthTones">
<Series>
<asp:Series ChartType="StackedColumn" Font="Book Antiqua, 8.25pt" Legend="Legend1"
Name="Series_Defects_High" ChartArea="ChartArea_New_Defects"
CustomProperties="DrawingStyle=Cylinder" LegendText="High Sev Created">
</asp:Series>
<asp:Series ChartArea="ChartArea_New_Defects" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend1"
Name="Series_Defects_Low" Font="Book Antiqua, 8.25pt"
LegendText="Low Sev Created">
</asp:Series>
<asp:Series ChartArea="ChartArea_New_Defects" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend1"
Name="Series_Defects_Medium" Font="Book Antiqua, 8.25pt"
LegendText="Medium Sev Created">
</asp:Series>
<asp:Series ChartArea="ChartArea_Closure" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True"
Font="Book Antiqua, 8.25pt" Legend="Legend1" Name="Series_Closure_High"
LegendText="High Sev Closed">
</asp:Series>
<asp:Series ChartArea="ChartArea_Closure" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend1"
Name="Series_Closure_Medium" Font="Book Antiqua, 8.25pt"
LegendText="Medium Sev Closed">
</asp:Series>
<asp:Series ChartArea="ChartArea_Closure" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend1"
Name="Series_Closure_Low" Font="Book Antiqua, 8.25pt"
LegendText="Low Sev Closed">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea_Closure">
<AxisY IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
<MajorGrid LineDashStyle="Dot" />
</AxisY>
<AxisX IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
</AxisX>
</asp:ChartArea>
<asp:ChartArea Name="ChartArea_New_Defects">
<AxisY IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
<MajorGrid LineDashStyle="Dot" />
</AxisY>
<AxisX IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
</AxisX>
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend1" TitleFont="Book Antiqua, 8.25pt, style=Bold">
</asp:Legend>
</Legends>
<Titles>
<asp:Title Font="Book Antiqua, 9pt, style=Bold" Name="Defect Arrival"
DockedToChartArea="ChartArea_New_Defects" Text="Defect Arrival By Severity">
</asp:Title>
<asp:Title DockedToChartArea="ChartArea_Closure"
Font="Book Antiqua, 9pt, style=Bold" Name="Defect Closure"
Text="Defect Closure By Severity">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<span class="style10">
<span class="style6">Filter by Defect Submit Date and Frequency (Default date range is 6
months):<br /> From Date:</span>
<asp:TextBox class="form-control datepicker-textbox" ID="TextBox_From_Date_Incoming_Defect_Arrvl_Closure" runat="server"
style="font-family: Andalus"
ValidationGroup="Incoming_Defect_Arrvl_Closure" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_From_Date_Incoming_Defect_Arrvl_Closure_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton31"
TargetControlID="TextBox_From_Date_Incoming_Defect_Arrvl_Closure">
</ajaxtoolkit:CalendarExtender>
<span class="style6">To Date:</span><asp:TextBox
ID="TextBox_To_Date_Incoming_Defect_Arrvl_Closure" class="form-control datepicker-textbox" runat="server" style="font-family: Andalus" ValidationGroup="Incoming_Defect_Arrvl_Closure"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_To_Date_Incoming_Defect_Arrvl_Closure_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton32"
TargetControlID="TextBox_To_Date_Incoming_Defect_Arrvl_Closure">
</ajaxtoolkit:CalendarExtender>
Frequency: <asp:DropDownList
ID="DropDownList_Incm_Defect_Arrival_Closure_Freq" runat="server">
</asp:DropDownList>
<asp:Button ID="Button_Filter_Date_Incoming_Defect_Arrvl_Closure" runat="server" class="btn btn-sm btn-success"
onclick="Button_Filter_Date_Incoming_Defect_Arrvl_Closure_Click"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="Incoming_Defect_Arrvl_Closure" />
<asp:Button ID="Button_Report_Date_Incoming_Defect_Arrival_Closure" class="btn btn-sm btn-success"
runat="server"
onclick="Button_Report_Date_Incoming_Defect_Arrival_Closure_Click"
style="font-family: Andalus; font-size: small;" Text="Report!"
ValidationGroup="Incoming_Defect_Arrvl_Closure" />
<asp:CompareValidator ID="CompareValidator16" runat="server"
ControlToCompare="TextBox_From_Date_Incoming_Defect_Arrvl_Closure"
ControlToValidate="TextBox_To_Date_Incoming_Defect_Arrvl_Closure" Display="Dynamic"
ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="Incoming_Defect_Arrvl_Closure"></asp:CompareValidator>
<br />
</span>
</td>
</tr>
</table>
<table id="IncmDefectClsTime" border="0" cellpadding="0" cellspacing="0" width="90%">
<tr>
<td>
<asp:Chart ID="Chart_Incm_Defect_Closure_Avg_Time" runat="server"
BorderlineColor="Tan" BorderlineDashStyle="Solid" Height="347px"
ViewStateContent="All" ViewStateMode="Enabled" Width="1126px">
<Series>
<asp:Series ChartArea="ChartArea_Defect_Closure" ChartType="Line"
CustomProperties="DrawingStyle=Cylinder" Font="Book Antiqua, 8.25pt"
Legend="Legend1" LegendText="All Sev Avg Closure Time"
Name="Series_Defects_Closure_Total" BorderWidth="3" Color="Red">
</asp:Series>
<asp:Series ChartArea="ChartArea_Defect_Closure" ChartType="Line"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True"
Font="Book Antiqua, 8.25pt" Legend="Legend1"
LegendText="High Sev Avg Closure Time" Name="Series_Closure_High"
BorderDashStyle="Dot" BorderWidth="2" LabelToolTip="High Severity">
</asp:Series>
<asp:Series ChartArea="ChartArea_Defect_Closure" ChartType="Line"
CustomProperties="DrawingStyle=Cylinder" Font="Book Antiqua, 8.25pt"
Legend="Legend1" LegendText="Medium Sev Avg Closure Time"
Name="Series_Closure_Medium" BorderDashStyle="Dash" BorderWidth="2"
LabelToolTip="Medium Severity">
</asp:Series>
<asp:Series ChartArea="ChartArea_Defect_Closure" ChartType="Line"
CustomProperties="DrawingStyle=Cylinder" Font="Book Antiqua, 8.25pt"
Legend="Legend1" LegendText="Low Sev Avg Closure Time"
Name="Series_Closure_Low" BorderWidth="2" LabelToolTip="Low Severity">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea_Defect_Closure">
<AxisY IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
<MajorGrid LineDashStyle="Dot" />
</AxisY>
<AxisX IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
</AxisX>
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend1" TitleFont="Book Antiqua, 8.25pt, style=Bold">
</asp:Legend>
</Legends>
<Titles>
<asp:Title DockedToChartArea="ChartArea_Defect_Closure"
Font="Book Antiqua, 9pt, style=Bold" Name="Defect Closure Time"
Text="Defect Closure Average Time (Hours)">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<span class="style10"><span class="style6">Filter by Defect Submit
Date,Frequency and Service Agent (Default date range is 6 months):<br /> From
Date:</span>
<asp:TextBox class="form-control datepicker-textbox" ID="TextBox_From_Date_Incoming_Defect_Avg_Closure" runat="server"
style="font-family: Andalus"
ValidationGroup="Incoming_Defect_Avg_Closure" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_From_Date_Incoming_Defect_Avg_Closure_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton47"
TargetControlID="TextBox_From_Date_Incoming_Defect_Avg_Closure">
</ajaxtoolkit:CalendarExtender>
<span class="style6">To Date:</span><asp:TextBox
ID="TextBox_To_Date_Incoming_Defect_Avg_Closure" runat="server"
class="form-control datepicker-textbox" style="font-family: Andalus"
ValidationGroup="Incoming_Defect_Avg_Closure" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_To_Date_Incoming_Defect_Avg_Closure_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton48"
TargetControlID="TextBox_To_Date_Incoming_Defect_Avg_Closure">
</ajaxtoolkit:CalendarExtender>
Frequency: <asp:DropDownList class="form-control form-control-dropdown" ID="DropDownList_Incm_Defect_Avg_Closure_Freq"
runat="server">
</asp:DropDownList>
Select Service Agent: <asp:DropDownList
ID="DropDownList_Incm_Defect_Avg_Closure_Service_Agnt" runat="server">
</asp:DropDownList>
<asp:Button ID="Button_Filter_Date_Incoming_Defect_Avg_Closure" runat="server" class="btn btn-sm btn-success"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="Incoming_Defect_Avg_Closure"
onclick="Button_Filter_Date_Incoming_Defect_Avg_Closure_Click" />
<asp:Button ID="Button_Report_Date_Incoming_Defect_Avg_Closure" runat="server" class="btn btn-sm btn-success"
onclick="Button_Report_Date_Incoming_Defect_Avg_Closure_Click"
style="font-family: Andalus; font-size: small;" Text="Report!"
ValidationGroup="Incoming_Defect_Avg_Closure" />
<asp:CompareValidator ID="CompareValidator24" runat="server"
ControlToCompare="TextBox_From_Date_Incoming_Defect_Avg_Closure"
ControlToValidate="TextBox_To_Date_Incoming_Defect_Avg_Closure"
Display="Dynamic" ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="Incoming_Defect_Avg_Closure"></asp:CompareValidator>
<br />
</span>
</td>
</tr>
</table>
<table id="IncmDefect" border="0" cellpadding="0" cellspacing="0" width="90%">
<caption>
<tr>
<td align="center" width="45%">
<asp:Chart ID="Chart_Incoming_Defect_By_Account" runat="server"
BorderlineColor="Tan" BorderlineDashStyle="Solid" Width="400px"
Palette="EarthTones">
<Series>
<asp:Series BackGradientStyle="TopBottom"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True, LabelStyle=Center"
Font="Book Antiqua, 9pt" IsValueShownAsLabel="True" LegendText="Cleared"
Name="TotalDefects">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea BackColor="LightSteelBlue" BackGradientStyle="Center"
BorderColor="Gainsboro" Name="ChartArea1">
<AxisY IsLabelAutoFit="False" TitleFont="Baskerville Old Face, 9.75pt">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisY>
<AxisX IsLabelAutoFit="False" TitleFont="Baskerville Old Face, 9.75pt">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisX>
<Area3DStyle Enable3D="True" Inclination="10" PointDepth="50"
PointGapDepth="50" />
</asp:ChartArea>
</ChartAreas>
<Titles>
<asp:Title Font="Book Antiqua, 8.25pt" Name="Title1">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<br />
<span class="style10"><span class="style6">Filter by Defect Submit Date and
Customer (Default date range is 12 months):<br /> From Date:</span></span>
<asp:TextBox class="form-control datepicker-textbox" ID="Textbox_From_Date_Incoming_Defect_By_Account" runat="server"
style="font-family: Andalus"
ValidationGroup="Chart_Incoming_Defect_By_Account_Group" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="Textbox_From_Date_Incoming_Defect_By_Account_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton35"
TargetControlID="Textbox_From_Date_Incoming_Defect_By_Account">
</ajaxtoolkit:CalendarExtender>
<span class="style10">
<asp:ImageButton ID="ImageButton35" runat="server" Height="19px"
ImageUrl="~/Images/Calendar.png" />
<span class="style6">To Date:</span></span><asp:TextBox
ID="Textbox_To_Date_Incoming_Defect_By_Account" runat="server"
style="font-family: Andalus" class="form-control datepicker-textbox"
ValidationGroup="Chart_Incoming_Defect_By_Account_Group" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="Textbox_To_Date_Incoming_Defect_By_Account_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton36"
TargetControlID="Textbox_To_Date_Incoming_Defect_By_Account">
</ajaxtoolkit:CalendarExtender>
<span class="style10">
<asp:ImageButton ID="ImageButton36" runat="server" Height="19px"
ImageUrl="~/Images/Calendar.png" />
</span> <span class="style10"><span class="style6">Select customer : </span>
<asp:ListBox ID="ListBox_Incoming_Defect_By_Account" runat="server"
Height="57px" SelectionMode="Multiple"
style="font-family: Andalus; font-size: small" Width="180px"></asp:ListBox>
</span>
<asp:Button ID="Button_Incoming_Defect_By_Account" runat="server" class="btn btn-sm btn-success"
onclick="Button_Incoming_Defect_By_Account_Click"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="Chart_Incoming_Defect_By_Account_Group" />
<span class="style10"> <asp:Button
ID="Button_Incoming_Defect_By_Account_Download" runat="server" class="btn btn-sm btn-success"
onclick="Button_Incoming_Defect_By_Account_Download_Click"
style="font-family: Andalus; font-size: small;" Text="Report"
ValidationGroup="Chart_Incoming_Defect_By_Account_Group" />
<asp:CompareValidator ID="CompareValidator18" runat="server"
ControlToCompare="Textbox_From_Date_Incoming_Defect_By_Account"
ControlToValidate="Textbox_To_Date_Incoming_Defect_By_Account"
Display="Dynamic" ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="Chart_Incoming_Defect_By_Account_Group"></asp:CompareValidator>
</span>
</td>
<td align="center" width="45%">
<br />
<asp:Chart ID="Chart_Incoming_Defect_No_By_Account" runat="server"
BorderlineColor="Tan" BorderlineDashStyle="Solid" Width="400px"
Palette="EarthTones">
<Series>
<asp:Series BackGradientStyle="TopBottom" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True, LabelStyle=Center"
Font="Book Antiqua, 9pt" IsValueShownAsLabel="True" Legend="Legend_High"
LegendText="High Sev" Name="HighDefects">
</asp:Series>
<asp:Series ChartArea="ChartArea1" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend_Low"
LegendText="Low Sev" Name="LowDefects">
</asp:Series>
<asp:Series ChartArea="ChartArea1" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend_Medium"
LegendText="Medium Sev" Name="MediumDefects">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea BackColor="LightSteelBlue" BackGradientStyle="Center"
BorderColor="Gainsboro" Name="ChartArea1">
<AxisY IsLabelAutoFit="False" TitleFont="Baskerville Old Face, 9.75pt">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisY>
<AxisX IsLabelAutoFit="False" TitleFont="Baskerville Old Face, 9.75pt">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisX>
<Area3DStyle Enable3D="True" Inclination="10" PointDepth="50"
PointGapDepth="50" />
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Alignment="Far" BackColor="White"
DockedToChartArea="ChartArea1" Docking="Bottom" Font="Book Antiqua, 8.25pt"
IsTextAutoFit="False" ItemColumnSpacing="10" LegendStyle="Row"
Name="Legend_High" TitleFont="Book Antiqua, 8pt, style=Bold">
</asp:Legend>
<asp:Legend Alignment="Far" BackColor="White"
DockedToChartArea="ChartArea1" Docking="Bottom" Font="Book Antiqua, 8.25pt"
IsTextAutoFit="False" ItemColumnSpacing="10" LegendStyle="Row"
Name="Legend_Low" TitleFont="Book Antiqua, 8pt, style=Bold">
</asp:Legend>
<asp:Legend Alignment="Far" BackColor="White"
DockedToChartArea="ChartArea1" Docking="Bottom" Font="Book Antiqua, 8.25pt"
IsTextAutoFit="False" ItemColumnSpacing="10" LegendStyle="Row"
Name="Legend_Medium" TitleFont="Book Antiqua, 8pt, style=Bold">
</asp:Legend>
</Legends>
<Titles>
<asp:Title Font="Book Antiqua, 8.25pt" Name="Title1">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<br />
<span class="style10"><span class="style6">Filter by Defect Submit Date,Type and
Customer(Default date range is 12 months):<br /> From Date:</span></span>
<asp:TextBox class="form-control datepicker-textbox" ID="Textbox_From_Date_Incoming_Defect_No_By_Account"
runat="server" style="font-family: Andalus"
ValidationGroup="Incoming_Defect_No_By_Account" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="Textbox_From_Date_Incoming_Defect_No_By_Account_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton37"
TargetControlID="Textbox_From_Date_Incoming_Defect_No_By_Account">
</ajaxtoolkit:CalendarExtender>
<span class="style10">
<asp:ImageButton ID="ImageButton37" runat="server" Height="19px"
ImageUrl="~/Images/Calendar.png" />
<span class="style6">To Date:</span></span><asp:TextBox
ID="Textbox_To_Date_Incoming_Defect_No_By_Account" runat="server"
class="form-control datepicker-textbox" style="font-family: Andalus"
ValidationGroup="Incoming_Defect_No_By_Account" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="Textbox_To_Date_Incoming_Defect_No_By_Account_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton38"
TargetControlID="Textbox_To_Date_Incoming_Defect_No_By_Account">
</ajaxtoolkit:CalendarExtender>
<span class="style10">
<asp:ImageButton ID="ImageButton38" runat="server" Height="19px"
ImageUrl="~/Images/Calendar.png" />
</span> <span class="style10"><span class="style6">Defect Types:
<asp:DropDownList class="form-control form-control-dropdown" ID="DropDownList_Incoming_Defect_No_By_Account_Defect_Type"
runat="server">
</asp:DropDownList>
Select customer : </span>
<asp:ListBox ID="Listbox_Incoming_Defect_No_By_Account" runat="server"
Height="57px" SelectionMode="Multiple"
style="font-family: Andalus; font-size: small" Width="180px"></asp:ListBox>
</span><asp:Button ID="Button_Incoming_Defect_No_By_Account" runat="server" class="btn btn-sm btn-success"
onclick="Button_Incoming_Defect_No_By_Account_Click"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="Incoming_Defect_No_By_Account" />
<span class="style10"> <asp:Button
ID="Button_Incoming_Defect_No_By_Account_Download" runat="server" class="btn btn-sm btn-success"
onclick="Button_Incoming_Defect_No_By_Account_Download_Click"
style="font-family: Andalus; font-size: small;" Text="Report"
ValidationGroup="Incoming_Defect_No_By_Account" />
<asp:CompareValidator ID="CompareValidator19" runat="server"
ControlToCompare="Textbox_From_Date_Incoming_Defect_No_By_Account"
ControlToValidate="Textbox_To_Date_Incoming_Defect_No_By_Account"
Display="Dynamic" ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="Incoming_Defect_No_By_Account"></asp:CompareValidator>
</span>
<br />
</td>
</tr>
</caption>
</table>
</ContentTemplate>
</asp:UpdatePanel>
<br />
</asp:Panel>
<ajaxtoolkit:CollapsiblePanelExtender ID="CollapsiblePanelExtender_Inc_Defect" runat="server" Collapsed="true" AutoCollapse="false" TargetControlID="Panel_Incoming_Defects"
ImageControlId="Pend_Appr_Collapse_Img4" CollapsedImage="~/Images/ArrowTip_Down.png" ExpandedImage="~/Images/ArrowTip_Parallel.png" ExpandControlID="LinkButton_Inc_Defect"
CollapseControlID="LinkButton_Inc_Defect"/>
</ContentTemplate>
</asp:UpdatePanel>
<asp:Label ID="Label_Outg_Def_Dashboard_Access"
runat="server" ForeColor="Red"
style="font-size: small" Visible="False"></asp:Label>
<br />
<asp:UpdatePanel ID="UpdatePanel6" runat="server">
<ContentTemplate>
<table width="100%">
<tr>
<td background="../Images/menu_bg.gif" >
<asp:LinkButton ID="LinkButton_Out_Defect" runat="server"
ToolTip="Click to expand or collapse">Outgoing Defects Dashboard</asp:LinkButton>
<div style="float: right; vertical-align: middle;">
<asp:Image ID="Pend_Appr_Collapse_Img5" runat="server"/>
</div>
</td>
</tr>
</table>
<asp:UpdateProgress ID="UpdateProgress_Outg_Def"
AssociatedUpdatePanelID="UpdatePanelOutDefects" runat="server" DisplayAfter="1">
<ProgressTemplate>
<div style="position:fixed;top:40px;left:35%;z-index:100;width:50%;height:50%">
<image style="z-index:105" src="../Images/loading.gif"></image>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<asp:Panel ID="Panel_Outgoing_Defects" runat="server" BorderColor="#0066CC"
BorderStyle="Ridge" BorderWidth="2px"
style="font-family: Andalus">
<asp:UpdatePanel ID="UpdatePanelOutDefects" runat="server" UpdateMode="Conditional" OnLoad="UpdatePanelOutDefects_load">
<ContentTemplate>
<table id="outDefectArrvalClosure" border="0" cellpadding="0" cellspacing="0" width="90%">
<tr>
<td align="left" style="font-size: small; font-weight: 700" width="45%">
<asp:Chart ID="Chart_Out_Defect_Arrval_Closure" runat="server"
BorderlineColor="Tan" BorderlineDashStyle="Solid" Height="412px"
ViewStateContent="All" ViewStateMode="Enabled" Width="1126px"
Palette="EarthTones">
<Series>
<asp:Series ChartType="StackedColumn" Font="Book Antiqua, 8.25pt" Legend="Legend1"
Name="Series_Defects_High" ChartArea="ChartArea_New_Defects"
CustomProperties="DrawingStyle=Cylinder" LegendText="High Sev Created">
</asp:Series>
<asp:Series ChartArea="ChartArea_New_Defects" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend1"
Name="Series_Defects_Low" Font="Book Antiqua, 8.25pt"
LegendText="Low Sev Created">
</asp:Series>
<asp:Series ChartArea="ChartArea_New_Defects" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend1"
Name="Series_Defects_Medium" Font="Book Antiqua, 8.25pt"
LegendText="Medium Sev Created">
</asp:Series>
<asp:Series ChartArea="ChartArea_Closure" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True"
Font="Book Antiqua, 8.25pt" Legend="Legend1" Name="Series_Closure_High"
LegendText="High Sev Closed">
</asp:Series>
<asp:Series ChartArea="ChartArea_Closure" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend1"
Name="Series_Closure_Medium" Font="Book Antiqua, 8.25pt"
LegendText="Medium Sev Closed">
</asp:Series>
<asp:Series ChartArea="ChartArea_Closure" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend1"
Name="Series_Closure_Low" Font="Book Antiqua, 8.25pt"
LegendText="Low Sev Closed">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea_Closure">
<AxisY IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
<MajorGrid LineDashStyle="Dot" />
</AxisY>
<AxisX IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
</AxisX>
</asp:ChartArea>
<asp:ChartArea Name="ChartArea_New_Defects">
<AxisY IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
<MajorGrid LineDashStyle="Dot" />
</AxisY>
<AxisX IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
</AxisX>
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend1" TitleFont="Book Antiqua, 8.25pt, style=Bold">
</asp:Legend>
</Legends>
<Titles>
<asp:Title Font="Book Antiqua, 9pt, style=Bold" Name="Defect Arrival"
DockedToChartArea="ChartArea_New_Defects" Text="Defect Raised By Severity">
</asp:Title>
<asp:Title DockedToChartArea="ChartArea_Closure"
Font="Book Antiqua, 9pt, style=Bold" Name="Defect Closure"
Text="Defect Closure By Severity By Vendors ">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<span class="style10"><span class="style6">Filter by Defect Submit Date and
Frequency (Default date range is 6 months):<br /> From Date:</span>
<asp:TextBox class="form-control datepicker-textbox" ID="TextBox_From_Date_Outgoing_Defect_Arrvl_Closure"
runat="server" style="font-family: Andalus"
ValidationGroup="Outgoing_Defect_Arrvl_Closure" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_From_Date_Outgoing_Defect_Arrvl_Closure_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton49"
TargetControlID="TextBox_From_Date_Outgoing_Defect_Arrvl_Closure">
</ajaxtoolkit:CalendarExtender>
<span class="style6">To Date:</span><asp:TextBox
ID="TextBox_To_Date_Outgoing_Defect_Arrvl_Closure" runat="server"
class="form-control datepicker-textbox" style="font-family: Andalus"
ValidationGroup="Outgoing_Defect_Arrvl_Closure" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_To_Date_Outgoing_Defect_Arrvl_Closure_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton50"
TargetControlID="TextBox_To_Date_Outgoing_Defect_Arrvl_Closure">
</ajaxtoolkit:CalendarExtender>
Frequency: <asp:DropDownList
ID="DropDownList_Outgoing_Defect_Arrival_Closure_Freq" runat="server">
</asp:DropDownList>
<asp:Button ID="Button_Filter_Date_Outgoing_Defect_Arrvl_Closure" class="btn btn-sm btn-success"
runat="server" style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="Outgoing_Defect_Arrvl_Closure"
onclick="Button_Filter_Date_Outgoing_Defect_Arrvl_Closure_Click" />
<asp:Button ID="Button_Report_Outgoing_Defect_Arrival_Closure" class="btn btn-sm btn-success"
runat="server" onclick="Button_Report_Outgoing_Defect_Arrival_Closure_Click"
style="font-family: Andalus; font-size: small;" Text="Report!"
ValidationGroup="Outgoing_Defect_Arrvl_Closure" />
<asp:CompareValidator ID="CompareValidator25" runat="server"
ControlToCompare="TextBox_From_Date_Outgoing_Defect_Arrvl_Closure"
ControlToValidate="TextBox_To_Date_Outgoing_Defect_Arrvl_Closure"
Display="Dynamic" ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="Outgoing_Defect_Arrvl_Closure"></asp:CompareValidator>
<br />
</span>
</td>
</tr>
</table>
<table id="outDefectAvgClosure" border="0" cellpadding="0" cellspacing="0" width="90%">
<tr>
<td>
<asp:Chart ID="Chart_Outg_Defect_Closure_Avg_Time" runat="server"
BorderlineColor="Tan" BorderlineDashStyle="Solid" Height="347px"
ViewStateContent="All" ViewStateMode="Enabled" Width="1126px">
<Series>
<asp:Series BorderWidth="3" ChartArea="ChartArea_Defect_Closure"
ChartType="Line" Color="Red" CustomProperties="DrawingStyle=Cylinder"
Font="Book Antiqua, 8.25pt" Legend="Legend1"
LegendText="All Sev Avg Closure Time" Name="Series_Defects_Closure_Total">
</asp:Series>
<asp:Series BorderDashStyle="Dot" BorderWidth="2"
ChartArea="ChartArea_Defect_Closure" ChartType="Line"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True"
Font="Book Antiqua, 8.25pt" LabelToolTip="High Severity" Legend="Legend1"
LegendText="High Sev Avg Closure Time" Name="Series_Closure_High">
</asp:Series>
<asp:Series BorderDashStyle="Dash" BorderWidth="2"
ChartArea="ChartArea_Defect_Closure" ChartType="Line"
CustomProperties="DrawingStyle=Cylinder" Font="Book Antiqua, 8.25pt"
LabelToolTip="Medium Severity" Legend="Legend1"
LegendText="Medium Sev Avg Closure Time" Name="Series_Closure_Medium">
</asp:Series>
<asp:Series BorderWidth="2" ChartArea="ChartArea_Defect_Closure"
ChartType="Line" CustomProperties="DrawingStyle=Cylinder"
Font="Book Antiqua, 8.25pt" LabelToolTip="Low Severity" Legend="Legend1"
LegendText="Low Sev Avg Closure Time" Name="Series_Closure_Low">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea_Defect_Closure">
<AxisY IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
<MajorGrid LineDashStyle="Dot" />
</AxisY>
<AxisX IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
</AxisX>
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend1" TitleFont="Book Antiqua, 8.25pt, style=Bold">
</asp:Legend>
</Legends>
<Titles>
<asp:Title DockedToChartArea="ChartArea_Defect_Closure"
Font="Book Antiqua, 9pt, style=Bold" Name="Defect Closure Time"
Text="Defect Closure Average Time (Hours)">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<span class="style10"><span class="style6">Filter by Defect Submit
Date,Frequency and Vendor (Default date range is 6 months):<br /> From Date:</span>
<asp:TextBox class="form-control datepicker-textbox" ID="TextBox_From_Date_Outgoing_Defect_Avg_Closure" runat="server"
style="font-family: Andalus"
ValidationGroup="Outgoing_Defect_Avg_Closure" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_From_Date_Outgoing_Defect_Avg_Closure_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton51"
TargetControlID="TextBox_From_Date_Outgoing_Defect_Avg_Closure">
</ajaxtoolkit:CalendarExtender>
<span class="style6">To Date:</span><asp:TextBox
ID="TextBox_To_Date_Outgoing_Defect_Avg_Closure" runat="server"
style="font-family: Andalus" class="form-control datepicker-textbox"
ValidationGroup="Outgoing_Defect_Avg_Closure" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_To_Date_Outgoing_Defect_Avg_Closure_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton52"
TargetControlID="TextBox_To_Date_Outgoing_Defect_Avg_Closure">
</ajaxtoolkit:CalendarExtender>
Frequency: <asp:DropDownList class="form-control form-control-dropdown" ID="DropDownList_Outg_Defect_Avg_Closure_Freq"
runat="server">
</asp:DropDownList>
Select Vendor: <asp:DropDownList
ID="DropDownList_Outg_Defect_Avg_Closure_Vendor" runat="server">
</asp:DropDownList>
<asp:Button ID="Button_Filter_Date_Outgoing_Defect_Avg_Closure" runat="server" class="btn btn-sm btn-success"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="Outgoing_Defect_Avg_Closure"
onclick="Button_Filter_Date_Outgoing_Defect_Avg_Closure_Click" />
<asp:Button ID="Button_Report_Outgoing_Defect_Avg_Closure" runat="server" class="btn btn-sm btn-success"
onclick="Button_Report_Outgoing_Defect_Avg_Closure_Click"
style="font-family: Andalus; font-size: small;" Text="Report!"
ValidationGroup="Outgoing_Defect_Avg_Closure" />
<asp:CompareValidator ID="CompareValidator26" runat="server"
ControlToCompare="TextBox_From_Date_Outgoing_Defect_Avg_Closure"
ControlToValidate="TextBox_To_Date_Outgoing_Defect_Avg_Closure"
Display="Dynamic" ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="Outgoing_Defect_Avg_Closure"></asp:CompareValidator>
<br />
</span>
</td>
</tr>
</table>
<table id="potTable3" border="0" cellpadding="0" cellspacing="0" width="90%">
<tr>
<td align="center" width="45%">
<br />
<asp:Chart ID="Chart_Outgoing_Defect_By_Account" runat="server"
BorderlineColor="Tan"
Width="400px" BorderlineDashStyle="Solid" Palette="EarthTones">
<Series>
<asp:Series Name="TotalDefects" BackGradientStyle="TopBottom"
Font="Book Antiqua, 9pt" IsValueShownAsLabel="True"
LegendText="Cleared"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True, LabelStyle=Center">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea1" BackColor="LightSteelBlue"
BackGradientStyle="Center" BorderColor="Gainsboro">
<AxisY TitleFont="Baskerville Old Face, 9.75pt" IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisY>
<AxisX TitleFont="Baskerville Old Face, 9.75pt" IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisX>
<Area3DStyle Enable3D="True" Inclination="10" PointDepth="50"
PointGapDepth="50" />
</asp:ChartArea>
</ChartAreas>
<Titles>
<asp:Title Font="Book Antiqua, 8.25pt" Name="Title1">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<br />
<span class="style10"><span class="style6">Filter by Defect Submit Date and
Vendor (Default date range is 12 months):<br /> From Date:</span></span>
<asp:TextBox class="form-control datepicker-textbox" ID="Textbox_From_Date_Outgoing_Defect_By_Account"
runat="server" style="font-family: Andalus" ValidationGroup="Chart_Outgoing_Defect_By_Account_Group"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="Textbox_From_Date_Outgoing_Defect_By_Account_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton43"
TargetControlID="Textbox_From_Date_Outgoing_Defect_By_Account">
</ajaxtoolkit:CalendarExtender>
<span class="style10">
<span class="style6">To Date:</span></span><asp:TextBox
ID="Textbox_To_Date_Outgoing_Defect_By_Account" runat="server"
Height="22px"
style="font-family: Andalus" ValidationGroup="Chart_Outgoing_Defect_By_Account_Group"
Width="101px"></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="Textbox_To_Date_Outgoing_Defect_By_Account_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton44"
TargetControlID="Textbox_To_Date_Outgoing_Defect_By_Account">
</ajaxtoolkit:CalendarExtender>
<span class="style10"><span class="style6">Select Vendor : </span>
<asp:ListBox ID="ListBox_Outgoing_Defect_By_Account" runat="server"
Height="57px" SelectionMode="Multiple"
style="font-family: Andalus; font-size: small" Width="180px"></asp:ListBox>
</span>
<asp:Button ID="Button_Outgoing_Defect_By_Account" runat="server" class="btn btn-sm btn-success"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="Chart_Outgoing_Defect_By_Account_Group"
onclick="Button_Outgoing_Defect_By_Account_Click" />
<span class="style10">
<asp:Button ID="Button_Outgoing_Defect_By_Account_Download" runat="server" class="btn btn-sm btn-success"
onclick="Button_Outgoing_Defect_By_Account_Download_Click"
style="font-family: Andalus; font-size: small;" Text="Report"
ValidationGroup="Chart_Outgoing_Defect_By_Account_Group" />
<asp:CompareValidator ID="CompareValidator22" runat="server"
ControlToCompare="Textbox_From_Date_Outgoing_Defect_By_Account"
ControlToValidate="Textbox_To_Date_Outgoing_Defect_By_Account" Display="Dynamic"
ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan"
ValidationGroup="Chart_Outgoing_Defect_By_Account_Group"></asp:CompareValidator>
</span>
</td>
<td align="center" width="45%">
<asp:Chart ID="Chart_Outgoing_Defect_No_By_Account" runat="server"
BorderlineColor="Tan" BorderlineDashStyle="Solid" Width="400px"
Palette="EarthTones">
<Series>
<asp:Series BackGradientStyle="TopBottom" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True, LabelStyle=Center"
Font="Book Antiqua, 9pt" IsValueShownAsLabel="True" Legend="Legend_High"
LegendText="High Sev" Name="HighDefects">
</asp:Series>
<asp:Series ChartArea="ChartArea1" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend_Low"
LegendText="Low Sev" Name="LowDefects">
</asp:Series>
<asp:Series ChartArea="ChartArea1" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend_Medium"
LegendText="Medium Sev" Name="MediumDefects">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea BackColor="LightSteelBlue" BackGradientStyle="Center"
BorderColor="Gainsboro" Name="ChartArea1">
<AxisY IsLabelAutoFit="False" TitleFont="Baskerville Old Face, 9.75pt">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisY>
<AxisX IsLabelAutoFit="False" TitleFont="Baskerville Old Face, 9.75pt">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisX>
<Area3DStyle Enable3D="True" Inclination="10" PointDepth="50"
PointGapDepth="50" />
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Alignment="Far" BackColor="White"
DockedToChartArea="ChartArea1" Docking="Bottom" Font="Book Antiqua, 8.25pt"
IsTextAutoFit="False" ItemColumnSpacing="10" LegendStyle="Row"
Name="Legend_High" TitleFont="Book Antiqua, 8pt, style=Bold">
</asp:Legend>
<asp:Legend Alignment="Far" BackColor="White"
DockedToChartArea="ChartArea1" Docking="Bottom" Font="Book Antiqua, 8.25pt"
IsTextAutoFit="False" ItemColumnSpacing="10" LegendStyle="Row"
Name="Legend_Low" TitleFont="Book Antiqua, 8pt, style=Bold">
</asp:Legend>
<asp:Legend Alignment="Far" BackColor="White"
DockedToChartArea="ChartArea1" Docking="Bottom" Font="Book Antiqua, 8.25pt"
IsTextAutoFit="False" ItemColumnSpacing="10" LegendStyle="Row"
Name="Legend_Medium" TitleFont="Book Antiqua, 8pt, style=Bold">
</asp:Legend>
</Legends>
<Titles>
<asp:Title Font="Book Antiqua, 8.25pt" Name="Title1">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<span class="style10"><span class="style6">
<br />
Filter by Defect Submit Date,Type and Vendor(Default date range is 12 months):<br />
From Date:</span></span>
<asp:TextBox class="form-control datepicker-textbox" ID="Textbox_From_Date_Outgoing_Defect_No_By_Account"
runat="server" style="font-family: Andalus"
ValidationGroup="Outgoing_Defect_No_By_Account" ReadOnly="True"></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="Textbox_From_Date_Outgoing_Defect_No_By_Account_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton45"
TargetControlID="Textbox_From_Date_Outgoing_Defect_No_By_Account">
</ajaxtoolkit:CalendarExtender>
<span class="style10">
<span class="style6">To Date:</span></span><asp:TextBox
ID="Textbox_To_Date_Outgoing_Defect_No_By_Account" runat="server"
style="font-family: Andalus" class="form-control datepicker-textbox"
ValidationGroup="Outgoing_Defect_No_By_Account" ReadOnly="True"></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="Textbox_To_Date_Outgoing_Defect_No_By_Account_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton46"
TargetControlID="Textbox_To_Date_Outgoing_Defect_No_By_Account">
</ajaxtoolkit:CalendarExtender>
<span class="style10"><span class="style6">Select Vendor : </span>
<asp:ListBox ID="Listbox_Outgoing_Defect_No_By_Account" runat="server"
Height="57px" SelectionMode="Multiple"
style="font-family: Andalus; font-size: small" Width="180px"></asp:ListBox>
</span><asp:Button ID="Button_Outgoing_Defect_No_By_Account" class="btn btn-sm btn-success"
runat="server"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="Outgoing_Defect_No_By_Account"
onclick="Button_Outgoing_Defect_No_By_Account_Click" />
<span class="style10">
<asp:Button ID="Button_Outgoing_Defect_No_By_Account_Download" runat="server" class="btn btn-sm btn-success"
onclick="Button_Outgoing_Defect_No_By_Account_Download_Click"
style="font-family: Andalus; font-size: small;" Text="Report"
ValidationGroup="Outgoing_Defect_No_By_Account" />
<asp:CompareValidator ID="CompareValidator23" runat="server"
ControlToCompare="Textbox_From_Date_Outgoing_Defect_No_By_Account"
ControlToValidate="Textbox_To_Date_Outgoing_Defect_No_By_Account"
Display="Dynamic" ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="Outgoing_Defect_No_By_Account"></asp:CompareValidator>
</span>
<br />
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
<br />
</asp:Panel>
<ajaxtoolkit:CollapsiblePanelExtender ID="CollapsiblePanelExtender_Out_Defect" runat="server" Collapsed="true" AutoCollapse="false" TargetControlID="Panel_Outgoing_Defects"
ImageControlId="Pend_Appr_Collapse_Img5" CollapsedImage="~/Images/ArrowTip_Down.png" ExpandedImage="~/Images/ArrowTip_Parallel.png" ExpandControlID="LinkButton_Out_Defect"
CollapseControlID="LinkButton_Out_Defect"/>
</ContentTemplate>
</asp:UpdatePanel>
<asp:Label ID="Label_Incm_SR_Dashboard_Access"
runat="server" ForeColor="Red"
style="font-size: small" Visible="False"></asp:Label>
<br />
<asp:UpdatePanel ID="UpdatePanel7" runat="server">
<ContentTemplate>
<table width="100%">
<tr>
<td background="../Images/menu_bg.gif" >
<asp:LinkButton ID="LinkButton_Inc_SR" runat="server"
ToolTip="Click to expand or collapse">Incoming SRs Dashboard</asp:LinkButton>
<div style="float: right; vertical-align: middle;">
<asp:Image ID="Incm_SR_Collapse_Img4" runat="server"/>
</div>
</td>
</tr>
</table>
<asp:UpdateProgress ID="UpdateProgress_Incm_SR"
AssociatedUpdatePanelID="UpdatePanelIncmSRs" runat="server" DisplayAfter="1">
<ProgressTemplate>
<div style="position:fixed;top:40px;left:35%;z-index:100;width:50%;height:50%">
<image style="z-index:105" src="../Images/loading.gif"></image>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<asp:Panel ID="Panel_Incoming_SRs" runat="server" BorderColor="#0066CC"
BorderStyle="Ridge" BorderWidth="2px"
style="font-family: Andalus">
<asp:UpdatePanel ID="UpdatePanelIncmSRs" runat="server" UpdateMode="Conditional" OnLoad="UpdatePanelIncmSRs_load">
<ContentTemplate>
<table id="Table1" border="0" cellpadding="0" cellspacing="0" width="90%">
<tr>
<td align="left" style="font-size: small; font-weight: 700" width="45%">
<asp:Chart ID="Chart_SR_Arrival_Closure" runat="server"
BorderlineColor="Tan" BorderlineDashStyle="Solid" Height="412px"
ViewStateContent="All" ViewStateMode="Enabled" Width="1126px"
Palette="EarthTones">
<Series>
<asp:Series ChartType="StackedColumn" Font="Book Antiqua, 8.25pt" Legend="Legend1"
Name="Series_SRs_High" ChartArea="ChartArea_New_SRs"
CustomProperties="DrawingStyle=Cylinder" LegendText="High Sev Created">
</asp:Series>
<asp:Series ChartArea="ChartArea_New_SRs" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend1"
Name="Series_SRs_Low" Font="Book Antiqua, 8.25pt"
LegendText="Low Sev Created">
</asp:Series>
<asp:Series ChartArea="ChartArea_New_SRs" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend1"
Name="Series_SRs_Medium" Font="Book Antiqua, 8.25pt"
LegendText="Medium Sev Created">
</asp:Series>
<asp:Series ChartArea="ChartArea_Closure" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True"
Font="Book Antiqua, 8.25pt" Legend="Legend1" Name="Series_Closure_High"
LegendText="High Sev Closed">
</asp:Series>
<asp:Series ChartArea="ChartArea_Closure" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend1"
Name="Series_Closure_Medium" Font="Book Antiqua, 8.25pt"
LegendText="Medium Sev Closed">
</asp:Series>
<asp:Series ChartArea="ChartArea_Closure" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend1"
Name="Series_Closure_Low" Font="Book Antiqua, 8.25pt"
LegendText="Low Sev Closed">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea_Closure">
<AxisY IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
<MajorGrid LineDashStyle="Dot" />
</AxisY>
<AxisX IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
</AxisX>
</asp:ChartArea>
<asp:ChartArea Name="ChartArea_New_SRs">
<AxisY IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
<MajorGrid LineDashStyle="Dot" />
</AxisY>
<AxisX IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
</AxisX>
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend1" TitleFont="Book Antiqua, 8.25pt, style=Bold">
</asp:Legend>
</Legends>
<Titles>
<asp:Title Font="Book Antiqua, 9pt, style=Bold" Name="SR Arrival"
DockedToChartArea="ChartArea_New_SRs" Text="SR Arrival By Severity">
</asp:Title>
<asp:Title DockedToChartArea="ChartArea_Closure"
Font="Book Antiqua, 9pt, style=Bold" Name="SR Closure"
Text="SR Closure By Severity">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<span class="style10">
<span class="style6">Filter by SR Submit Date and Frequency (SRault date range is 6
months):<br /> From Date:</span>
<asp:TextBox class="form-control datepicker-textbox" ID="TextBox_From_Date_Incoming_SR_Arrvl_Closure" runat="server"
style="font-family: Andalus"
ValidationGroup="Incoming_SR_Arrvl_Closure" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_From_Date_Incoming_SR_Arrvl_Closure_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton_Incoming_SR_Arrvl_Closure"
TargetControlID="TextBox_From_Date_Incoming_SR_Arrvl_Closure">
</ajaxtoolkit:CalendarExtender>
<span class="style6">To Date:</span><asp:TextBox
ID="TextBox_To_Date_Incoming_SR_Arrvl_Closure" runat="server" class="form-control datepicker-textbox"
style="font-family: Andalus" ValidationGroup="Incoming_SR_Arrvl_Closure"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_To_Date_Incoming_SR_Arrvl_Closure_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton_To_Date_Incoming_SR_Arrvl_Closure"
TargetControlID="TextBox_To_Date_Incoming_SR_Arrvl_Closure">
</ajaxtoolkit:CalendarExtender>
Frequency: <asp:DropDownList
ID="DropDownList_Incm_SR_Arrival_Closure_Freq" runat="server">
</asp:DropDownList>
<asp:Button ID="Button_Filter_Date_Incoming_SR_Arrvl_Closure" runat="server" class="btn btn-sm btn-success"
onclick="Button_Filter_Date_Incoming_SR_Arrvl_Closure_Click"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="Incoming_SR_Arrvl_Closure" />
<asp:Button ID="Button_Report_Date_Incoming_SR_Arrival_Closure" class="btn btn-sm btn-success"
runat="server"
onclick="Button_Report_Date_Incoming_SR_Arrival_Closure_Click"
style="font-family: Andalus; font-size: small;" Text="Report!"
ValidationGroup="Incoming_SR_Arrvl_Closure" />
<asp:CompareValidator ID="CompareValidator1" runat="server"
ControlToCompare="TextBox_From_Date_Incoming_SR_Arrvl_Closure"
ControlToValidate="TextBox_To_Date_Incoming_SR_Arrvl_Closure" Display="Dynamic"
ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="Incoming_SR_Arrvl_Closure"></asp:CompareValidator>
<br />
</span>
</td>
</tr>
</table>
<table id="IncmSRClsTime" border="0" cellpadding="0" cellspacing="0" width="90%">
<tr>
<td>
<asp:Chart ID="Chart_Incm_SR_Closure_Avg_Time" runat="server"
BorderlineColor="Tan" BorderlineDashStyle="Solid" Height="347px"
ViewStateContent="All" ViewStateMode="Enabled" Width="1126px">
<Series>
<asp:Series ChartArea="ChartArea_SR_Closure" ChartType="Line"
CustomProperties="DrawingStyle=Cylinder" Font="Book Antiqua, 8.25pt"
Legend="Legend1" LegendText="All Sev Avg Closure Time"
Name="Series_SRs_Closure_Total" BorderWidth="3" Color="Red">
</asp:Series>
<asp:Series ChartArea="ChartArea_SR_Closure" ChartType="Line"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True"
Font="Book Antiqua, 8.25pt" Legend="Legend1"
LegendText="High Sev Avg Closure Time" Name="Series_Closure_High"
BorderDashStyle="Dot" BorderWidth="2" LabelToolTip="High Severity">
</asp:Series>
<asp:Series ChartArea="ChartArea_SR_Closure" ChartType="Line"
CustomProperties="DrawingStyle=Cylinder" Font="Book Antiqua, 8.25pt"
Legend="Legend1" LegendText="Medium Sev Avg Closure Time"
Name="Series_Closure_Medium" BorderDashStyle="Dash" BorderWidth="2"
LabelToolTip="Medium Severity">
</asp:Series>
<asp:Series ChartArea="ChartArea_SR_Closure" ChartType="Line"
CustomProperties="DrawingStyle=Cylinder" Font="Book Antiqua, 8.25pt"
Legend="Legend1" LegendText="Low Sev Avg Closure Time"
Name="Series_Closure_Low" BorderWidth="2" LabelToolTip="Low Severity">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea_SR_Closure">
<AxisY IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
<MajorGrid LineDashStyle="Dot" />
</AxisY>
<AxisX IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
</AxisX>
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend1" TitleFont="Book Antiqua, 8.25pt, style=Bold">
</asp:Legend>
</Legends>
<Titles>
<asp:Title DockedToChartArea="ChartArea_SR_Closure"
Font="Book Antiqua, 9pt, style=Bold" Name="SR Closure Time"
Text="SR Closure Average Time (Hours)">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<span class="style10"><span class="style6">Filter by SR Submit
Date,Frequency and Service Agent (SRault date range is 6 months):<br /> From
Date:</span>
<asp:TextBox class="form-control datepicker-textbox" ID="TextBox_From_Date_Incoming_SR_Avg_Closure" runat="server"
style="font-family: Andalus"
ValidationGroup="Incoming_SR_Avg_Closure" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_From_Date_Incoming_SR_Avg_Closure_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton_From_Date_Incoming_SR_Avg_Closure"
TargetControlID="TextBox_From_Date_Incoming_SR_Avg_Closure">
</ajaxtoolkit:CalendarExtender>
<span class="style6">To Date:</span><asp:TextBox
ID="TextBox_To_Date_Incoming_SR_Avg_Closure" runat="server"
style="font-family: Andalus" class="form-control datepicker-textbox"
ValidationGroup="Incoming_SR_Avg_Closure" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_To_Date_Incoming_SR_Avg_Closure_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton_To_Date_Incoming_SR_Avg_Closure"
TargetControlID="TextBox_To_Date_Incoming_SR_Avg_Closure">
</ajaxtoolkit:CalendarExtender>
Frequency: <asp:DropDownList class="form-control form-control-dropdown" ID="DropDownList_Incm_SR_Avg_Closure_Freq"
runat="server">
</asp:DropDownList>
Select Service Agent: <asp:DropDownList
ID="DropDownList_Incm_SR_Avg_Closure_Service_Agnt" runat="server">
</asp:DropDownList>
<asp:Button ID="Button_Filter_Date_Incoming_SR_Avg_Closure" runat="server" class="btn btn-sm btn-success"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="Incoming_SR_Avg_Closure"
onclick="Button_Filter_Date_Incoming_SR_Avg_Closure_Click" />
<asp:Button ID="Button_Report_Date_Incoming_SR_Avg_Closure" runat="server" class="btn btn-sm btn-success"
onclick="Button_Report_Date_Incoming_SR_Avg_Closure_Click"
style="font-family: Andalus; font-size: small;" Text="Report!"
ValidationGroup="Incoming_SR_Avg_Closure" />
<asp:CompareValidator ID="CompareValidator14" runat="server"
ControlToCompare="TextBox_From_Date_Incoming_SR_Avg_Closure"
ControlToValidate="TextBox_To_Date_Incoming_SR_Avg_Closure"
Display="Dynamic" ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="Incoming_SR_Avg_Closure"></asp:CompareValidator>
<br />
</span>
</td>
</tr>
</table>
<table id="IncmSR" border="0" cellpadding="0" cellspacing="0" width="90%">
<caption>
<tr>
<td align="center" width="45%">
<asp:Chart ID="Chart_Incoming_SR_By_Account" runat="server"
BorderlineColor="Tan" BorderlineDashStyle="Solid" Width="400px"
Palette="EarthTones">
<Series>
<asp:Series BackGradientStyle="TopBottom"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True, LabelStyle=Center"
Font="Book Antiqua, 9pt" IsValueShownAsLabel="True" LegendText="Cleared"
Name="TotalSRs">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea BackColor="LightSteelBlue" BackGradientStyle="Center"
BorderColor="Gainsboro" Name="ChartArea1">
<AxisY IsLabelAutoFit="False" TitleFont="Baskerville Old Face, 9.75pt">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisY>
<AxisX IsLabelAutoFit="False" TitleFont="Baskerville Old Face, 9.75pt">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisX>
<Area3DStyle Enable3D="True" Inclination="10" PointDepth="50"
PointGapDepth="50" />
</asp:ChartArea>
</ChartAreas>
<Titles>
<asp:Title Font="Book Antiqua, 8.25pt" Name="Title1">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<br />
<span class="style10"><span class="style6">Filter by SR Submit Date and
Customer (SRault date range is 12 months):<br /> From Date:</span></span>
<asp:TextBox class="form-control datepicker-textbox" ID="Textbox_From_Date_Incoming_SR_By_Account" runat="server"
style="font-family: Andalus"
ValidationGroup="Chart_Incoming_SR_By_Account_Group" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="Textbox_From_Date_Incoming_SR_By_Account_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton_From_Date_Incoming_SR_By_Account"
TargetControlID="Textbox_From_Date_Incoming_SR_By_Account">
</ajaxtoolkit:CalendarExtender>
<span class="style10">
<span class="style6">To Date:</span></span><asp:TextBox
ID="Textbox_To_Date_Incoming_SR_By_Account" runat="server"
style="font-family: Andalus" class="form-control datepicker-textbox"
ValidationGroup="Chart_Incoming_SR_By_Account_Group" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="Textbox_To_Date_Incoming_SR_By_Account_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton_To_Date_Incoming_SR_By_Account"
TargetControlID="Textbox_To_Date_Incoming_SR_By_Account">
</ajaxtoolkit:CalendarExtender>
<span class="style10"><span class="style6">Select customer : </span>
<asp:ListBox ID="ListBox_Incoming_SR_By_Account" runat="server"
Height="57px" SelectionMode="Multiple"
style="font-family: Andalus; font-size: small" Width="180px"></asp:ListBox>
</span>
<asp:Button ID="Button_Incoming_SR_By_Account" runat="server" class="btn btn-sm btn-success"
onclick="Button_Incoming_SR_By_Account_Click"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="Chart_Incoming_SR_By_Account_Group" />
<span class="style10"> <asp:Button
ID="Button_Incoming_SR_By_Account_Download" runat="server" class="btn btn-sm btn-success"
onclick="Button_Incoming_SR_By_Account_Download_Click"
style="font-family: Andalus; font-size: small;" Text="Report"
ValidationGroup="Chart_Incoming_SR_By_Account_Group" />
<asp:CompareValidator ID="CompareValidator17" runat="server"
ControlToCompare="Textbox_From_Date_Incoming_SR_By_Account"
ControlToValidate="Textbox_To_Date_Incoming_SR_By_Account"
Display="Dynamic" ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="Chart_Incoming_SR_By_Account_Group"></asp:CompareValidator>
</span>
</td>
<td align="center" width="45%">
<br />
<asp:Chart ID="Chart_Incoming_SR_No_By_Account" runat="server"
BorderlineColor="Tan" BorderlineDashStyle="Solid" Width="400px"
Palette="EarthTones">
<Series>
<asp:Series BackGradientStyle="TopBottom" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True, LabelStyle=Center"
Font="Book Antiqua, 9pt" IsValueShownAsLabel="True" Legend="Legend_High"
LegendText="High Sev" Name="HighSRs">
</asp:Series>
<asp:Series ChartArea="ChartArea1" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend_Low"
LegendText="Low Sev" Name="LowSRs">
</asp:Series>
<asp:Series ChartArea="ChartArea1" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend_Medium"
LegendText="Medium Sev" Name="MediumSRs">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea BackColor="LightSteelBlue" BackGradientStyle="Center"
BorderColor="Gainsboro" Name="ChartArea1">
<AxisY IsLabelAutoFit="False" TitleFont="Baskerville Old Face, 9.75pt">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisY>
<AxisX IsLabelAutoFit="False" TitleFont="Baskerville Old Face, 9.75pt">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisX>
<Area3DStyle Enable3D="True" Inclination="10" PointDepth="50"
PointGapDepth="50" />
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Alignment="Far" BackColor="White"
DockedToChartArea="ChartArea1" Docking="Bottom" Font="Book Antiqua, 8.25pt"
IsTextAutoFit="False" ItemColumnSpacing="10" LegendStyle="Row"
Name="Legend_High" TitleFont="Book Antiqua, 8pt, style=Bold">
</asp:Legend>
<asp:Legend Alignment="Far" BackColor="White"
DockedToChartArea="ChartArea1" Docking="Bottom" Font="Book Antiqua, 8.25pt"
IsTextAutoFit="False" ItemColumnSpacing="10" LegendStyle="Row"
Name="Legend_Low" TitleFont="Book Antiqua, 8pt, style=Bold">
</asp:Legend>
<asp:Legend Alignment="Far" BackColor="White"
DockedToChartArea="ChartArea1" Docking="Bottom" Font="Book Antiqua, 8.25pt"
IsTextAutoFit="False" ItemColumnSpacing="10" LegendStyle="Row"
Name="Legend_Medium" TitleFont="Book Antiqua, 8pt, style=Bold">
</asp:Legend>
</Legends>
<Titles>
<asp:Title Font="Book Antiqua, 8.25pt" Name="Title1">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<br />
<span class="style10"><span class="style6">Filter by SR Submit Date,Type and
Customer(SRault date range is 12 months):<br /> From Date:</span></span>
<asp:TextBox class="form-control datepicker-textbox" ID="Textbox_From_Date_Incoming_SR_No_By_Account"
runat="server" style="font-family: Andalus"
ValidationGroup="Incoming_SR_No_By_Account" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="Textbox_From_Date_Incoming_SR_No_By_Account_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton_From_Date_Incoming_SR_No_By_Account"
TargetControlID="Textbox_From_Date_Incoming_SR_No_By_Account">
</ajaxtoolkit:CalendarExtender>
<span class="style10">
<span class="style6">To Date:</span></span><asp:TextBox
ID="Textbox_To_Date_Incoming_SR_No_By_Account" runat="server"
class="form-control datepicker-textbox" style="font-family: Andalus"
ValidationGroup="Incoming_SR_No_By_Account" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="Textbox_To_Date_Incoming_SR_No_By_Account_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton_To_Date_Incoming_SR_No_By_Account"
TargetControlID="Textbox_To_Date_Incoming_SR_No_By_Account">
</ajaxtoolkit:CalendarExtender>
<span class="style10"><span class="style6">SR Types:
<asp:DropDownList class="form-control form-control-dropdown" ID="DropDownList_Incoming_SR_No_By_Account_SR_Type"
runat="server">
</asp:DropDownList>
Select customer : </span>
<asp:ListBox ID="Listbox_Incoming_SR_No_By_Account" runat="server"
Height="57px" SelectionMode="Multiple"
style="font-family: Andalus; font-size: small" Width="180px"></asp:ListBox>
</span><asp:Button ID="Button_Incoming_SR_No_By_Account" runat="server" class="btn btn-sm btn-success"
onclick="Button_Incoming_SR_No_By_Account_Click"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="Incoming_SR_No_By_Account" />
<span class="style10"> <asp:Button
ID="Button_Incoming_SR_No_By_Account_Download" runat="server" class="btn btn-sm btn-success"
onclick="Button_Incoming_SR_No_By_Account_Download_Click"
style="font-family: Andalus; font-size: small;" Text="Report"
ValidationGroup="Incoming_SR_No_By_Account" />
<asp:CompareValidator ID="CompareValidator20" runat="server"
ControlToCompare="Textbox_From_Date_Incoming_SR_No_By_Account"
ControlToValidate="Textbox_To_Date_Incoming_SR_No_By_Account"
Display="Dynamic" ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="Incoming_SR_No_By_Account"></asp:CompareValidator>
</span>
<br />
</td>
</tr>
</caption>
</table>
</ContentTemplate>
</asp:UpdatePanel>
<br />
</asp:Panel>
<ajaxtoolkit:CollapsiblePanelExtender ID="CollapsiblePanelExtender_Inc_SR" runat="server" Collapsed="true" AutoCollapse="false" TargetControlID="Panel_Incoming_SRs"
ImageControlId="Incm_SR_Collapse_Img4" CollapsedImage="~/Images/ArrowTip_Down.png" ExpandedImage="~/Images/ArrowTip_Parallel.png" ExpandControlID="LinkButton_Inc_SR"
CollapseControlID="LinkButton_Inc_SR"/>
</ContentTemplate>
</asp:UpdatePanel>
<br />
<asp:UpdatePanel ID="UpdatePanel8" runat="server">
<ContentTemplate>
<table width="100%">
<tr>
<td background="../Images/menu_bg.gif" >
<asp:LinkButton ID="LinkButton_Outg_SR" runat="server"
ToolTip="Click to expand or collapse">Outgoing SRs Dashboard</asp:LinkButton>
<div style="float: right; vertical-align: middle;">
<asp:Image ID="Outg_SR_Collapse_Img4" runat="server"/>
</div>
</td>
</tr>
</table>
<asp:UpdateProgress ID="UpdateProgress_Outg_SR"
AssociatedUpdatePanelID="UpdatePanelOutgSRs" runat="server" DisplayAfter="1">
<ProgressTemplate>
<div style="position:fixed;top:40px;left:35%;z-index:100;width:50%;height:50%">
<image style="z-index:105" src="../Images/loading.gif"></image>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<asp:Panel ID="Panel_Outgoing_SRs" runat="server" BorderColor="#0066CC"
BorderStyle="Ridge" BorderWidth="2px"
style="font-family: Andalus">
<asp:UpdatePanel ID="UpdatePanelOutgSRs" runat="server" UpdateMode="Conditional" OnLoad="UpdatePanelOutgSRs_load">
<ContentTemplate>
<table id="Table2" border="0" cellpadding="0" cellspacing="0" width="90%">
<tr>
<td align="left" style="font-size: small; font-weight: 700" width="45%">
<asp:Chart ID="Chart_Out_SR_Arrval_Closure" runat="server"
BorderlineColor="Tan" BorderlineDashStyle="Solid" Height="412px"
ViewStateContent="All" ViewStateMode="Enabled" Width="1126px"
Palette="EarthTones">
<Series>
<asp:Series ChartType="StackedColumn" Font="Book Antiqua, 8.25pt" Legend="Legend1"
Name="Series_SRs_High" ChartArea="ChartArea_New_SRs"
CustomProperties="DrawingStyle=Cylinder" LegendText="High Sev Created">
</asp:Series>
<asp:Series ChartArea="ChartArea_New_SRs" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend1"
Name="Series_SRs_Low" Font="Book Antiqua, 8.25pt"
LegendText="Low Sev Created">
</asp:Series>
<asp:Series ChartArea="ChartArea_New_SRs" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend1"
Name="Series_SRs_Medium" Font="Book Antiqua, 8.25pt"
LegendText="Medium Sev Created">
</asp:Series>
<asp:Series ChartArea="ChartArea_Closure" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True"
Font="Book Antiqua, 8.25pt" Legend="Legend1" Name="Series_Closure_High"
LegendText="High Sev Closed">
</asp:Series>
<asp:Series ChartArea="ChartArea_Closure" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend1"
Name="Series_Closure_Medium" Font="Book Antiqua, 8.25pt"
LegendText="Medium Sev Closed">
</asp:Series>
<asp:Series ChartArea="ChartArea_Closure" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend1"
Name="Series_Closure_Low" Font="Book Antiqua, 8.25pt"
LegendText="Low Sev Closed">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea_Closure">
<AxisY IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
<MajorGrid LineDashStyle="Dot" />
</AxisY>
<AxisX IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
</AxisX>
</asp:ChartArea>
<asp:ChartArea Name="ChartArea_New_SRs">
<AxisY IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
<MajorGrid LineDashStyle="Dot" />
</AxisY>
<AxisX IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
</AxisX>
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend1" TitleFont="Book Antiqua, 8.25pt, style=Bold">
</asp:Legend>
</Legends>
<Titles>
<asp:Title Font="Book Antiqua, 9pt, style=Bold" Name="SR Arrival"
DockedToChartArea="ChartArea_New_SRs" Text="SRs Raised By Severity">
</asp:Title>
<asp:Title DockedToChartArea="ChartArea_Closure"
Font="Book Antiqua, 9pt, style=Bold" Name="SR Closure"
Text="SRs Closure By Severity By Vendor">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<span class="style10">
<span class="style6">Filter by SR Submit Date and Frequency (SRault date range is 6
months):<br /> From Date:</span>
<asp:TextBox class="form-control datepicker-textbox" ID="TextBox_From_Date_Outgoing_SR_Arrvl_Closure" runat="server"
style="font-family: Andalus"
ValidationGroup="Outgoing_SR_Arrvl_Closure" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_From_Date_Outgoing_SR_Arrvl_Closure_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton_Outgoing_SR_Arrvl_Closure"
TargetControlID="TextBox_From_Date_Outgoing_SR_Arrvl_Closure">
</ajaxtoolkit:CalendarExtender>
<span class="style6">To Date:</span><asp:TextBox
ID="TextBox_To_Date_Outgoing_SR_Arrvl_Closure" runat="server" class="form-control datepicker-textbox"
style="font-family: Andalus" ValidationGroup="Outgoing_SR_Arrvl_Closure"
></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_To_Date_Outgoing_SR_Arrvl_Closure_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton_To_Date_Outgoing_SR_Arrvl_Closure"
TargetControlID="TextBox_To_Date_Outgoing_SR_Arrvl_Closure">
</ajaxtoolkit:CalendarExtender>
Frequency: <asp:DropDownList
ID="DropDownList_Outg_SR_Arrival_Closure_Freq" runat="server">
</asp:DropDownList>
<asp:Button ID="Button_Filter_Date_Outgoing_SR_Arrvl_Closure" runat="server" class="btn btn-sm btn-success"
onclick="Button_Filter_Date_Outgoing_SR_Arrvl_Closure_Click"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="Outgoing_SR_Arrvl_Closure" />
<asp:Button ID="Button_Report_Date_Outgoing_SR_Arrival_Closure" class="btn btn-sm btn-success"
runat="server"
onclick="Button_Report_Date_Outgoing_SR_Arrival_Closure_Click"
style="font-family: Andalus; font-size: small;" Text="Report!"
ValidationGroup="Outgoing_SR_Arrvl_Closure" />
<asp:CompareValidator ID="CompareValidator21" runat="server"
ControlToCompare="TextBox_From_Date_Outgoing_SR_Arrvl_Closure"
ControlToValidate="TextBox_To_Date_Outgoing_SR_Arrvl_Closure" Display="Dynamic"
ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="Outgoing_SR_Arrvl_Closure"></asp:CompareValidator>
<br />
</span>
</td>
</tr>
</table>
<table id="OutgSRClsTime" border="0" cellpadding="0" cellspacing="0" width="90%">
<tr>
<td>
<asp:Chart ID="Chart_Outg_SR_Closure_Avg_Time" runat="server"
BorderlineColor="Tan" BorderlineDashStyle="Solid" Height="347px"
ViewStateContent="All" ViewStateMode="Enabled" Width="1126px">
<Series>
<asp:Series ChartArea="ChartArea_SR_Closure" ChartType="Line"
CustomProperties="DrawingStyle=Cylinder" Font="Book Antiqua, 8.25pt"
Legend="Legend1" LegendText="All Sev Avg Closure Time"
Name="Series_SRs_Closure_Total" BorderWidth="3" Color="Red">
</asp:Series>
<asp:Series ChartArea="ChartArea_SR_Closure" ChartType="Line"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True"
Font="Book Antiqua, 8.25pt" Legend="Legend1"
LegendText="High Sev Avg Closure Time" Name="Series_Closure_High"
BorderDashStyle="Dot" BorderWidth="2" LabelToolTip="High Severity">
</asp:Series>
<asp:Series ChartArea="ChartArea_SR_Closure" ChartType="Line"
CustomProperties="DrawingStyle=Cylinder" Font="Book Antiqua, 8.25pt"
Legend="Legend1" LegendText="Medium Sev Avg Closure Time"
Name="Series_Closure_Medium" BorderDashStyle="Dash" BorderWidth="2"
LabelToolTip="Medium Severity">
</asp:Series>
<asp:Series ChartArea="ChartArea_SR_Closure" ChartType="Line"
CustomProperties="DrawingStyle=Cylinder" Font="Book Antiqua, 8.25pt"
Legend="Legend1" LegendText="Low Sev Avg Closure Time"
Name="Series_Closure_Low" BorderWidth="2" LabelToolTip="Low Severity">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea_SR_Closure">
<AxisY IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
<MajorGrid LineDashStyle="Dot" />
</AxisY>
<AxisX IsLabelAutoFit="False">
<LabelStyle Font="Book Antiqua, 8.25pt" />
</AxisX>
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Font="Baskerville Old Face, 9pt" IsTextAutoFit="False"
Name="Legend1" TitleFont="Book Antiqua, 8.25pt, style=Bold">
</asp:Legend>
</Legends>
<Titles>
<asp:Title DockedToChartArea="ChartArea_SR_Closure"
Font="Book Antiqua, 9pt, style=Bold" Name="SR Closure Time"
Text="SR Closure Average Time (Hours)">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<span class="style10"><span class="style6">Filter by SR Submit
Date,Frequency and Service Agent (SRault date range is 6 months):<br /> From
Date:</span>
<asp:TextBox class="form-control datepicker-textbox" ID="TextBox_From_Date_Outgoing_SR_Avg_Closure" runat="server"
style="font-family: Andalus"
ValidationGroup="Outgoing_SR_Avg_Closure" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_From_Date_Outgoing_SR_Avg_Closure_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton_From_Date_Outgoing_SR_Avg_Closure"
TargetControlID="TextBox_From_Date_Outgoing_SR_Avg_Closure">
</ajaxtoolkit:CalendarExtender>
<span class="style6">To Date:</span><asp:TextBox
ID="TextBox_To_Date_Outgoing_SR_Avg_Closure" runat="server"
class="form-control datepicker-textbox" style="font-family: Andalus"
ValidationGroup="Outgoing_SR_Avg_Closure" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="TextBox_To_Date_Outgoing_SR_Avg_Closure_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton_To_Date_Outgoing_SR_Avg_Closure"
TargetControlID="TextBox_To_Date_Outgoing_SR_Avg_Closure">
</ajaxtoolkit:CalendarExtender>
Frequency: <asp:DropDownList class="form-control form-control-dropdown" ID="DropDownList_Outg_SR_Avg_Closure_Freq"
runat="server">
</asp:DropDownList>
Select Vendor: <asp:DropDownList
ID="DropDownList_Outg_SR_Avg_Closure_Vendor" runat="server">
</asp:DropDownList>
<asp:Button ID="Button_Filter_Date_Outgoing_SR_Avg_Closure" runat="server" class="btn btn-sm btn-success"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="Outgoing_SR_Avg_Closure"
onclick="Button_Filter_Date_Outgoing_SR_Avg_Closure_Click" />
<asp:Button ID="Button_Report_Date_Outgoing_SR_Avg_Closure" runat="server" class="btn btn-sm btn-success"
onclick="Button_Report_Date_Outgoing_SR_Avg_Closure_Click"
style="font-family: Andalus; font-size: small;" Text="Report!"
ValidationGroup="Outgoing_SR_Avg_Closure" />
<asp:CompareValidator ID="CompareValidator27" runat="server"
ControlToCompare="TextBox_From_Date_Outgoing_SR_Avg_Closure"
ControlToValidate="TextBox_To_Date_Outgoing_SR_Avg_Closure"
Display="Dynamic" ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="Outgoing_SR_Avg_Closure"></asp:CompareValidator>
<br />
</span>
</td>
</tr>
</table>
<table id="OutgSR" border="0" cellpadding="0" cellspacing="0" width="90%">
<caption>
<tr>
<td align="center" width="45%">
<asp:Chart ID="Chart_Outgoing_SR_By_Account" runat="server"
BorderlineColor="Tan" BorderlineDashStyle="Solid" Width="400px"
Palette="EarthTones">
<Series>
<asp:Series BackGradientStyle="TopBottom"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True, LabelStyle=Center"
Font="Book Antiqua, 9pt" IsValueShownAsLabel="True" LegendText="Cleared"
Name="TotalSRs">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea BackColor="LightSteelBlue" BackGradientStyle="Center"
BorderColor="Gainsboro" Name="ChartArea1">
<AxisY IsLabelAutoFit="False" TitleFont="Baskerville Old Face, 9.75pt">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisY>
<AxisX IsLabelAutoFit="False" TitleFont="Baskerville Old Face, 9.75pt">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisX>
<Area3DStyle Enable3D="True" Inclination="10" PointDepth="50"
PointGapDepth="50" />
</asp:ChartArea>
</ChartAreas>
<Titles>
<asp:Title Font="Book Antiqua, 8.25pt" Name="Title1">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<br />
<span class="style10"><span class="style6">Filter by SR Submit Date and Vendor
(SRault date range is 12 months):<br /> From Date:</span></span>
<asp:TextBox class="form-control datepicker-textbox" ID="Textbox_From_Date_Outgoing_SR_By_Account" runat="server"
style="font-family: Andalus"
ValidationGroup="Chart_Outgoing_SR_By_Account_Group" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="Textbox_From_Date_Outgoing_SR_By_Account_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton_From_Date_Outgoing_SR_By_Account"
TargetControlID="Textbox_From_Date_Outgoing_SR_By_Account">
</ajaxtoolkit:CalendarExtender>
<span class="style10">
<span class="style6">To Date:</span></span><asp:TextBox
ID="Textbox_To_Date_Outgoing_SR_By_Account" runat="server"
style="font-family: Andalus" class="form-control datepicker-textbox"
ValidationGroup="Chart_Outgoing_SR_By_Account_Group" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="Textbox_To_Date_Outgoing_SR_By_Account_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton_To_Date_Outgoing_SR_By_Account"
TargetControlID="Textbox_To_Date_Outgoing_SR_By_Account">
</ajaxtoolkit:CalendarExtender>
<span class="style10"><span class="style6">Select Vendor : </span>
<asp:ListBox ID="ListBox_Outgoing_SR_By_Account" runat="server"
Height="57px" SelectionMode="Multiple"
style="font-family: Andalus; font-size: small" Width="180px"></asp:ListBox>
</span>
<asp:Button ID="Button_Outgoing_SR_By_Account" runat="server" class="btn btn-sm btn-success"
onclick="Button_Outgoing_SR_By_Account_Click"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="Chart_Outgoing_SR_By_Account_Group" />
<span class="style10"> <asp:Button
ID="Button_Outgoing_SR_By_Account_Download" runat="server" class="btn btn-sm btn-success"
onclick="Button_Outgoing_SR_By_Account_Download_Click"
style="font-family: Andalus; font-size: small;" Text="Report"
ValidationGroup="Chart_Outgoing_SR_By_Account_Group" />
<asp:CompareValidator ID="CompareValidator28" runat="server"
ControlToCompare="Textbox_From_Date_Outgoing_SR_By_Account"
ControlToValidate="Textbox_To_Date_Outgoing_SR_By_Account"
Display="Dynamic" ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="Chart_Outgoing_SR_By_Account_Group"></asp:CompareValidator>
</span>
</td>
<td align="center" width="45%">
<br />
<asp:Chart ID="Chart_Outgoing_SR_No_By_Account" runat="server"
BorderlineColor="Tan" BorderlineDashStyle="Solid" Width="400px"
Palette="EarthTones">
<Series>
<asp:Series BackGradientStyle="TopBottom" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder, DrawSideBySide=True, LabelStyle=Center"
Font="Book Antiqua, 9pt" IsValueShownAsLabel="True" Legend="Legend_High"
LegendText="High Sev" Name="HighSRs">
</asp:Series>
<asp:Series ChartArea="ChartArea1" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend_Low"
LegendText="Low Sev" Name="LowSRs">
</asp:Series>
<asp:Series ChartArea="ChartArea1" ChartType="StackedColumn"
CustomProperties="DrawingStyle=Cylinder" Legend="Legend_Medium"
LegendText="Medium Sev" Name="MediumSRs">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea BackColor="LightSteelBlue" BackGradientStyle="Center"
BorderColor="Gainsboro" Name="ChartArea1">
<AxisY IsLabelAutoFit="False" TitleFont="Baskerville Old Face, 9.75pt">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisY>
<AxisX IsLabelAutoFit="False" TitleFont="Baskerville Old Face, 9.75pt">
<LabelStyle Font="Book Antiqua, 9.75pt" />
</AxisX>
<Area3DStyle Enable3D="True" Inclination="10" PointDepth="50"
PointGapDepth="50" />
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend Alignment="Far" BackColor="White"
DockedToChartArea="ChartArea1" Docking="Bottom" Font="Book Antiqua, 8.25pt"
IsTextAutoFit="False" ItemColumnSpacing="10" LegendStyle="Row"
Name="Legend_High" TitleFont="Book Antiqua, 8pt, style=Bold">
</asp:Legend>
<asp:Legend Alignment="Far" BackColor="White"
DockedToChartArea="ChartArea1" Docking="Bottom" Font="Book Antiqua, 8.25pt"
IsTextAutoFit="False" ItemColumnSpacing="10" LegendStyle="Row"
Name="Legend_Low" TitleFont="Book Antiqua, 8pt, style=Bold">
</asp:Legend>
<asp:Legend Alignment="Far" BackColor="White"
DockedToChartArea="ChartArea1" Docking="Bottom" Font="Book Antiqua, 8.25pt"
IsTextAutoFit="False" ItemColumnSpacing="10" LegendStyle="Row"
Name="Legend_Medium" TitleFont="Book Antiqua, 8pt, style=Bold">
</asp:Legend>
</Legends>
<Titles>
<asp:Title Font="Book Antiqua, 8.25pt" Name="Title1">
</asp:Title>
</Titles>
</asp:Chart>
<br />
<br />
<span class="style10"><span class="style6">Filter by SR Submit Date,Type and
Vendor(SRault date range is 12 months):<br /> From Date:</span></span>
<asp:TextBox class="form-control datepicker-textbox" ID="Textbox_From_Date_Outgoing_SR_No_By_Account"
runat="server" style="font-family: Andalus"
ValidationGroup="Outgoing_SR_No_By_Account" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="Textbox_From_Date_Outgoing_SR_No_By_Account_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton_From_Date_Outgoing_SR_No_By_Account"
TargetControlID="Textbox_From_Date_Outgoing_SR_No_By_Account">
</ajaxtoolkit:CalendarExtender>
<span class="style10">
<span class="style6">To Date:</span></span><asp:TextBox
ID="Textbox_To_Date_Outgoing_SR_No_By_Account" runat="server"
class="form-control datepicker-textbox" style="font-family: Andalus"
ValidationGroup="Outgoing_SR_No_By_Account" ></asp:TextBox>
<ajaxtoolkit:CalendarExtender Enabled="false" ID="Textbox_To_Date_Outgoing_SR_No_By_Account_CalendarExtender"
runat="server" Format="yyyy-MM-dd" PopupButtonID="ImageButton_To_Date_Outgoing_SR_No_By_Account"
TargetControlID="Textbox_To_Date_Outgoing_SR_No_By_Account">
</ajaxtoolkit:CalendarExtender>
<span class="style10"><span class="style6"> Select Vendor: </span>
<asp:ListBox ID="Listbox_Outgoing_SR_No_By_Account" runat="server"
Height="57px" SelectionMode="Multiple"
style="font-family: Andalus; font-size: small" Width="180px"></asp:ListBox>
</span><asp:Button ID="Button_Outgoing_SR_No_By_Account" runat="server" class="btn btn-sm btn-success"
onclick="Button_Outgoing_SR_No_By_Account_Click"
style="font-family: Andalus; font-size: small;" Text="Show!"
ValidationGroup="Outgoing_SR_No_By_Account" />
<span class="style10"> <asp:Button
ID="Button_Outgoing_SR_No_By_Account_Download" runat="server" class="btn btn-sm btn-success"
onclick="Button_Outgoing_SR_No_By_Account_Download_Click"
style="font-family: Andalus; font-size: small;" Text="Report"
ValidationGroup="Outgoing_SR_No_By_Account" />
<asp:CompareValidator ID="CompareValidator29" runat="server"
ControlToCompare="Textbox_From_Date_Outgoing_SR_No_By_Account"
ControlToValidate="Textbox_To_Date_Outgoing_SR_No_By_Account"
Display="Dynamic" ErrorMessage="To Date earlier than from date" ForeColor="Red"
Operator="GreaterThan" ValidationGroup="Outgoing_SR_No_By_Account"></asp:CompareValidator>
</span>
<br />
</td>
</tr>
</caption>
</table>
</ContentTemplate>
</asp:UpdatePanel>
<br />
</asp:Panel>
<ajaxtoolkit:CollapsiblePanelExtender ID="CollapsiblePanelExtender_Out_SR" runat="server" Collapsed="true" AutoCollapse="false" TargetControlID="Panel_Outgoing_SRs"
ImageControlId="Outg_SR_Collapse_Img4" CollapsedImage="~/Images/ArrowTip_Down.png" ExpandedImage="~/Images/ArrowTip_Parallel.png" ExpandControlID="LinkButton_Outg_SR"
CollapseControlID="LinkButton_Outg_SR"/>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Content>
| 79.208008
| 217
| 0.44842
|
e85a88a920390cc475f5df023879fea99dc9dc4a
| 12,059
|
aspx
|
ASP
|
Route66-SKP-SKAL-Assignment/Route66-SKP-SKAL-Assignment/Admin.aspx
|
KrakenIsHere/Route66
|
56fa234803608c06ce330eb4b54d248f6ef3aec6
|
[
"Apache-2.0"
] | null | null | null |
Route66-SKP-SKAL-Assignment/Route66-SKP-SKAL-Assignment/Admin.aspx
|
KrakenIsHere/Route66
|
56fa234803608c06ce330eb4b54d248f6ef3aec6
|
[
"Apache-2.0"
] | null | null | null |
Route66-SKP-SKAL-Assignment/Route66-SKP-SKAL-Assignment/Admin.aspx
|
KrakenIsHere/Route66
|
56fa234803608c06ce330eb4b54d248f6ef3aec6
|
[
"Apache-2.0"
] | null | null | null |
<%@ Page Title="Admin" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Admin.aspx.cs" Inherits="Route66_SKP_SKAL_Assignment.Admin" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<link type="text/css" href="~/Content/AdminPage.css" rel="stylesheet"/>
<br />
<div class="container">
<ul class="nav nav-tabs">
<li class="active"><a data-toggle="tab" href="#Database">Entries</a></li>
<li><a data-toggle="tab" href="#QD">Questions</a></li>
<li><a data-toggle="tab" href="#Email">E-Mail</a></li>
<li><a data-toggle="tab" href="#Users">Users</a></li>
</ul>
<br />
<div class="tab-content">
<!-- Database -->
<div id="Database" class="tab-pane fade in active">
<asp:UpdatePanel runat="server">
<ContentTemplate>
<div class="row">
<div class="col-md-3">
<asp:Button runat="server" CssClass="btn btn-primary" OnClick="SearchAllAnswersBtn" Text="All Answers"></asp:Button>
<asp:Button runat="server" CssClass="btn btn-primary" OnClick="SearchAllCorrectAnswersBtn" Text="Correct Answers"></asp:Button>
</div>
<div class="col-md-5">
<asp:Button runat="server" CssClass="btn btn-primary" OnClick="SearchAllCorrectAnswersByQuestionBtn" Text="#Question Correct"></asp:Button>
<asp:Button runat="server" CssClass="btn btn-primary" OnClick="SearchAllAnswersByQuestionBtn" Text="#Question Answers"></asp:Button>
<asp:DropDownList runat="server" CssClass="btn btn-primary" ID="CORRECT_BY_QUESTION_DROP" ToolTip="Question Number/ID">
</asp:DropDownList>
</div>
<div class="col-md-4">
<asp:Button runat="server" CssClass="btn btn-primary" OnClick="SearchAllAnswersByMonthBtn" Text="#Question Answers"></asp:Button>
<asp:DropDownList runat="server" CssClass="btn btn-primary" ID="QUESTION_MONTHS_DROP" ToolTip="Questions From Month">
</asp:DropDownList>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="jumbotron">
<asp:GridView ID="DATA_GRID" runat="server" CellPadding="4" ForeColor="#333333" GridLines="Both" Width="100%">
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
<EditRowStyle BackColor="#999999" />
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White"/>
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White"/>
<PagerStyle BackColor="#284775" ForeColor="White"/>
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#E9E7E2" />
<SortedAscendingHeaderStyle BackColor="#506C8C" />
<SortedDescendingCellStyle BackColor="#FFFDF8" />
<SortedDescendingHeaderStyle BackColor="#6F8DAE" />
</asp:GridView>
</div>
</div>
</div>
</ContentTemplate>
</asp:UpdatePanel>
</div>
<!-- Question & Dates -->
<div id="QD" class="tab-pane fade">
<div class="row">
<div class="col-md-12">
<div class="jumbotron">
<div>
<asp:UpdatePanel runat="server">
<ContentTemplate>
<asp:Label runat="server" Text="Question: "></asp:Label>
<asp:TextBox runat="server" CssClass="SubmitQuestionTextbox" ID="QUESTION_TEXT"></asp:TextBox>
<br />
<br />
<asp:Label runat="server" Text="Answer #1: "></asp:Label>
<asp:TextBox runat="server" CssClass="SubmitQuestionTextbox" ID="ANSWER1_TEXT"></asp:TextBox>
<br />
<br />
<asp:Label runat="server" Text="Answer #2: "></asp:Label>
<asp:TextBox runat="server" CssClass="SubmitQuestionTextbox" ID="ANSWER2_TEXT"></asp:TextBox>
<br />
<br />
<asp:Label runat="server" Text="Answer #3: "></asp:Label>
<asp:TextBox runat="server" CssClass="SubmitQuestionTextbox" ID="ANSWER3_TEXT"></asp:TextBox>
<br />
<br />
<asp:Label runat="server" Text="Correct Answer: "></asp:Label>
<asp:DropDownList runat="server" CssClass="btn btn-primary" ID="ANSWER_DROP">
<asp:ListItem Value="0" Text="Select Answer"></asp:ListItem>
<asp:ListItem Value="1" Text="Answer #1"></asp:ListItem>
<asp:ListItem Value="2" Text="Answer #2"></asp:ListItem>
<asp:ListItem Value="3" Text="Answer #3"></asp:ListItem>
</asp:DropDownList>
<asp:Button runat="server" CssClass="btn btn-primary" OnClick="SubmitNewQuestionBtn" ID="QuestionBtn" Text="Submit New Question"/>
<br />
<asp:Label runat="server" ID="QUESTION_ERROR_LABEL"></asp:Label>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-3">
<div class="jumbotron">
<div>
<asp:UpdatePanel runat="server">
<ContentTemplate>
<asp:Label runat="server" Text="Month: "></asp:Label>
<br />
<asp:DropDownList ID="MONTH_LIST" runat="server">
</asp:DropDownList>
<br />
<br />
<asp:Label runat="server" Text="Year: "></asp:Label>
<br />
<asp:DropDownList ID="YEAR_LIST" runat="server">
</asp:DropDownList>
<br />
<br />
<asp:Button runat="server" CssClass="btn btn-primary" OnClick="SubmitNewStartBtn" ID="StartBtn" Text="Set New Start Date"/>
<br />
<asp:Label runat="server" ID="ERROR_LABEL"></asp:Label>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</div>
</div>
</div>
</div>
<!-- E-Mail -->
<div id="Email" class="tab-pane fade">
<div class="col-md-9">
<div class="jumbotron">
<asp:UpdatePanel runat="server">
<ContentTemplate>
<asp:Label runat="server" Text="Message sender: "></asp:Label>
<asp:Textbox ID="txtFrom" CssClass="SendEmailTextbox" TextMode="Email" Text="[email protected]" Enabled="false" runat="server" />
<br>
<br>
<asp:Label runat="server" Text="Message recipient: "></asp:Label>
<asp:Textbox ID="txtTo" CssClass="SendEmailTextbox" TextMode="Email" runat="server" ToolTip="Insert ',' to separate E-Mails" />
<br>
<br>
<asp:Label runat="server" Text="Message subject: "></asp:Label>
<asp:Textbox ID="txtSubject" CssClass="SendEmailTextbox" Text="Route66 competition WINNER" runat="server" />
<br>
<br>
<asp:Label runat="server" Text="Message:"></asp:Label>
<br/>
<br>
<asp:Textbox ID="txtBody" CssClass="SendEmailTextBody" runat="server" Height="150px" Text="Test Mail" TextMode="multiline" /><br>
<asp:Button ID="btn_SendMessage" CssClass="btn btn-primary" runat="server" OnClick="SendMessage_Click" Text="Send message" /><br>
<asp:Label ID="Label1" runat="server" Text="" />
</ContentTemplate>
</asp:UpdatePanel>
</div>
</div>
<div class="col-md-9">
<div class="jumbotron">
</div>
</div>
</div>
<!-- Users -->
<div id="Users" class="tab-pane fade">
<div class="jumbotron">
<div>
<asp:UpdatePanel runat="server">
<ContentTemplate>
<asp:Label runat="server" Text="Username: "></asp:Label>
<br />
<asp:TextBox ID="USERNAME_TEXT" runat="server" CssClass="UserSubTextbox"></asp:TextBox>
<br />
<br />
<asp:Label runat="server" Text="Password: "></asp:Label>
<br />
<asp:TextBox ID="PASSWORD_TEXT" runat="server" CssClass="UserSubTextbox" ToolTip="1 Special, Min. 7 chars" TextMode="Password"></asp:TextBox>
<br />
<br />
<asp:Label runat="server" Text="E-Mail: "></asp:Label>
<br />
<asp:TextBox ID="EMAIL_TEXT" runat="server" CssClass="UserSubTextbox" TextMode="Email"></asp:TextBox>
<br />
<br />
<asp:Button runat="server" CssClass="btn btn-primary" OnClick="SubmitUserBtn_Click" ID="NewUserBtn" Text="Submit New User"/>
<br />
<asp:Label runat="server" ID="USERERROR_LABEL"></asp:Label>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</div>
</div>
</div>
</div>
</asp:Content>
| 56.350467
| 173
| 0.425906
|
8ba792f808bb04c4b643a43a5bf5a36c881b5d06
| 1,538
|
aspx
|
ASP
|
UmbracoDev/Umbraco/ucommerce/Catalog/Dialogs/SelectCategoryTarget.aspx
|
Ryyyyannnn/UmbracoDev
|
7404dd2166ca49b6dbcffb4944c57fc83cf4a8ee
|
[
"MIT"
] | 2
|
2021-02-22T15:38:47.000Z
|
2021-12-27T19:53:41.000Z
|
UmbracoDev/Umbraco/ucommerce/Catalog/Dialogs/SelectCategoryTarget.aspx
|
Ryyyyannnn/UmbracoDev
|
7404dd2166ca49b6dbcffb4944c57fc83cf4a8ee
|
[
"MIT"
] | 1
|
2022-02-10T23:35:24.000Z
|
2022-02-10T23:35:24.000Z
|
UmbracoDev/Umbraco/ucommerce/Catalog/Dialogs/SelectCategoryTarget.aspx
|
RyanHelmn/UmbracoDev
|
7404dd2166ca49b6dbcffb4944c57fc83cf4a8ee
|
[
"MIT"
] | null | null | null |
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="../../masterpages/Dialog.master" CodeBehind="SelectCategoryTarget.aspx.cs" Inherits="UCommerce.Web.UI.Catalog.Dialogs.SelectCategoryTarget" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="HeaderLabel" runat="server">
<asp:Localize ID="Localize1" runat="server" meta:resourceKey="Header" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentArea" runat="server">
<div class="propertyPane dialog-header">
<h3>
<span>
<%= GetLocalResourceObject("Header.Text") %>
</span>
</h3>
<p class="guiDialogTiny">
<%= GetLocalResourceObject("SubHeader.Text") %>
</p>
<a class="modal-close" onclick="UCommerceClientMgr.closeModalWindow();" data-dismiss="modal" aria-hidden="true"></a>
</div>
<div class="propertyPane dialog-content contentCatalogItems">
<div class="propertyItems">
<asp:PlaceHolder id="CategorySelector" runat="server"></asp:PlaceHolder>
</div>
</div>
<div class="propertyPane dialog-actions">
<div class="footerOkCancel">
<asp:Button id="SaveButton" CssClass="dialog-saveButton" runat="server" meta:resourcekey="SaveButton" onclick="SaveButton_Clicked" />
<em><%= GetLocalResourceObject("Or.Text") %> </em><a href="#" Class="dialog-cancelButton" onclick="UCommerceClientMgr.closeModalWindow()">
<%= GetLocalResourceObject("CancelButton.Text") %>
</a>
</div>
</div>
</asp:Content>
| 48.0625
| 204
| 0.708062
|
f8772e9a2cb24c5f6def9c0aadc36b2af089cc06
| 1,267
|
aspx
|
ASP
|
src/CMS/CMSModules/Blogs/Tools/Blogs_Blogs_List.aspx
|
JFouts-BlueModus/kentico-contrib
|
8a1695d649b7493e54b2e091e76355a1f917d8e9
|
[
"MIT"
] | 1
|
2019-10-23T23:49:25.000Z
|
2019-10-23T23:49:25.000Z
|
src/CMS/CMSModules/Blogs/Tools/Blogs_Blogs_List.aspx
|
JFouts-BlueModus/kentico-contrib
|
8a1695d649b7493e54b2e091e76355a1f917d8e9
|
[
"MIT"
] | 6
|
2019-12-03T17:26:30.000Z
|
2020-03-09T00:05:04.000Z
|
src/CMS/CMSModules/Blogs/Tools/Blogs_Blogs_List.aspx
|
JFouts-BlueModus/kentico-contrib
|
8a1695d649b7493e54b2e091e76355a1f917d8e9
|
[
"MIT"
] | 3
|
2019-12-04T15:23:44.000Z
|
2020-04-06T17:26:16.000Z
|
<%@ Page Language="C#" MasterPageFile="~/CMSMasterPages/UI/SimplePage.master" AutoEventWireup="true"
Inherits="CMSModules_Blogs_Tools_Blogs_Blogs_List" Title="Blogs - Blogs list"
Theme="Default" Codebehind="Blogs_Blogs_List.aspx.cs" %>
<%@ Register Src="~/CMSAdminControls/UI/UniGrid/UniGrid.ascx" TagName="UniGrid" TagPrefix="cms" %>
<asp:Content ContentPlaceHolderID="plcSiteSelector" runat="Server">
<div class="form-horizontal form-filter">
<div class="form-group">
<div class="filter-form-label-cell">
<cms:LocalizedLabel CssClass="control-label" ID="lblBlogs" runat="server" EnableViewState="false" DisplayColon="true"
ResourceString="blog.blogs" />
</div>
<div class="filter-form-value-cell-wide">
<cms:CMSDropDownList ID="drpBlogs" runat="server" AutoPostBack="true" CssClass="DropDownField" />
</div>
</div>
</div>
</asp:Content>
<asp:Content ContentPlaceHolderID="plcContent" runat="Server">
<cms:UniGrid ID="gridBlogs" runat="server" GridName="Blog_List.xml" IsLiveSite="false" ExportFileName="cms_blog"/>
<asp:Literal ID="ltlScript" runat="server" EnableViewState="false" />
</asp:Content>
| 55.086957
| 134
| 0.663773
|
c612966712ec81990908f1aa1e9d32c4fe480dd4
| 5,435
|
ascx
|
ASP
|
ImageServer/Web/Application/Pages/Admin/Configure/Devices/DeviceGridView.ascx
|
SNBnani/Xian
|
e07cb943476705ac3721921cf0f0906485d9f59d
|
[
"Apache-2.0"
] | 1
|
2019-02-18T11:41:46.000Z
|
2019-02-18T11:41:46.000Z
|
ImageServer/Web/Application/Pages/Admin/Configure/Devices/DeviceGridView.ascx
|
nhannd/Xian
|
e07cb943476705ac3721921cf0f0906485d9f59d
|
[
"Apache-2.0"
] | null | null | null |
ImageServer/Web/Application/Pages/Admin/Configure/Devices/DeviceGridView.ascx
|
nhannd/Xian
|
e07cb943476705ac3721921cf0f0906485d9f59d
|
[
"Apache-2.0"
] | null | null | null |
<%-- License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
--%>
<%@ Import Namespace="ClearCanvas.ImageServer.Web.Common.Utilities" %>
<%@ Control Language="C#" AutoEventWireup="true" Inherits="ClearCanvas.ImageServer.Web.Application.Pages.Admin.Configure.Devices.DeviceGridView"
CodeBehind="DeviceGridView.ascx.cs" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Table runat="server" ID="ContainerTable" Height="100%" CellPadding="0" CellSpacing="0"
Width="100%">
<asp:TableRow VerticalAlign="top">
<asp:TableCell VerticalAlign="top">
<ccUI:GridView ID="GridView1" runat="server" OnRowDataBound="GridView1_RowDataBound"
OnPageIndexChanging="GridView1_PageIndexChanging">
<Columns>
<asp:BoundField DataField="AETitle" HeaderText="<%$Resources: ColumnHeaders,AETitle %>" HeaderStyle-HorizontalAlign="Left">
</asp:BoundField>
<asp:BoundField DataField="Description" HeaderText="<%$Resources: ColumnHeaders,DeviceDescription %>" HeaderStyle-HorizontalAlign="Left">
</asp:BoundField>
<asp:BoundField DataField="DeviceTypeEnum" HeaderText="<%$Resources: ColumnHeaders,DeviceType %>" HeaderStyle-HorizontalAlign="Left">
</asp:BoundField>
<asp:TemplateField HeaderText="<%$Resources: ColumnHeaders,IPAddress %>" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="IpAddressLabel" runat="server" Text="Label"></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="Port" HeaderText="<%$Resources: ColumnHeaders,Port %>" HeaderStyle-HorizontalAlign="Center"
ItemStyle-HorizontalAlign="Center"></asp:BoundField>
<asp:TemplateField HeaderText="<%$Resources: ColumnHeaders,Enabled %>">
<EditItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Enabled") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Image ID="ActiveImage" runat="server" SkinID="Unchecked" />
</ItemTemplate>
<HeaderStyle HorizontalAlign="Center" />
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="<%$Resources: ColumnHeaders,DHCP %>">
<EditItemTemplate>
<asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("DHCP") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Image ID="DHCPImage" runat="server" SkinID="Unchecked" />
</ItemTemplate>
<HeaderStyle HorizontalAlign="Center" />
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="<%$Resources: ColumnHeaders,Partition %>" Visible="False">
<ItemTemplate>
<asp:Label ID="ServerParitionLabel" runat="server" Text="Label"></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="<%$Resources: ColumnHeaders, LastAccessedTime %>">
<HeaderStyle Wrap="false" HorizontalAlign="Center" />
<ItemStyle Wrap="false" HorizontalAlign="Center" />
<ItemTemplate>
<asp:Label ID="LastAccessed" runat="server" Text='<%# DateTimeFormatter.Format((DateTime)Eval("LastAccessedTime")) %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="<%$Resources: ColumnHeaders,Features %>" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:PlaceHolder ID="FeaturePlaceHolder" runat="server"></asp:PlaceHolder>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<EmptyDataTemplate>
<ccAsp:EmptySearchResultsMessage ID="EmptySearchResultsMessage1" runat="server" Message="<%$Resources: SR,NoDevicesWereFound %>" />
</EmptyDataTemplate>
<RowStyle CssClass="GlobalGridViewRow" />
<AlternatingRowStyle CssClass="GlobalGridViewRow" />
<SelectedRowStyle CssClass="GlobalGridViewSelectedRow" />
<HeaderStyle CssClass="GlobalGridViewHeader" />
<PagerTemplate>
</PagerTemplate>
</ccUI:GridView>
</asp:TableCell>
</asp:TableRow>
</asp:Table>
| 62.471264
| 166
| 0.557314
|
dc619d38394d400e8275a8317aa4213d8feaf17e
| 12,338
|
aspx
|
ASP
|
home.aspx
|
zaidajaz/StockMatrix
|
d8898eb324a0c6f60565fca0c6c9524954b00dd0
|
[
"Apache-2.0"
] | null | null | null |
home.aspx
|
zaidajaz/StockMatrix
|
d8898eb324a0c6f60565fca0c6c9524954b00dd0
|
[
"Apache-2.0"
] | null | null | null |
home.aspx
|
zaidajaz/StockMatrix
|
d8898eb324a0c6f60565fca0c6c9524954b00dd0
|
[
"Apache-2.0"
] | null | null | null |
<%@ Page Title="" Language="C#" MasterPageFile="~/Dashboard.master" AutoEventWireup="true" CodeFile="home.aspx.cs" Inherits="home" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<meta http-equiv="refresh" content="30">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="pageWrapper" Runat="Server">
<form id="form1" runat="server">
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Dashboard</h1>
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /.row -->
<div class="row">
<div class="col-lg-3 col-md-6">
<div class="panel panel-primary">
<div class="panel-heading">
<div class="row">
<div class="col-xs-3">
<i class="fa fa-money fa-5x"></i>
</div>
<div class="col-xs-9 text-right">
<div class="huge"><asp:Label ID="lblTotalSale" runat="server"></asp:Label></div>
<div>Today's Sale!</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="panel panel-green">
<div class="panel-heading">
<div class="row">
<div class="col-xs-3">
<i class="fa fa-money fa-5x"></i>
</div>
<div class="col-xs-9 text-right">
<div class="huge"><asp:Label ID="lbltotalPurchase" runat="server"></asp:Label></div>
<div>Today's Purchases!</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="panel panel-yellow">
<div class="panel-heading">
<div class="row">
<div class="col-xs-3">
<i class="fa fa-long-arrow-left fa-5x"></i>
</div>
<div class="col-xs-9 text-right">
<div class="huge"><asp:Label ID="lblTotalDebts" runat="server"></asp:Label></div>
<div>Debts!</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6">
<div class="panel panel-red">
<div class="panel-heading">
<div class="row">
<div class="col-xs-3">
<i class="fa fa-long-arrow-right fa-5x"></i>
</div>
<div class="col-xs-9 text-right">
<div class="huge"><asp:label ID="lblTotalLiabilities" runat="server"></asp:label></div>
<div>Liabilities!</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /.row -->
<div class="row">
<div class="col-lg-8">
<div class="panel panel-default">
<div class="panel-heading">
Recent Transactions
</div>
<!-- /.panel-heading -->
<div class="panel-body">
<div class="panel-default">
<div class="panel-heading">
Sales
</div>
<div class="panel-body">
<asp:GridView ID="GridView1" CssClass="table table-responsive" runat="server" AutoGenerateColumns="False" CellPadding="4" DataSourceID="dsRecentSales" ForeColor="#333333" GridLines="None">
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
<Columns>
<asp:BoundField DataField="Customer" HeaderText="Customer" SortExpression="Customer" />
<asp:BoundField DataField="Sale value" HeaderText="Sale value" SortExpression="Sale value" />
<asp:BoundField DataField="Location" HeaderText="Location" SortExpression="Location" />
</Columns>
<EditRowStyle BackColor="#999999" />
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#E9E7E2" />
<SortedAscendingHeaderStyle BackColor="#506C8C" />
<SortedDescendingCellStyle BackColor="#FFFDF8" />
<SortedDescendingHeaderStyle BackColor="#6F8DAE" />
</asp:GridView>
<asp:SqlDataSource ID="dsRecentSales" runat="server" ConnectionString="<%$ ConnectionStrings:conSM %>" SelectCommand=" (select top 5 s.particulars as 'Customer', t.trans_amount as 'Sale value',l.location_name as 'Location' from sales s join
transDetails t on t.trans_id = s.trans_id join location l on
l.location_id = t.location_id) order by t.trans_id desc"></asp:SqlDataSource>
</div>
</div>
<div class="panel-default">
<div class="panel-heading">
Purchases
</div>
<div class="panel-body">
<asp:GridView CssClass="table table-responsive" ID="GridView2" runat="server" AutoGenerateColumns="False" CellPadding="4" DataSourceID="dsRecentPurchases" ForeColor="#333333" GridLines="None">
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
<Columns>
<asp:BoundField DataField="Seller" HeaderText="Seller" SortExpression="Seller" />
<asp:BoundField DataField="Purchase value" HeaderText="Purchase value" SortExpression="Purchase value" />
<asp:BoundField DataField="Location" HeaderText="Location" SortExpression="Location" />
</Columns>
<EditRowStyle BackColor="#999999" />
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#E9E7E2" />
<SortedAscendingHeaderStyle BackColor="#506C8C" />
<SortedDescendingCellStyle BackColor="#FFFDF8" />
<SortedDescendingHeaderStyle BackColor="#6F8DAE" />
</asp:GridView>
<asp:SqlDataSource ID="dsRecentPurchases" runat="server" ConnectionString="<%$ ConnectionStrings:conSM %>" SelectCommand="(select top 5 s.particulars as 'Seller', t.trans_amount as 'Purchase value',l.location_name as 'Location' from purchase s join
transDetails t on t.trans_id = s.trans_id join location l on
l.location_id = t.location_id) order by t.trans_id desc"></asp:SqlDataSource>
</div>
</div>
</div>
<!-- /.panel-body -->
</div>
<!-- /.panel -->
</div>
<!-- /.col-lg-8 -->
<div class="col-lg-4">
<a id="chat"></a>
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<div class="chat-panel panel panel-default">
<div class="panel-heading">
<i class="fa fa-comments fa-fw"></i>
Messages
<div class="btn-group pull-right">
<button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-chevron-down"></i>
</button>
<ul class="dropdown-menu slidedown">
<li>
<asp:linkButton ID="btnRefresh" runat="server" OnClick="btnRefresh_Click" Text="Refresh"/>
</li>
</ul>
</div>
</div>
<!-- /.panel-heading -->
<div class="panel-body">
<ul class="chat">
<asp:Label ID="chatLabel" runat="server"></asp:Label>
</ul>
</div>
<!-- /.panel-body -->
<div class="panel-footer">
<div class="input-group">
<asp:TextBox runat="server" id="btn_input" type="text" cssCclass="form-control input-sm" placeholder="Type your message here..." />
<span class="input-group-btn">
<asp:Button ID="btnChat" cssClass="btn btn-warning btn-sm" runat="server" OnClick="btnChat_Click" Text="Send"/>
</span>
</div>
</div>
<!-- /.panel-footer -->
</div>
</ContentTemplate>
</asp:UpdatePanel>
<!-- /.panel .chat-panel -->
</div>
<!-- /.col-lg-4 -->
</div>
<!-- /.row -->
</div>
</form>
</asp:Content>
| 60.185366
| 285
| 0.393095
|
443aafcfb059e46b884412a0b199cf902fec1a64
| 1,766
|
aspx
|
ASP
|
Store Admin/Apollo.AdminStore.WebForm/System/system_settings_catalog.aspx
|
hancheester/apollo
|
9d2f58d761d6b59694153302f6e0470b946fcad9
|
[
"MIT"
] | 2
|
2020-08-01T01:28:24.000Z
|
2021-04-16T03:50:18.000Z
|
Store Admin/Apollo.AdminStore.WebForm/System/system_settings_catalog.aspx
|
hancheester/apollo
|
9d2f58d761d6b59694153302f6e0470b946fcad9
|
[
"MIT"
] | 5
|
2020-04-05T22:12:19.000Z
|
2020-04-06T21:35:28.000Z
|
Store Admin/Apollo.AdminStore.WebForm/System/system_settings_catalog.aspx
|
hancheester/apollo
|
9d2f58d761d6b59694153302f6e0470b946fcad9
|
[
"MIT"
] | null | null | null |
<%@ Page Language="C#" MasterPageFile="~/Inspinia.Master" AutoEventWireup="true" CodeBehind="system_settings_catalog.aspx.cs" Inherits="Apollo.AdminStore.WebForm.System.system_settings_catalog" ValidateRequest="false" %>
<%@ Register TagPrefix="Apollo" TagName="NoticeBox" Src="~/UserControls/NoticeBoxControl.ascx" %>
<asp:Content ContentPlaceHolderID="primaryPlaceHolder" runat="server">
<div class="row wrapper border-bottom white-bg page-heading">
<div class="col-lg-12">
<h2>Settings</h2>
<h3>Catalog</h3>
</div>
</div>
<div class="wrapper wrapper-content animated fadeInRight">
<div class="row">
<div class="col-lg-12">
<Apollo:NoticeBox ID="enbNotice" runat="server" />
<table class="table table-striped">
<tr>
<th>Message for phone order</th>
<td><asp:TextBox ID="txtPhoneOrderMessage" runat="server" CssClass="form-control" TextMode="MultiLine" Height="100px"></asp:TextBox></td>
</tr>
</table>
<div class="hr-line-dashed"></div>
<div class="col-lg-12 row">
<asp:LinkButton ID="lbPublish" runat="server" Text="Publish" OnClick="lbPublish_Click" CssClass="btn btn-sm btn-danger" OnClientClick="return confirm('This action will refresh all setting related data on store front and performance could be affected.\nAre you sure to publish?');"></asp:LinkButton>
<asp:LinkButton ID="lbUpdate" runat="server" Text="Update" OnClick="lbUpdate_Click" CssClass="btn btn-sm btn-primary"></asp:LinkButton>
</div>
</div>
</div>
</div>
</asp:Content>
| 63.071429
| 318
| 0.612118
|
12b8098a0e41698bfbb374364b8be4ae3bc799bc
| 1,908
|
ascx
|
ASP
|
Source/Server/WebAsp/Modules/Currencies.ascx
|
InstantBusinessNetwork/IBN
|
bbcf47de56bfc52049eeb2e46677642a28f38825
|
[
"MIT"
] | 21
|
2015-07-22T15:22:41.000Z
|
2021-03-23T05:40:44.000Z
|
Source/Server/WebAsp/Modules/Currencies.ascx
|
InstantBusinessNetwork/IBN
|
bbcf47de56bfc52049eeb2e46677642a28f38825
|
[
"MIT"
] | 11
|
2015-10-19T07:54:10.000Z
|
2021-09-01T08:47:56.000Z
|
Source/Server/WebAsp/Modules/Currencies.ascx
|
InstantBusinessNetwork/IBN
|
bbcf47de56bfc52049eeb2e46677642a28f38825
|
[
"MIT"
] | 16
|
2015-07-22T15:23:09.000Z
|
2022-01-17T10:49:43.000Z
|
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Currencies.ascx.cs" Inherits="Mediachase.Ibn.WebAsp.Modules.Currencies" %>
<%@ Reference Control="~/Modules/BlockHeader.ascx" %>
<%@ Register TagPrefix="ibn" TagName="BlockHeader" src="~/Modules/BlockHeader.ascx" %>
<table class="ibn-stylebox" cellspacing="0" cellpadding="0" width="100%" border="0" style="margin:0px;">
<tr>
<td><ibn:BlockHeader id="secHeader" runat="server"></ibn:BlockHeader></td>
</tr>
<tr>
<td><asp:datagrid AllowSorting="False" id="dgCurrencies" runat="server" width="100%"
autogeneratecolumns="False" borderwidth="0px" GridLines="Horizontal" CellPadding="3">
<HeaderStyle Wrap="False"></HeaderStyle>
<Columns>
<asp:BoundColumn DataField="CurrencyName">
<HeaderStyle CssClass="ibn-vh2"></HeaderStyle>
<ItemStyle CssClass="ibn-vb2"></ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="Symbol">
<HeaderStyle CssClass="ibn-vh2"></HeaderStyle>
<ItemStyle CssClass="ibn-vb2"></ItemStyle>
</asp:BoundColumn>
<asp:TemplateColumn>
<HeaderStyle CssClass="ibn-vh2"></HeaderStyle>
<ItemStyle CssClass="ibn-vb2" Width=51></ItemStyle>
<ItemTemplate>
<asp:ImageButton id="ibEdit" ImageUrl="~/Layouts/images/edit.gif" ImageAlign="AbsMiddle" Runat="server" BorderWidth="0" PostBackUrl='<%# "~/Pages/CurrencyEdit.aspx?CurrencyId=" + DataBinder.Eval(Container.DataItem,"CurrencyId").ToString() %>'></asp:ImageButton>
<asp:ImageButton id="ibDelete" ImageUrl="~/Layouts/images/delete.gif" ImageAlign="AbsMiddle" Runat="server" BorderWidth="0" CommandName="Delete" Visible='<%#DataBinder.Eval(Container.DataItem,"CanDelete") %>' CommandArgument='<%#DataBinder.Eval(Container.DataItem,"CurrencyId") %>'></asp:ImageButton>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:datagrid></td>
</tr>
</table>
| 57.818182
| 307
| 0.698637
|
245655d36e650cb5735caa6c6f19db223f62cb5d
| 117
|
asax
|
ASP
|
src/Portal/Global.asax
|
richstep/TVWS-DB-Code
|
fed846474afd967c757c78d2de1da3b2a9705550
|
[
"MIT"
] | 1
|
2019-01-17T21:03:51.000Z
|
2019-01-17T21:03:51.000Z
|
src/Portal/Global.asax
|
richstep/TVWS-DB-Code
|
fed846474afd967c757c78d2de1da3b2a9705550
|
[
"MIT"
] | null | null | null |
src/Portal/Global.asax
|
richstep/TVWS-DB-Code
|
fed846474afd967c757c78d2de1da3b2a9705550
|
[
"MIT"
] | null | null | null |
<%@ Application Codebehind="Global.asax.cs" Inherits="Microsoft.WhiteSpaces.Portal.MvcApplication" Language="C#" %>
| 58.5
| 116
| 0.769231
|
d2d5b33e0a4a3327a409c44d378fdb28294e0238
| 10,677
|
aspx
|
ASP
|
Boneyard/Site4/Pages/v4/Financial/ViewResultSheet.aspx
|
Swarmops/Swarmops
|
6b0e34c08d504c7d64c45e772ffc24b83c71801a
|
[
"Unlicense"
] | 72
|
2015-01-06T14:58:47.000Z
|
2022-01-09T17:41:26.000Z
|
Boneyard/Site4/Pages/v4/Financial/ViewResultSheet.aspx
|
Swarmops/Swarmops
|
6b0e34c08d504c7d64c45e772ffc24b83c71801a
|
[
"Unlicense"
] | 29
|
2015-01-02T15:48:42.000Z
|
2020-11-30T14:38:53.000Z
|
Boneyard/Site4/Pages/v4/Financial/ViewResultSheet.aspx
|
Swarmops/Swarmops
|
6b0e34c08d504c7d64c45e772ffc24b83c71801a
|
[
"Unlicense"
] | 19
|
2015-02-04T23:58:14.000Z
|
2021-05-28T08:17:47.000Z
|
<%@ Page Language="C#" MasterPageFile="~/PirateWeb-v4.master" AutoEventWireup="true" CodeFile="ViewResultSheet.aspx.cs" Inherits="Pages_v4_ViewResultSheet" Title="View Result Sheet - PirateWeb" %>
<%@ Register Src="~/Controls/v4/OrganizationTree.ascx" TagName="OrganizationTree" TagPrefix="pw4" %>
<%@ Register Src="~/Controls/v4/GeographyTree.ascx" TagName="GeographyTree" TagPrefix="pw4" %>
<%@ Register Src="~/Controls/v4/OrganizationTreeDropDown.ascx" TagName="OrganizationTreeDropDown" TagPrefix="pw4" %>
<%@ Register Src="~/Controls/v4/GeographyTreeDropDown.ascx" TagName="GeographyTreeDropDown" TagPrefix="pw4" %>
<%@ Register Src="~/Controls/v4/PageTitle.ascx" TagName="PageTitle" TagPrefix="pw4" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
<style type="text/css">
.RadGrid td {padding:0}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="BodyContent" Runat="Server">
<telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">
</telerik:RadStyleSheetManager>
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript">
function ShowAccountForm(id, rowIndex)
{
var grid = $find("<%=GridBudgetAccounts.ClientID%>");
var rowControl = grid.get_masterTableView().get_dataItems()[rowIndex].get_element();
grid.get_masterTableView().selectItem(rowControl, true);
window.radopen("PopupEditAccount.aspx?FinancialAccountId=" + id, "BudgetForm");
return false;
}
function ToggleLineMode(id)
{
ToggleBothModes('LastYear' + id);
ToggleBothModes('Ytd' + id);
ToggleBothModes('Q1' + id);
ToggleBothModes('Q2' + id);
ToggleBothModes('Q3' + id);
ToggleBothModes('Q4' + id);
}
function ToggleBothModes (id)
{
ToggleSpanVisibility('GridSpanCollapsed' + id);
ToggleSpanVisibility('GridSpanExpanded' + id);
}
function ToggleSpanVisibility (id)
{
var span = $get(id);
if (span.style.display == 'none')
{
span.style.display = 'inline';
}
else
{
span.style.display = 'none';
}
}
function refreshGrid(arg)
{
if(!arg)
{
$find("<%=RadAjaxManager1.ClientID%>").ajaxRequest("Rebind");
}
else
{
$find("<%=RadAjaxManager1.ClientID%>").ajaxRequest("RebindAndNavigate");
}
}
</script>
</telerik:RadCodeBlock>
<pw4:PageTitle Icon="chart_bar.png" Title="View Result Sheet" Description="View status of result accounts" runat="server" ID="PageTitle" />
<asp:UpdatePanel ID="UpdatePanel" runat="server" >
<ContentTemplate>
<div class="DivMainContent">
<div class="DivGroupBox">
<span class="DivGroupBoxTitle">Select Organization and Budget Year</span><br />
<div class="DivGroupBoxContents">
Only <b>Piratpartiet SE</b> and <b>2010</b> for now.
</div>
</div>
<div class="DivGroupBox">
<span class="DivGroupBoxTitle"><asp:Label ID="LabelOrganizationYearTitle" runat="server" Text="Piratpartiet SE result sheet for 2010" /></span><br />
<div class="DivGroupBoxContents">
<telerik:RadGrid ID="GridBudgetAccounts" runat="server" AllowMultiRowSelection="False"
AutoGenerateColumns="False" GridLines="None" Skin="Default"
OnItemCreated="GridBudgetAccounts_ItemCreated" OnColumnCreated="GridBudgetAccounts_ColumnCreated"
OnItemDataBound="GridBudgetAccounts_ItemDataBound" OnItemCommand="GridBudgetAccounts_ItemCommand">
<HeaderContextMenu>
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
</HeaderContextMenu>
<MasterTableView DataKeyNames="Identity,ParentFinancialAccountId,Name" HierarchyDefaultExpanded="false" HierarchyLoadMode="Client" AllowSorting="true" >
<SelfHierarchySettings ParentKeyName="ParentFinancialAccountId" KeyName="Identity" />
<Columns>
<telerik:GridTemplateColumn HeaderText="Account" DataField="Name" UniqueName="Name">
<ItemTemplate>
<div style="width:250px;"><asp:Label ID="LabelAccountName" runat="server" Visible="false"/></div>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn HeaderText="AccountId" DataField="Identity" Visible="false" />
<telerik:GridBoundColumn HeaderText="ParentAccountId" DataField="ParentFinancialAccountId" Visible="false" />
<telerik:GridTemplateColumn HeaderText="Last Year" HeaderStyle-HorizontalAlign="Right" UniqueName="ColumnBudgetLastYear" ItemStyle-HorizontalAlign="Right">
<ItemTemplate>
<div style="width:75px;"><asp:Literal ID="LiteralLastYear" runat="server"/></div>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="Q1" HeaderStyle-HorizontalAlign="Right"
UniqueName="ColumnResultQ1" ItemStyle-HorizontalAlign="Right">
<ItemTemplate>
<div style="width:75px;"><asp:Literal ID="LiteralQuarter1" runat="server" Text="[TBI]" /></div>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="Q2" HeaderStyle-HorizontalAlign="Right"
UniqueName="ColumnResultQ2" ItemStyle-HorizontalAlign="Right">
<ItemTemplate>
<div style="width:75px;"><asp:Literal ID="LiteralQuarter2" runat="server" Text="[TBI]" /></div>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="Q3" HeaderStyle-HorizontalAlign="Right"
UniqueName="ColumnResultQ3" ItemStyle-HorizontalAlign="Right">
<ItemTemplate>
<div style="width:75px;"><asp:Literal ID="LiteralQuarter3" runat="server" Text="[TBI]" /></div>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="Q4" HeaderStyle-HorizontalAlign="Right"
UniqueName="ColumnResultQ4" ItemStyle-HorizontalAlign="Right">
<ItemTemplate>
<div style="width:75px;"><asp:Literal ID="LiteralQuarter4" runat="server" Text="[TBI]" /></div>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="YTD" HeaderStyle-HorizontalAlign="Right"
UniqueName="ColumnOutbound" ItemStyle-HorizontalAlign="Right">
<ItemTemplate>
<div style="width:75px;"><asp:Literal ID="LiteralThisYear" runat="server" /></div>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn UniqueName="ManageColumn" ItemStyle-HorizontalAlign="Right">
<ItemTemplate>
<div style="width:100px;"><asp:HyperLink ID="ManageLink" runat="server" Text="Edit account..."></asp:HyperLink></div>
</ItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
</MasterTableView>
<ClientSettings AllowExpandCollapse="true">
<Selecting AllowRowSelect="true" />
</ClientSettings>
<FilterMenu>
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
</FilterMenu>
</telerik:RadGrid>
</div>
</div>
<asp:Panel ID="PanelCreateTransaction" runat="server" Visible="false">
<div class="DivGroupBox">
<span class="DivGroupBoxTitle">Create Transaction Manually</span><br />
<div class="DivGroupBoxContents">
Create a new transaction with the following base data:<br />
<div style="float:left">Date<br />Description <br />Account<br />Amount<br />
</div>
<div style="float:left">
<telerik:RadDatePicker ID="DateCreate" runat="server" /> <br />
<asp:TextBox ID="TextDescriptionCreate" runat="server" /> <br />
<asp:DropDownList ID="DropAccountsCreate" runat="server" /><b><asp:Label ID="LabelAccountCreate" runat="server" Visible="false" /></b> <br />
<asp:TextBox ID="TextAmountCreate" runat="server" Text="0,00" /> <br />
<asp:Button ID="ButtonCreateTransaction" runat="server" Text="Create" /> <br />
</div>
<div style="clear:both">A transaction edit window will open where you can balance the transaction against other accounts.</div>
</div>
</div>
</asp:Panel>
</div>
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Web20">
<Windows>
<telerik:RadWindow VisibleStatusbar="false" Skin="Web20" ID="BudgetForm" runat="server" Title="Editing Budget" Height="400px"
Width="500px" ReloadOnShow="true" Modal="true" Behaviors="Close" />
</Windows>
</telerik:RadWindowManager>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="GridBudgetAccounts" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="GridBudgetAccounts">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="GridBudgetAccounts" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
</ContentTemplate>
<Triggers>
</Triggers>
</asp:UpdatePanel>
<!-- <asp:Label ID="LabelTest" runat="server" /> -->
</asp:Content>
| 48.531818
| 197
| 0.597546
|
b4730c2c7307f6153cfc36adfe384bf68dccc6b1
| 784
|
aspx
|
ASP
|
src_wip/Demos.WebForms.Orm/Demos/EntityFramework/SampleQueries.aspx
|
brianmains/Nucleo.NET
|
4ace48e2cd9fa02c490efcc8ebcaa6d627e69de8
|
[
"MIT"
] | 2
|
2017-06-27T08:55:17.000Z
|
2019-09-24T15:04:49.000Z
|
src_wip/Orm/4.0/Demos.WebForms.Orm/Demos/EntityFramework/SampleQueries.aspx
|
brianmains/Nucleo.NET
|
4ace48e2cd9fa02c490efcc8ebcaa6d627e69de8
|
[
"MIT"
] | null | null | null |
src_wip/Orm/4.0/Demos.WebForms.Orm/Demos/EntityFramework/SampleQueries.aspx
|
brianmains/Nucleo.NET
|
4ace48e2cd9fa02c490efcc8ebcaa6d627e69de8
|
[
"MIT"
] | null | null | null |
<%@ Page Title="" Language="C#" MasterPageFile="~/Layout/DemoLayout.Master" AutoEventWireup="true" CodeBehind="SampleQueries.aspx.cs" Inherits="Nucleo.Demos.EntityFramework.SampleQueries" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CodeSample" runat="server">
<asp:GridView ID="gvwProducts" runat="server" AutoGenerateColumns="false" DataKeyNames="ProductID"
AllowPaging="true" PageSize="20" OnPageIndexChanging="gvwProducts_PageIndexChanging">
<Columns>
<asp:BoundField HeaderText="Product" DataField="Name" />
<asp:BoundField HeaderText="#" DataField="ProductNumber" />
<asp:BoundField HeaderText="Color" DataField="Color" />
</Columns>
</asp:GridView>
</asp:Content>
| 49
| 191
| 0.756378
|
f35fae1db948fcbb3d46920074c98aa55baa7c4d
| 4,650
|
aspx
|
ASP
|
Source-Code-设客网设计师与设计院作品分享与威客门户网站/Manage/Workload/Rank.aspx
|
zoomlacms/web022
|
cee80b3d479a8249f393896be0cf11e94c482fce
|
[
"Apache-2.0"
] | 2
|
2020-06-17T01:53:15.000Z
|
2021-01-20T07:19:52.000Z
|
Source-Code-设客网设计师与设计院作品分享与威客门户网站/Manage/Workload/Rank.aspx
|
zoomlacms/web022
|
cee80b3d479a8249f393896be0cf11e94c482fce
|
[
"Apache-2.0"
] | null | null | null |
Source-Code-设客网设计师与设计院作品分享与威客门户网站/Manage/Workload/Rank.aspx
|
zoomlacms/web022
|
cee80b3d479a8249f393896be0cf11e94c482fce
|
[
"Apache-2.0"
] | null | null | null |
<%@ page language="C#" autoeventwireup="true" inherits="Manage_Exam_Rank, App_Web_am2nwcvs" masterpagefile="~/Manage/I/Default.master" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<asp:Content runat="server" ContentPlaceHolderID="head">
<title>分类排行</title>
<style>
.padding0{ padding-left:0; padding-right:0;}
.padding5{ padding-left:5px; padding-right:5px;}
.padding10{ padding-left:10px; padding-right:10px;}
.ranksort{ margin-top:0.5em;}
.ranksort .nav-tabs li a{ padding:0; width:100px; height:36px; line-height:36px; color:#666; text-align:center;}
.ranksort .nav-tabs li a:hover,.ranksort .nav-tabs li a:focus{ outline:none; background:none; border-color:rgba(209, 222, 241, 1);}
.ranksort .nav-tabs .active a,.ranksort .nav-tabs .active a:hover,.ranksort .nav-tabs .active a:focus{ background:#eee; border-color:rgba(209, 222, 241, 1); color:#000;}
.rankbody{ margin-top:0.5em;}
.rankbody_title{ padding-left:0.5em; height:2.6em; line-height:2.6em; font-size:1.2em; box-shadow:0 2px 5px #ddd;}
.rankbody_title i{ margin-right:0.5em; color:#428bca;}
.rankbody_l{ height:500px; background:#f5f5f5; border:1px solid #ddd; box-shadow:1px 1px 5px #eee; border-radius:4px;}
.rankbody_l li{ padding-left:1em; height:2em; line-height:2em;}
.depart_rtitle{ padding:0.3em; min-height:2.6em; background:#f5f5f5; border:1px solid #ddd; border-radius:4px;}
.depart_list{ margin-top:0.5em;}
</style>
</asp:Content>
<asp:Content runat="server" ContentPlaceHolderID="Content">
<div class="ranksort">
<ul class="nav nav-tabs" role="tablist">
<li><a href="ContentRank.aspx">综合排行</a></li>
<li class="active"><a href="Rank.aspx?Type=click">点击排行</a></li>
<li><a href="Rank.aspx?Type=comment">评论排行</a></li>
<li><a href="#Export">导出</a></li>
</ul>
</div>
<div class="rankbody">
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-12 padding0 rankbody_l">
<div class="rankbody_title"><p><i class="fa fa-list"></i>栏目列表</p></div>
<ul class="list-unstyled">
<li><a href="#">的哈设计的哈数</a></li>
<li><a href="#">的哈设计的哈数</a></li>
<li><a href="#">的哈设计的哈数</a></li>
<li><a href="#">的哈设计的哈数</a></li>
<li><a href="#">的哈设计的哈数</a></li>
<li><a href="#">的哈设计的哈数</a></li>
</ul>
<div class="clearfix"></div>
</div>
<div class="col-lg-10 col-md-10 col-sm-10 col-xs-12 padding10 rankbody_r">
<div class="depart_rtitle">
<asp:DropDownList ID="ModelList" runat="server" CssClass="form-control" Width="200" DataTextField="ModelName" DataValueField="ModelId"></asp:DropDownList>
<asp:DropDownList ID="NodeList" runat="server" CssClass="form-control" Width="200" DataTextField="NodeName" DataValueField="NodeId" SelectionMode="Multiple"></asp:DropDownList>
起始时间:<asp:TextBox ID="start" CssClass="form-control" Width="190" onclick="WdatePicker({ dateFmt: 'yyyy-MM-dd' })" runat="server"></asp:TextBox> ~
截止时间:<asp:TextBox ID="end" CssClass="form-control" Width="190" onclick="WdatePicker({ dateFmt: 'yyyy-MM-dd' })" runat="server"></asp:TextBox>
<asp:Button ID="Button" runat="server" CssClass="btn btn-md btn-primary" Text="查询" />
</div>
<div class="depart_list">
<table class="table table-striped">
<tr>
<th>标题</th><th>点击</th><th>录入</th><th>录入时间</th>
</tr>
<tbody>
<tr>
<td>的话撒娇的哈稍等哈等哈等哈睡地铺</td><td>456</td><td>ncsjsd</td><td>2015-01-01 11:11:11</td>
</tr>
<tr>
<td>的话撒娇的哈稍等哈等哈等哈睡地铺</td><td>456</td><td>ncsjsd</td><td>2015-01-01 11:11:11</td>
</tr>
<tr>
<td>的话撒娇的哈稍等哈等哈等哈睡地铺</td><td>456</td><td>ncsjsd</td><td>2015-01-01 11:11:11</td>
</tr>
<tr>
<td>的话撒娇的哈稍等哈等哈等哈睡地铺</td><td>456</td><td>ncsjsd</td><td>2015-01-01 11:11:11</td>
</tr>
<tr>
<td>的话撒娇的哈稍等哈等哈等哈睡地铺</td><td>456</td><td>ncsjsd</td><td>2015-01-01 11:11:11</td>
</tr>
<tr>
<td>的话撒娇的哈稍等哈等哈等哈睡地铺</td><td>456</td><td>ncsjsd</td><td>2015-01-01 11:11:11</td>
</tr>
<tr>
<td>的话撒娇的哈稍等哈等哈等哈睡地铺</td><td>456</td><td>ncsjsd</td><td>2015-01-01 11:11:11</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</asp:Content>
<asp:Content runat="server" ContentPlaceHolderID="ScriptContent">
<script src="/JS/DatePicker/WdatePicker.js" type="text/javascript"></script>
</asp:Content>
| 47.938144
| 200
| 0.599785
|
6da0cf3f13bd3650c135a3e094bdf472ccca2fa9
| 9,162
|
aspx
|
ASP
|
EmailNotificationSystem/Employees/Profile.aspx
|
blackMisay/SENS
|
2466ca50ef8ff62fb3492c0b3e1a8968879f0f9e
|
[
"MIT"
] | 1
|
2018-10-24T06:05:33.000Z
|
2018-10-24T06:05:33.000Z
|
EmailNotificationSystem/Employees/Profile.aspx
|
blackMisay/SENS
|
2466ca50ef8ff62fb3492c0b3e1a8968879f0f9e
|
[
"MIT"
] | 4
|
2018-09-04T10:13:39.000Z
|
2018-10-24T06:19:19.000Z
|
EmailNotificationSystem/obj/Release/Package/PackageTmp/Employees/Profile.aspx
|
blackMisay/SENS
|
2466ca50ef8ff62fb3492c0b3e1a8968879f0f9e
|
[
"MIT"
] | null | null | null |
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Profile.aspx.vb" Inherits="EmailNotificationSystem.Profile" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script>
<link rel="stylesheet" type="text/css" href="/Content/Styles/Forme.css" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css"/>
<link href="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet"/>
<script src="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>
<style>
body{
background-image:url('/Images/back2.jpg');
}
.profile-usertitle-email {
text-transform: uppercase;
color: #76ADDC;
font-size: 10px;
font-weight: 600;
margin-bottom: 40px;
padding-top:-15px;
text-align: center;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div class="sidenav">
<div class="col-md-3">
<div class="profile-sidebar">
<!-- SIDEBAR USERPIC -->
<div class="profile-userpic">
<img src="/Images/teacher.png" class="img-responsive" alt=""/>
</div>
<!-- END SIDEBAR USERPIC -->
<!-- SIDEBAR USER TITLE -->
<div class="profile-usertitle">
<div class="profile-usertitle-name">
Janet Lim-Napoles
</div>
<div class="profile-usertitle-job">
Teacher
</div>
</div>
<div class="profile-usertitle-email">
<asp:label runat="server" id="profemail" text="[email protected]"></asp:label>
</div>
<!-- END SIDEBAR USER TITLE -->
<a href="LoggedOn.aspx"><h4>User Profile</h4></a>
<a href="#services"><h4>Students</h4></a>
<a href="Dashboard.aspx"><h4>Send Email</h4></a>
<a href="index.aspx"><h4>Logout</h4></a>
</div>
</div>
</div>
<div class="main">
<ul class="nav nav-tabs">
<li class="active"><a href="#home" data-toggle="tab">Profile</a></li>
<li><a href="#profile" data-toggle="tab">Password</a></li>
</ul>
<div id="myTabContent" class="tab-content">
<div class="tab-pane active in" id="home">
<form id="tab">
<label>Username</label>
<input type="text" value="jsmith" class="input-xlarge"/>
<label>First Name</label>
<input type="text" value="John" class="input-xlarge"/>
<label>Last Name</label>
<input type="text" value="Smith" class="input-xlarge"/>
<label>Email</label>
<input type="text" value="[email protected]" class="input-xlarge"/>
<label>Address</label>
<textarea value="Smith" rows="3" class="input-xlarge">2817 S 49th
Apt 314
San Jose, CA 95101
</textarea>
<!--dropdown-->
<%-- <label>Time Zone</label>
<select name="DropDownTimezone" id="DropDownTimezone" class="input-xlarge">
<option value="-12.0">(GMT -12:00) Eniwetok, Kwajalein</option>
<option value="-11.0">(GMT -11:00) Midway Island, Samoa</option>
<option value="-10.0">(GMT -10:00) Hawaii</option>
<option value="-9.0">(GMT -9:00) Alaska</option>
<option selected="selected" value="-8.0">(GMT -8:00) Pacific Time (US & Canada)</option>
<option value="-7.0">(GMT -7:00) Mountain Time (US & Canada)</option>
<option value="-6.0">(GMT -6:00) Central Time (US & Canada), Mexico City</option>
<option value="-5.0">(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima</option>
<option value="-4.0">(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz</option>
<option value="-3.5">(GMT -3:30) Newfoundland</option>
<option value="-3.0">(GMT -3:00) Brazil, Buenos Aires, Georgetown</option>
<option value="-2.0">(GMT -2:00) Mid-Atlantic</option>
<option value="-1.0">(GMT -1:00 hour) Azores, Cape Verde Islands</option>
<option value="0.0">(GMT) Western Europe Time, London, Lisbon, Casablanca</option>
<option value="1.0">(GMT +1:00 hour) Brussels, Copenhagen, Madrid, Paris</option>
<option value="2.0">(GMT +2:00) Kaliningrad, South Africa</option>
<option value="3.0">(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg</option>
<option value="3.5">(GMT +3:30) Tehran</option>
<option value="4.0">(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi</option>
<option value="4.5">(GMT +4:30) Kabul</option>
<option value="5.0">(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent</option>
<option value="5.5">(GMT +5:30) Bombay, Calcutta, Madras, New Delhi</option>
<option value="5.75">(GMT +5:45) Kathmandu</option>
<option value="6.0">(GMT +6:00) Almaty, Dhaka, Colombo</option>
<option value="7.0">(GMT +7:00) Bangkok, Hanoi, Jakarta</option>
<option value="8.0">(GMT +8:00) Beijing, Perth, Singapore, Hong Kong</option>
<option value="9.0">(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk</option>
<option value="9.5">(GMT +9:30) Adelaide, Darwin</option>
<option value="10.0">(GMT +10:00) Eastern Australia, Guam, Vladivostok</option>
<option value="11.0">(GMT +11:00) Magadan, Solomon Islands, New Caledonia</option>
<option value="12.0">(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka</option>
</select>--%>
<div>
<button class="btn btn-primary">Update</button>
</div>
</form>
</div>
<div class="tab-pane fade" id="profile">
<form id="tab2">
<label>New Password</label>
<input type="password" class="input-xlarge">
<div>
<button class="btn btn-primary">Update</button>
</div>
</form>
</div>
</div>
<%--<div class="col-md-7 ">
<div class="panel panel-default">
<div class="panel-heading"> <h4 >User Profile</h4></div>
<div class="panel-body">
<div class="box box-info">
<div class="box-body">
<div class="col-sm-6">
<div align="center"> <img alt="User Pic" src="images/icons/janet.png" id="profile-image1" class="img-circle img-responsive"/>
<input id="profile-image-upload" class="hidden" type="file"/>
<!--Upload Image Js And Css-->
</div>
<br/>
<!-- /input-group -->
</div>
<div class="col-sm-6">
<h4 style="color:#00b1b1;">Janet Lim-Napoles </h4>
<span><p>Teacher</p></span>
</div>
<div class="clearfix"></div>
<hr style="margin:5px 0 5px 0;"/>
<div class="col-sm-5 col-xs-6 tital " >First Name:</div><div class="col-sm-7 col-xs-6 ">Janet</div>
<div class="clearfix"></div>
<div class="bot-border"></div>
<div class="col-sm-5 col-xs-6 tital " >Middle Name:</div><div class="col-sm-7"> Lim</div>
<div class="clearfix"></div>
<div class="bot-border"></div>
<div class="col-sm-5 col-xs-6 tital " >Last Name:</div><div class="col-sm-7"> Napoles</div>
<div class="clearfix"></div>
<div class="bot-border"></div>
<div class="col-sm-5 col-xs-6 tital " >Date Of Joining:</div><div class="col-sm-7">15 Jun 2016</div>
<div class="clearfix"></div>
<div class="bot-border"></div>
<div class="col-sm-5 col-xs-6 tital " >Date Of Birth:</div><div class="col-sm-7">11 Jun 1459</div>
<div class="clearfix"></div>
<div class="bot-border"></div>
<div class="col-sm-5 col-xs-6 tital " >Place Of Birth:</div><div class="col-sm-7">Dimahanaphanap City</div>
<div class="clearfix"></div>
<div class="bot-border"></div>
<div class="col-sm-5 col-xs-6 tital " >Nationality:</div><div class="col-sm-7">Alien</div>
<div class="clearfix"></div>
<div class="bot-border"></div>
<div class="col-sm-5 col-xs-6 tital " >Religion:</div><div class="col-sm-7">Satanist</div>
<!-- /.box-body -->
</div>
<!-- /.box -->
</div>
</div>
</div>
</div>--%>
</div>
<script>
$(function() {
$('#profile-image1').on('click', function() {
$('#profile-image-upload').click();
});
});
</script>
</form>
</body>
</html>
| 41.645455
| 147
| 0.547588
|
6ac3c06731b00c907e497b983ffa95314cc98986
| 103
|
asax
|
ASP
|
PaymentExample/Global.asax
|
onursteknik/PaymentExample
|
118d03c656dd7145814e81614fd9e982b0265466
|
[
"MIT"
] | 4
|
2021-04-17T20:04:10.000Z
|
2022-01-06T21:09:08.000Z
|
PaymentExample/Global.asax
|
onursteknik/PaymentExample
|
118d03c656dd7145814e81614fd9e982b0265466
|
[
"MIT"
] | null | null | null |
PaymentExample/Global.asax
|
onursteknik/PaymentExample
|
118d03c656dd7145814e81614fd9e982b0265466
|
[
"MIT"
] | 1
|
2022-01-05T08:37:04.000Z
|
2022-01-05T08:37:04.000Z
|
<%@ Application Codebehind="Global.asax.cs" Inherits="PaymentExample.MvcApplication" Language="C#" %>
| 51.5
| 102
| 0.757282
|
70056ef0cf5e8cad6a76e31f6441bd6313ae2322
| 1,908
|
aspx
|
ASP
|
AccountingNote0729/WebApplication0809/Default.aspx
|
A6228774/AccountingNote0729
|
6f7860e9d050c204147cd84644284961c25730a9
|
[
"MIT"
] | null | null | null |
AccountingNote0729/WebApplication0809/Default.aspx
|
A6228774/AccountingNote0729
|
6f7860e9d050c204147cd84644284961c25730a9
|
[
"MIT"
] | null | null | null |
AccountingNote0729/WebApplication0809/Default.aspx
|
A6228774/AccountingNote0729
|
6f7860e9d050c204147cd84644284961c25730a9
|
[
"MIT"
] | null | null | null |
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication0809.Default" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
<script>
<%-- var item = <% =this.jsint %>;
var item1 = <% =this.jsint1 %>;
var item2 = <% =this.IsMe ? "true":"false"%>;
var item3 = "<% = this.txt2%>";--%>
var obj = <%= this.stringobj%>
</script>
<script src="js1.js"></script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Button ID="messageboxbtn" runat="server" Text="Button" onclick="messageboxbtn_Click"
onClientclick="excu()"/><br />
<asp:TextBox ID="txtbox1" runat="server" Visible =" false"></asp:TextBox>
<asp:HiddenField ID="HiddenField1" runat="server" />
<asp:HiddenField ID="HiddenField2" runat="server" />
<asp:Label ID="Label1" runat="server" Text="Label">ABCDEFG</asp:Label>
<button type="button" onclick="excu()">Click</button>
<%-- function excu2() {
var hf2 = document.getElementById("HiddenField2");
var val = hf2.value;
alert(val);
}
function excu() {
var lbl = document.getElementById("Label1");
lbl.innerHTML = "HIJKLMNOP";
//var txt = document.getElementById("txtbox1")
//txt.value = "HIJKLMNOP";
var hiddenfield1 = document.getElementById("HiddenField1");
hiddenfield1.value = "QRSTUV";
}--%>
</div>
</form>
</body>
</html>
| 34.690909
| 116
| 0.499476
|
fd22feb6e9fd2c18134ceb78dff91601b0a0abeb
| 2,664
|
aspx
|
ASP
|
MonkeyWrench.Web.UI/EditLaneFile.aspx
|
rolfbjarne/monkeywrench
|
cfc003d591e7e110cdc1d4e78804d05692bc6ba0
|
[
"MIT"
] | null | null | null |
MonkeyWrench.Web.UI/EditLaneFile.aspx
|
rolfbjarne/monkeywrench
|
cfc003d591e7e110cdc1d4e78804d05692bc6ba0
|
[
"MIT"
] | null | null | null |
MonkeyWrench.Web.UI/EditLaneFile.aspx
|
rolfbjarne/monkeywrench
|
cfc003d591e7e110cdc1d4e78804d05692bc6ba0
|
[
"MIT"
] | null | null | null |
<%@ Page MasterPageFile="~/Master.master" Language="C#" AutoEventWireup="true" ValidateRequest="false" Inherits="EditLaneFile" Codebehind="EditLaneFile.aspx.cs" %>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="Server">
<div>
<asp:TextBox ID="txtEditor" runat="server" Height="600px" TextMode="MultiLine" Width="800px"></asp:TextBox>
<br />
<asp:Button ID="cmdSave" runat="server" OnClick="cmdSave_Click" Text="Save" />
<asp:Button ID="cmdCancel" runat="server" OnClick="cmdCancel_Click" Text="Cancel" />
<h5>This file is used by the following lanes:</h5>
<asp:ListBox ID="lstLanes" runat="server"></asp:ListBox>
<h5>
Environment variables set by the builder:</h5>
<pre>
BUILD_REPOSITORY: The svn repository of this lane. (Exactly as configured for the lane, if the lane has multiple svn repositories separated by commas, this variable will have it too).
BUILD_REPOSITORY_0: Each individial repository of BUILD_REPOSITORY (named _0, _1, etc)
BUILD_REPOSITORY_SPACE: Same as BUILD_REPOSITORY, just with space instead of comma separating repositories.
BUILD_DATA_LANE: The directory where this lane puts its data.
BUILD_LANE_MIN_REVISION: The lane's min revision.
BUILD_LANE_MAX_REVISION: The lane's max revision.
BUILD_LANE_COMMIT_FILTER: The lane's commit filter.
BUILD_HOST: The host currently executing.
BUILD_WORK_HOST: The host currently being worked for (this is different from BUILD_HOST if BUILD_HOST has master hosts it's working for).
BUILD_INSTALL: The install directory (typically BUILD_DATA_LANE/BUILD_REVISION/install)
BUILD_REVISION: The revision currently being built.
BUILD_COMMAND: The command currently being executed.
BUILD_LANE: The lane currently being built.
BUILD_SEQUENCE: For parallelizable commands, this is the sequence of the command. For instance:
You have 3 commands which can run in parallel. The first one gets BUILD_SEQUENCE=0,
the second BUILD_SEQUENCE=1, etc.
BUILD_SCRIPT_DIR: The directory the script files for the lane are stored before executing them.
PATH: BUILD_INSTALL/bin:PATH
LD_LIBRARY_PATH BUILD_INSTALL/lib:LD_LIBRARY_PATH
PKG_CONFIG_PATH BUILD_INSTALL/lib/pkgconfig:PKG_CONFIG_PATH
C_INCLUDE_PATH BUILD_INSTALL/include
CPLUS_INCLUDE_PATH BUILD_INSTALL/include
</pre>
<h5>Dependencies</h5>
<pre>Dependencies are downloaded into the directory BUILD_DATA_LANE/BUILD_REVISION/dependencies/[dependent lane]/</pre>
</div>
</asp:Content>
| 63.428571
| 186
| 0.725976
|
d9c17f35042900af81a5ea030c526d9db15c04bf
| 1,627
|
ascx
|
ASP
|
Views/Shared/EditorTemplates/Array.ascx
|
guillaume86/KoobooCMS
|
6cd69dd1b4d4baba23bd904f086de4dcf9d0cbe7
|
[
"MIT"
] | 1
|
2018-05-29T19:35:57.000Z
|
2018-05-29T19:35:57.000Z
|
Views/Shared/EditorTemplates/Array.ascx
|
guillaume86/KoobooCMS
|
6cd69dd1b4d4baba23bd904f086de4dcf9d0cbe7
|
[
"MIT"
] | null | null | null |
Views/Shared/EditorTemplates/Array.ascx
|
guillaume86/KoobooCMS
|
6cd69dd1b4d4baba23bd904f086de4dcf9d0cbe7
|
[
"MIT"
] | null | null | null |
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<object[]>" %>
<%@ Import Namespace="Kooboo.Web.Script.Serialization" %>
<% ViewData.TemplateInfo.HtmlFieldPrefix = ViewData.TemplateInfo.HtmlFieldPrefix.Replace(ViewData.ModelMetadata.PropertyName, "").Trim('.');
var propertyName = ViewData["name"] == null ? ViewData.ModelMetadata.PropertyName : ViewData["name"].ToString();
var guid = Guid.NewGuid();
%>
<tr id="tr-<%:guid %>">
<th>
<label for="<%:ViewData.TemplateInfo.GetFullHtmlFieldId(propertyName) %>">
<%: ViewData.ModelMetadata.GetDisplayName().Localize()%></label>
<% if (!string.IsNullOrEmpty(ViewData.ModelMetadata.Description))
{%>
<a href="#" class="tooltip-link" title="<%: ViewData.ModelMetadata.Description.Localize() %>">
</a>
<%} %>
</th>
<td>
<div id="container-<%:guid %>">
<p id="template-<%:guid %>" class="clearfix"><input type="text" class="<%:ViewData["class"] %>"/><a class="o-icon remove form-action" title="remove" href="#"></a></p>
</div>
<a href="#" id="add-<%:guid %>" class="o-icon add form-action"></a>
</td>
</tr>
<script language="javascript" type="text/javascript">
kooboo.cms.ui.dynamicListInstance({
containerId: 'container-<%:guid %>',
templateId: 'template-<%:guid %>',
addButtonId: 'add-<%:guid %>',
propertyName:'<%=ViewData.TemplateInfo.GetFullHtmlFieldName(propertyName) %>',
data:<%=Model!=null?Model.ToJSON():"[]" %>
});
</script>
| 49.30303
| 176
| 0.586355
|
4771beb6b278a6d9c619097f961c874c5f422924
| 615
|
ascx
|
ASP
|
CMS/CMSAdminControls/UI/System/ErrorMessage.ascx
|
mzhokh/FilterByCategoryWidget
|
c6b83215aea4f4df607d070fe4c772bd96ee6a95
|
[
"MIT"
] | 26
|
2019-02-26T19:44:44.000Z
|
2021-07-19T01:45:37.000Z
|
CMS/CMSAdminControls/UI/System/ErrorMessage.ascx
|
mzhokh/FilterByCategoryWidget
|
c6b83215aea4f4df607d070fe4c772bd96ee6a95
|
[
"MIT"
] | 34
|
2018-12-10T09:30:13.000Z
|
2020-09-02T11:14:12.000Z
|
CMS/CMSAdminControls/UI/System/ErrorMessage.ascx
|
mzhokh/FilterByCategoryWidget
|
c6b83215aea4f4df607d070fe4c772bd96ee6a95
|
[
"MIT"
] | 50
|
2018-12-06T17:32:43.000Z
|
2021-11-04T09:48:07.000Z
|
<%@ Control Language="C#" AutoEventWireup="true"
Inherits="CMSAdminControls_UI_System_ErrorMessage" Codebehind="ErrorMessage.ascx.cs" %>
<%@ Register src="~/CMSAdminControls/UI/PageElements/PageTitle.ascx" tagname="PageTitle" tagprefix="cms" %>
<div class="PageBody">
<asp:Panel runat="server" ID="pnlTitle" CssClass="PageHeader">
<cms:PageTitle ID="ptTitle" runat="server" />
</asp:Panel>
<asp:Panel ID="PanelContent" runat="server" CssClass="PageContent">
<asp:Label ID="lblMessage" runat="server" CssClass="ErrorLabel" />
</asp:Panel>
</div>
| 51.25
| 107
| 0.661789
|
4bb5d996588add6f7beb9dd598cb981ec15747f2
| 487
|
ascx
|
ASP
|
src/TrueOrFalse.Frontend.Web/Views/Shared/Cards/CardTutory.ascx
|
memucho/webapp
|
96a919d8298bb7ac282bac32692c443f9a98fceb
|
[
"MIT"
] | 4
|
2021-09-09T15:32:23.000Z
|
2022-01-03T11:52:54.000Z
|
src/TrueOrFalse.Frontend.Web/Views/Shared/Cards/CardTutory.ascx
|
memucho/webapp
|
96a919d8298bb7ac282bac32692c443f9a98fceb
|
[
"MIT"
] | 214
|
2019-11-14T14:10:06.000Z
|
2022-03-30T21:32:09.000Z
|
src/TrueOrFalse.Frontend.Web/Views/Shared/Cards/CardTutory.ascx
|
memucho/webapp
|
96a919d8298bb7ac282bac32692c443f9a98fceb
|
[
"MIT"
] | null | null | null |
<%@ Import Namespace="TrueOrFalse.Frontend.Web.Code" %>
<div class="well">
<div class="img-logo">
<a href="<%= Links.Tutory %>" target="_blank">
<img src="<%= Links.TutoryImage %>" alt="tutory.de"/>
</a>
</div>
<div class="text-sponsor">
<span>Freier Bildungsinhalt - mit Unterstützung von <a href="<%= Links.Tutory %>">tutory.de</a><i class="fa fa-info-circle" style="font-size: 120%; margin-left: 0.5em;"></i></span>
</div>
</div>
| 37.461538
| 188
| 0.577002
|
1cdba201236e3db9696f64b68143165e45f4814a
| 1,296
|
ascx
|
ASP
|
src/CMS/CMSModules/MediaLibrary/FormControls/Cloning/Media_LibrarySettings.ascx
|
Kentico/xperience-module-intercom
|
7c8236fa3ad66ba4687dc4ed0ef3e15b7c32b88c
|
[
"MIT"
] | 1
|
2021-02-22T08:29:02.000Z
|
2021-02-22T08:29:02.000Z
|
src/CMS/CMSModules/MediaLibrary/FormControls/Cloning/Media_LibrarySettings.ascx
|
Kentico/xperience-module-intercom
|
7c8236fa3ad66ba4687dc4ed0ef3e15b7c32b88c
|
[
"MIT"
] | 6
|
2019-12-03T17:26:30.000Z
|
2020-03-09T00:05:04.000Z
|
src/CMS/CMSModules/MediaLibrary/FormControls/Cloning/Media_LibrarySettings.ascx
|
Kentico/xperience-module-intercom
|
7c8236fa3ad66ba4687dc4ed0ef3e15b7c32b88c
|
[
"MIT"
] | 3
|
2019-12-04T15:23:44.000Z
|
2020-04-06T17:26:16.000Z
|
<%@ Control Language="C#" AutoEventWireup="true" Codebehind="Media_LibrarySettings.ascx.cs"
Inherits="CMSModules_MediaLibrary_FormControls_Cloning_Media_LibrarySettings" %>
<div class="form-horizontal">
<div class="form-group">
<div class="editing-form-label-cell">
<cms:LocalizedLabel CssClass="control-label" runat="server" ID="lblFolderName" ResourceString="clonning.settings.medialibrary.foldername"
EnableViewState="false" DisplayColon="true" AssociatedControlID="txtFolderName" />
</div>
<div class="editing-form-value-cell">
<cms:CMSTextBox runat="server" ID="txtFolderName" />
</div>
</div>
<asp:PlaceHolder runat="server" ID="plcFiles">
<div class="form-group">
<div class="editing-form-label-cell">
<cms:LocalizedLabel CssClass="control-label" runat="server" ID="lblFiles" ResourceString="clonning.settings.medialibrary.files"
EnableViewState="false" DisplayColon="true" AssociatedControlID="chkFiles" />
</div>
<div class="editing-form-value-cell">
<cms:CMSCheckBox runat="server" ID="chkFiles" Checked="true" />
</div>
</div>
</asp:PlaceHolder>
</div>
| 54
| 150
| 0.632716
|
5fb8a580e5fe3796963076dfd29151e034aec054
| 334
|
aspx
|
ASP
|
src/Backup/Nucleo.OnlineTests/default.aspx
|
brianmains/Nucleo.NET
|
4ace48e2cd9fa02c490efcc8ebcaa6d627e69de8
|
[
"MIT"
] | 2
|
2017-06-27T08:55:17.000Z
|
2019-09-24T15:04:49.000Z
|
src/Nucleo.OnlineTests/default.aspx
|
brianmains/Nucleo.NET
|
4ace48e2cd9fa02c490efcc8ebcaa6d627e69de8
|
[
"MIT"
] | null | null | null |
src/Nucleo.OnlineTests/default.aspx
|
brianmains/Nucleo.NET
|
4ace48e2cd9fa02c490efcc8ebcaa6d627e69de8
|
[
"MIT"
] | null | null | null |
<%@ Page Language="C#" MasterPageFile="~/site.master" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="Nucleo.DefaultPage" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">
</asp:Content>
| 55.666667
| 161
| 0.751497
|
eb66bc38edaea2d69047ebb16e4777c76f5a25c3
| 8,258
|
aspx
|
ASP
|
FloCard/FloCard/FloCardOld.aspx
|
adreno-abhi/FloCard
|
68c1e92b5a7b4805f994ab471c1ff9987a478a2c
|
[
"MIT"
] | 2
|
2019-09-03T07:52:32.000Z
|
2021-06-01T07:59:44.000Z
|
FloCard/FloCard/FloCardOld.aspx
|
adreno-abhi/FloCard
|
68c1e92b5a7b4805f994ab471c1ff9987a478a2c
|
[
"MIT"
] | null | null | null |
FloCard/FloCard/FloCardOld.aspx
|
adreno-abhi/FloCard
|
68c1e92b5a7b4805f994ab471c1ff9987a478a2c
|
[
"MIT"
] | null | null | null |
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FloCardOld.aspx.cs" Inherits="FloCard.FloCardOld" %>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="apple-touch-icon" sizes="76x76" href="assets/img/apple-icon.png">
<link rel="icon" type="image/png" href="assets/img/favicon.png">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>FloCard
</title>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no' name='viewport' />
<!-- Fonts and icons -->
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Slab:400,700|Material+Icons" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css">
<!-- CSS Files -->
<link href="assets/css/material-kit.css?v=2.0.4" rel="stylesheet" />
<!-- CSS Just for demo purpose, don't include it in your project -->
<link href="assets/demo/demo.css" rel="stylesheet" />
</head>
<body class="login-page sidebar-collapse">
<form class="form" runat="server">
<nav class="navbar navbar-transparent navbar-color-on-scroll fixed-top navbar-expand-lg" color-on-scroll="100" id="sectionsNav">
<div class="container">
<div class="navbar-translate">
<a class="navbar-brand" href="#">
<img src="assets/img/logo-black.png" height="50" />
FloCard (Alpha) </a>
</div>
</div>
</nav>
<div class="page-header header-filter" style="background-image: url('assets/img/img.jpg'); background-size: cover; background-position: top center;">
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-8 ml-auto mr-auto text-center">
<div class="card" id="floDataDiv">
<div class="card-body">
<div class="row">
<div class="col-lg-4 col-md-4 ml-auto mr-auto text-center">
<img src="" id="usrImg" runat="server" height="200">
</div>
<div class="col-lg-8 col-md-8 ml-auto mr-auto text-center">
<h5 class="title"><a href="<%=linkedin %>" title="View Linkedin Profile"><%=name %></a></h5>
<h5><%=heading %></h5>
<h5><%=email %></h5>
<h5><%=phone %></h5>
<a href="<%=linkedin %>" target="_blank" title="View Linkedin Profile">
<img src="assets/img/linkedin-social-media-logo-7.png" width="50"></a>
<a href="<%=flo_tx_url %>" target="_blank" title="View This Transaction on FLO Blockchain Explorer">
<img src="assets/img/FLO_teal.png" width="50"></a>
<%--<div class="input-group">
<h4>Abhijeet Das Gupta</h4>
</div>
<div class="input-group">
<h4>Technology Solutions Specialist at 366Pi Technologies</h4>
</div>
<div class="input-group">
<h4>[email protected]</h4>
</div>
<div class="input-group">
<h4>(+91) - 9876543210</h4>
</div>--%>
</div>
</div>
</div>
<%--<div class="footer text-center">
<a href="#" class="btn btn-linkedin btn-raised" style="padding-bottom: 10px;" id="btnSubmit" runat="server" onserverclick="btnSubmit_Click">Create FloCard
</a>
</div>--%>
</div>
<asp:HiddenField ID="flocardData" runat="server" />
<asp:Button ID="btnExportCard" Text="Export to Image" CssClass="btn btn-linkedin" runat="server" UseSubmitBehavior="false"
OnClick="ExportCardToImage" OnClientClick="return ConvertCardToImage(this)" />
</div>
<div class="col-lg-4 col-md-4 ml-auto mr-auto text-center">
<div class="card" id="qrDataDiv">
<div class="card-body">
<img src="" id="imgQr" runat="server" height="210">
<h5>QR Code to Share FloCard</h5>
</div>
</div>
<%-- <asp:HiddenField ID="qrData" runat="server" />
<asp:Button ID="btnQr" runat="server" Text="Doqnload as Image" CssClass="btn btn-linkedin" UseSubmitBehavior="false"
OnClick="ExportQRToImage" OnClientClick="return ConvertQRToImage(this)" />--%>
<asp:HiddenField ID="qrData" runat="server" />
<asp:Button ID="btnExportQR" Text="Export to Image" CssClass="btn btn-linkedin" runat="server" UseSubmitBehavior="false"
OnClick="ExportQRToImage" OnClientClick="return ConvertQRToImage(this)" />
</div>
</div>
</div>
<footer class="footer">
<div class="container">
<div class="copyright float-right">
©
<script>
document.write(new Date().getFullYear())
</script>
,
<a href="http://366pi.tech/" target="_blank">366Pi Technologies</a>
</div>
</div>
</footer>
</div>
<!-- Core JS Files -->
<script src="assets/js/core/jquery.min.js" type="text/javascript"></script>
<script src="assets/js/core/popper.min.js" type="text/javascript"></script>
<script src="assets/js/core/bootstrap-material-design.min.js" type="text/javascript"></script>
<script src="assets/js/plugins/moment.min.js"></script>
<!-- Plugin for the Datepicker, full documentation here: https://github.com/Eonasdan/bootstrap-datetimepicker -->
<script src="assets/js/plugins/bootstrap-datetimepicker.js" type="text/javascript"></script>
<!-- Plugin for the Sliders, full documentation here: http://refreshless.com/nouislider/ -->
<script src="assets/js/plugins/nouislider.min.js" type="text/javascript"></script>
<!-- Plugin for Sharrre btn -->
<script src="assets/js/plugins/jquery.sharrre.js" type="text/javascript"></script>
<!-- Control Center for Material Kit: parallax effects, scripts for the example pages etc -->
<script src="assets/js/material-kit.js?v=2.0.4" type="text/javascript"></script>
<script src="assets/js/jquery.nicescroll.min.js" type="text/javascript"></script>
<script type="text/javascript" src="assets/js/html2canvas.js"></script>
<script>
$("body").niceScroll();
</script>
<script type="text/javascript">
function ConvertCardToImage(btnExportCard) {
html2canvas($("#floDataDiv")[0]).then(function (canvas) {
var base64 = canvas.toDataURL();
$("[id*=flocardData]").val(base64);
__doPostBack(btnExportCard.name, "");
});
return false;
}
function ConvertQRToImage(btnExportQR) {
html2canvas($("#qrDataDiv")[0]).then(function (canvas) {
var base64 = canvas.toDataURL();
$("[id*=qrData]").val(base64);
__doPostBack(btnExportQR.name, "");
});
return false;
}
</script>
</form>
</body>
</html>
| 49.449102
| 186
| 0.502664
|
e6503ff3870dad25419c68c640adfbd18e175e73
| 9,032
|
ascx
|
ASP
|
DesktopModules/TrainingCoreBanking/BankProject/FTTeller/OutwardTransferByCash_Enquiry.ascx
|
nguyenppt/pubteller1
|
dc05633d897c07920cbde5fb3f7d4d5975af08c8
|
[
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null |
DesktopModules/TrainingCoreBanking/BankProject/FTTeller/OutwardTransferByCash_Enquiry.ascx
|
nguyenppt/pubteller1
|
dc05633d897c07920cbde5fb3f7d4d5975af08c8
|
[
"Apache-2.0",
"BSD-3-Clause"
] | 1
|
2016-11-19T03:09:46.000Z
|
2016-11-19T03:09:46.000Z
|
DesktopModules/TrainingCoreBanking/BankProject/FTTeller/OutwardTransferByCash_Enquiry.ascx
|
nguyenppt/pubteller1
|
dc05633d897c07920cbde5fb3f7d4d5975af08c8
|
[
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null |
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="OutwardTransferByCash_Enquiry.ascx.cs" Inherits="BankProject.FTTeller.OutwardTransferByCash_Enquiry" %>
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true"> </telerik:RadWindowManager>
<%@ register Assembly="Telerik.Web.Ui" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<telerik:RadWindowManager id="RadWindowManager2" runat="server" EnableShadow="true" />
<telerik:RadToolBar runat="server" ID="RadToolBar2" EnableRoundedCorners="true" EnableShadows="true" width="100%" OnbuttonClick="radtoolbar2_onbuttonclick">
<Items>
<telerik:RadToolBarButton ImageUrl="~/Icons/bank/commit.png" ValidationGroup="Commit"
ToolTip="Commit Data" Value="btCommit" CommandName="commit">
</telerik:RadToolBarButton>
<telerik:RadToolBarButton ImageUrl="~/Icons/bank/preview.png"
ToolTip="Preview" Value="btPreview" CommandName="review">
</telerik:RadToolBarButton>
<telerik:RadToolBarButton ImageUrl="~/Icons/bank/authorize.png"
ToolTip="Authorize" Value="btAuthorize" CommandName="authorize">
</telerik:RadToolBarButton>
<telerik:RadToolBarButton ImageUrl="~/Icons/bank/reverse.png"
ToolTip="Revert" Value="btReverse" CommandName="revert">
</telerik:RadToolBarButton>
<telerik:RadToolBarButton ImageUrl="~/Icons/bank/search.png"
ToolTip="Search" Value="btSearch" CommandName="search">
</telerik:RadToolBarButton>
<telerik:RadToolBarButton ImageUrl="~/Icons/bank/print.png"
ToolTip="Print Deal Slip" Value="btPrint" CommandName="print">
</telerik:RadToolBarButton>
</Items>
</telerik:RadToolBar>
<div style="padding:10px;">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="MyLable">Product ID:</td>
<td class="MyContent" width="320">
<telerik:RadComboBox ID="rcbProductID" runat="server" AllowCustomText="false"
MarkFirstMatch="true" ValidationGroup="Group1"
onSelectedIndexChanged="rcbPaymentType_onSelectedIndexChanged" AutoPostBack="True"
AppendDataBoundItems="true" width="270" >
<Items>
<telerik:RadComboBoxItem Value="" Text="" />
<telerik:RadComboBoxItem Value="1000" Text="1000 - Điện CMND" />
<telerik:RadComboBoxItem Value="3000" Text="3000 - Chuyển đi thanh toán CI-TAD" />
</Items>
</telerik:RadComboBox>
</td>
<td class="MyLable">Transaction Type</td>
<td class="MyContent">
<telerik:RadComboBox AppendDataBoundItems="True"
ID="rcbTransactionType" runat="server"
MarkFirstMatch="True"
AllowCustomText="false">
<ExpandAnimation Type="None" />
<CollapseAnimation Type="None" />
<Items>
<telerik:RadComboBoxItem Value="Cash" Text="Transfer by Cash" />
<telerik:RadComboBoxItem Value="Account" Text="Transfer by Account" />
</Items>
</telerik:RadComboBox>
</td>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="MyLable">Sending Name:</td>
<td class="MyContent" width="320"> <telerik:radtextbox runat="server" id="tbSendingName" ValidationGroup="Group1" width="270"/>
</td>
<td class="MyLable">Receving Legal ID:</td>
<td class="MyContent">
<telerik:radTextBox id="tbLegalID" runat="server" width="340" />
</td>
</tr>
<tr>
<td class="MyLable">ReceivingName</td>
<td class="MyContent">
<telerik:RadTextBox id="tbReceivingName" runat="server" width="270"/>
</td>
<td class="MyLable">Ben Account</td>
<td class="MyContent">
<telerik:RadTextBox id="tbBenAccount" runat="server" width="340"/>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="MyLable">Reference ID:</td>
<td class="MyContent" >
<telerik:radtextbox id="tbID" runat="server" validationGroup="Group1" ></telerik:radtextbox>
</td>
<td class="MyLable" >Ben Com:</td>
<td class="MyContent" >
<telerik:RadComboBox ID="rcbBenCom" runat="server" AllowCustomText="false"
MarkFirstMatch="true" ValidationGroup="Group1"
AppendDataBoundItems="true" >
</telerik:RadComboBox>
</td>
<td class="MyLable">Currency:</td>
<td class="MyContent">
<telerik:RadComboBox ID="rcbCurrency" runat="server" AllowCustomText="false"
MarkFirstMatch="true" ValidationGroup="Group1"
AppendDataBoundItems="true" >
</telerik:RadComboBox>
</td>
</tr> </table>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="MyLable">Amount:</td>
<td class="MyContent" style="visibility:hidden;">
<telerik:radTextBox id="RadTextBox2" runat="server" />
</td>
<td class="MyLable">From:</td>
<td class="MyContent">
<telerik:radnumericTextBox id="tbFromAmt" runat="server" />
</td>
<td class="MyLable">To:</td>
<td class="MyContent">
<telerik:radnumericTextBox id="tbToAmt" runat="server" />
</td>
</tr>
</table>
</div>
<div>
<telerik:RadGrid id="RadGridView" runat="server" AllowPaging="true" AutoGenerateColumns="false"
OnNeedDataSource="RadGrid1_OnNeedDataSource" >
<MasterTableView>
<Columns>
<telerik:GridBoundColumn HeaderText="ID" DataField="ID" HeaderStyle-Width="50" HeaderStyle-HorizontalAlign="Center" />
<telerik:GridBoundColumn HeaderText="Product Name" DataField="ProductName" HeaderStyle-Width="100" />
<telerik:GridBoundColumn HeaderText="Sending Name" DataField="SendingName" HeaderStyle-Width="110" />
<telerik:GridBoundColumn HeaderText="Receiving Name" DataField="ReceivingName" HeaderStyle-Width="110" />
<telerik:GridBoundColumn HeaderText="Currency" DataField="Currency" HeaderStyle-Width="50" />
<telerik:GridBoundColumn HeaderText="Amount" DataField="Amount" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="right" HeaderStyle-Width="100" DataType="System.Decimal" DataFormatString="{0:N}" />
<telerik:GridBoundColumn HeaderText="Charge Amt" DataField="ChargeAmount" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="right" HeaderStyle-Width="100" DataType="System.Decimal" DataFormatString="{0:N}" />
<telerik:GridBoundColumn HeaderText="Charge Vat Amt" DataField="VATChargeAmount" ItemStyle-HorizontalAlign="Right" HeaderStyle-HorizontalAlign="right" HeaderStyle-Width="100" DataType="System.Decimal" DataFormatString="{0:N}" />
<telerik:GridBoundColumn HeaderText="Status" DataField="Status" HeaderStyle-Width="10%" ItemStyle-HorizontalAlign="center" HeaderStyle-HorizontalAlign="center"/>
<telerik:GridTemplateColumn>
<ItemStyle Width="25" />
<ItemTemplate>
<a href='<%# geturlReview(Eval("ID").ToString(),Eval("TransactionType").ToString()) %>'><img src="Icons/bank/text_preview.png" alt="" title="" style="" width="20" /> </a>
</itemtemplate>
</telerik:GridTemplateColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
</div>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
DefaultLoadingPanelID="AjaxLoadingPanel1" >
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="rcbProductID">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="tbReceivingName" />
<telerik:AjaxUpdatedControl ControlID="tbBenAccount" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
| 57.897436
| 242
| 0.573849
|
a88bf8749be6110f73b48baea2b642d36acbeec9
| 19,261
|
ashx
|
ASP
|
public/DesktopModules/ArticleCS/RSS33d1.ashx
|
strangerAshik/TecnologiaNova
|
b05d4f12868637ab99e2a71355e8487ec84cad21
|
[
"MIT"
] | null | null | null |
public/DesktopModules/ArticleCS/RSS33d1.ashx
|
strangerAshik/TecnologiaNova
|
b05d4f12868637ab99e2a71355e8487ec84cad21
|
[
"MIT"
] | null | null | null |
public/DesktopModules/ArticleCS/RSS33d1.ashx
|
strangerAshik/TecnologiaNova
|
b05d4f12868637ab99e2a71355e8487ec84cad21
|
[
"MIT"
] | null | null | null |
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cf="http://www.microsoft.com/schemas/rss/core/2005" ><channel>
<title>Air Force Link News</title>
<link>http://www.af.mil</link>
<description>Air Force Link News RSS Feed</description>
<language>en-us</language>
<pubDate>Sun, 17 Jan 2016 08:24:11 GMT</pubDate>
<lastBuildDate>Sun, 17 Jan 2016 08:24:11 GMT</lastBuildDate>
<atom:link href="http://www.af.mil/DesktopModules/ArticleCS/RSS.ashx?ContentType=1&Site=1&Category=763&max=20" rel="self" type="application/rss+xml" />
<item>
<title>CSAF, CMSAF bring message of thanks to deployed Airmen</title>
<link>http://www.af.mil/News/ArticleDisplay/tabid/223/Article/634037/csaf-cmsaf-bring-message-of-thanks-to-deployed-airmen.aspx</link>
<description>Air Force Chief of Staff Gen. Mark A. Welsh III and Chief Master Sgt. of the Air Force James A. Cody visited Airmen in Jordan, Kuwait, Iraq and Qatar from Dec 8-11.<br/>
<img src='http://media.defense.gov/2015/Dec/14/2001325012/82/55/0/151211-F-YM354-021.JPG' /> <br />
</description>
<pubDate>Mon, 14 Dec 2015 15:46:00 GMT</pubDate>
<dc:creator>Tech. Sgt. James Hodgman</dc:creator>
<guid isPermaLink="false">http://www.af.mil/News/ArticleDisplay/tabid/223/Article/634037/csaf-cmsaf-bring-message-of-thanks-to-deployed-airmen.aspx</guid>
<enclosure url="http://media.defense.gov/2015/Dec/14/2001325012/670/394/0/151211-F-YM354-021.JPG" length="52428" type="image/jpeg"/>
</item>
<item>
<title>AF leaders release Veterans Day message</title>
<link>http://www.af.mil/News/ArticleDisplay/tabid/223/Article/628299/af-leaders-release-veterans-day-message.aspx</link>
<description>Secretary of the Air Force Deborah Lee James, Air Force Chief of Staff Gen. Mark A. Welsh III and Chief Master Sgt. of the Air Force James A. Cody have issued a Veterans Day message to Airmen. <br/>
<img src='http://media.defense.gov/2015/Nov/09/2001316464/82/55/0/151109-F-XXXXX-001.JPG' /> <br />
</description>
<pubDate>Mon, 09 Nov 2015 19:22:00 GMT</pubDate>
<dc:creator>Sean.Kimmons</dc:creator>
<guid isPermaLink="false">http://www.af.mil/News/ArticleDisplay/tabid/223/Article/628299/af-leaders-release-veterans-day-message.aspx</guid>
<enclosure url="http://media.defense.gov/2015/Nov/09/2001316464/670/394/0/151109-F-XXXXX-001.JPG" length="31457" type="image/jpeg"/>
</item>
<item>
<title>Air Force releases new SAPR strategy</title>
<link>http://www.af.mil/News/ArticleDisplay/tabid/223/Article/626047/air-force-releases-new-sapr-strategy.aspx</link>
<description>Air Force leaders released a five-year Sexual Assault Prevention and Response Strategy that will guide the Air Force in developing a robust prevention model while continually honing response capabilities today.<br/>
</description>
<pubDate>Tue, 27 Oct 2015 16:04:00 GMT</pubDate>
<dc:creator>Sean.Kimmons</dc:creator>
<guid isPermaLink="false">http://www.af.mil/News/ArticleDisplay/tabid/223/Article/626047/air-force-releases-new-sapr-strategy.aspx</guid>
</item>
<item>
<title>Welsh, Cody visit Hurlburt Field </title>
<link>http://www.af.mil/News/ArticleDisplay/tabid/223/Article/621423/welsh-cody-visit-hurlburt-field.aspx</link>
<description>Air Force Chief of Staff Gen. Mark A. Welsh III and Chief Master Sgt. of the Air Force James A. Cody visited thousands of Air Commandos Sept. 28-30.<br/>
<img src='http://media.defense.gov/2015/Sep/30/2001295884/82/55/0/150930-F-ZT531-173.JPG' /> <br />
</description>
<pubDate>Thu, 01 Oct 2015 18:34:00 GMT</pubDate>
<dc:creator>Staff Sgt. Melanie Holochwost</dc:creator>
<guid isPermaLink="false">http://www.af.mil/News/ArticleDisplay/tabid/223/Article/621423/welsh-cody-visit-hurlburt-field.aspx</guid>
<enclosure url="http://media.defense.gov/2015/Sep/30/2001295884/670/394/0/150930-F-ZT531-173.JPG" length="41943" type="image/jpeg"/>
</item>
<item>
<title>AF senior leaders host suicide prevention summit</title>
<link>http://www.af.mil/News/ArticleDisplay/tabid/223/Article/621031/af-senior-leaders-host-suicide-prevention-summit.aspx</link>
<description>Subject matter experts of mental and behavioral health, community support and Airmen across ranks and career fields gathered to discuss resiliency and suicide prevention at Joint Base Andrews from Sept. 22-25.<br/>
<img src='http://media.defense.gov/2015/Sep/29/2001295473/82/55/0/150924-F-JA180-027.JPG' /> <br />
</description>
<pubDate>Tue, 29 Sep 2015 19:50:47 GMT</pubDate>
<dc:creator>Tech. Sgt. Torri Hendrix</dc:creator>
<guid isPermaLink="false">http://www.af.mil/News/ArticleDisplay/tabid/223/Article/621031/af-senior-leaders-host-suicide-prevention-summit.aspx</guid>
<enclosure url="http://media.defense.gov/2015/Sep/29/2001295473/670/394/0/150924-F-JA180-027.JPG" length="41943" type="image/jpeg"/>
</item>
<item>
<title>Chief chats about volunteerism, promotions, millennial Airmen </title>
<link>http://www.af.mil/News/ArticleDisplay/tabid/223/Article/617491/chief-chats-about-volunteerism-promotions-millennial-airmen.aspx</link>
<description>As the Air Force Association’s Air and Space Conference and Technology Exposition 2015 in Washington D.C., draws to a close, the Air Force’s top enlisted leader held a candid Q-and-A session to address issues of interest to the enlisted force Sept. 16.
<br/>
<img src='http://media.defense.gov/2015/Sep/16/2001290767/82/55/0/150916-F-JA180-150.JPG' /> <br />
</description>
<pubDate>Wed, 16 Sep 2015 22:26:00 GMT</pubDate>
<dc:creator>Master Sgt. Amaani Lyle</dc:creator>
<guid isPermaLink="false">http://www.af.mil/News/ArticleDisplay/tabid/223/Article/617491/chief-chats-about-volunteerism-promotions-millennial-airmen.aspx</guid>
<enclosure url="http://media.defense.gov/2015/Sep/16/2001290767/670/394/0/150916-F-JA180-150.JPG" length="20971" type="image/jpeg"/>
</item>
<item>
<title>Air Force’s top Airman honored by enlisted force</title>
<link>http://www.af.mil/News/ArticleDisplay/tabid/223/Article/617475/air-forces-top-airman-honored-by-enlisted-force.aspx</link>
<description>In a historical event, the Air Force’s top enlisted leader honored the service’s top general with an invitation to an Order of the Sword ceremony during the Air Force Association’s Air and Space Conference and Technology Exposition Sept. 16.
Chief Master Sgt. of the Air Force James A. Cody, who is the trusted keeper of the Air Force Master Sword, thanked Air Force Chief of Staff Gen. Mark A. Welsh III for his exceptional service as a leader and for his significant care of the enlisted corps.
<br/>
<img src='http://media.defense.gov/2015/Sep/16/2001290744/82/55/0/150916-F-EK235-353.JPG' /> <br />
</description>
<pubDate>Wed, 16 Sep 2015 20:59:00 GMT</pubDate>
<dc:creator>Tech. Sgt. Torri Hendrix</dc:creator>
<guid isPermaLink="false">http://www.af.mil/News/ArticleDisplay/tabid/223/Article/617475/air-forces-top-airman-honored-by-enlisted-force.aspx</guid>
<enclosure url="http://media.defense.gov/2015/Sep/16/2001290744/670/394/0/150916-F-EK235-353.JPG" length="31457" type="image/jpeg"/>
</item>
<item>
<title>CSAF speaks about CMSAF role</title>
<link>http://www.af.mil/News/ArticleDisplay/tabid/223/Article/615328/csaf-speaks-about-cmsaf-role.aspx</link>
<description>Air Force Chief of Staff Gen. Mark A. Welsh III addressed Airmen about the importance of leadership during the 2015 Air Force Sergeants Association Professional Airmen's Conference in San Antonio Aug. 26. <br/>
</description>
<pubDate>Sun, 30 Aug 2015 18:25:59 GMT</pubDate>
<dc:creator>Senior Airman Taylor Curry</dc:creator>
<guid isPermaLink="false">http://www.af.mil/News/ArticleDisplay/tabid/223/Article/615328/csaf-speaks-about-cmsaf-role.aspx</guid>
</item>
<item>
<title>SecAF, CSAF, CMSAF present new "little blue book"</title>
<link>http://www.af.mil/News/ArticleDisplay/tabid/223/Article/615117/secaf-csaf-cmsaf-present-new-little-blue-book.aspx</link>
<description>Secretary of the Air Force Deborah Lee James, Air Force Chief of Staff Gen. Mark A. Welsh III and Chief Master Sgt. of the Air Force James A. Cody delivered the initial handout of the pamphlet, “America’s Air Force: A Profession of Arms,” Aug. 27 to the Air Force’s newest Airmen at Airmen’s Week.
<br/>
<img src='http://media.defense.gov/2015/Aug/27/2001276219/82/55/0/150827-F-YQ806-308.JPG' /> <br />
</description>
<pubDate>Thu, 27 Aug 2015 22:02:00 GMT</pubDate>
<dc:creator>Christopher Gross</dc:creator>
<guid isPermaLink="false">http://www.af.mil/News/ArticleDisplay/tabid/223/Article/615117/secaf-csaf-cmsaf-present-new-little-blue-book.aspx</guid>
<enclosure url="http://media.defense.gov/2015/Aug/27/2001276219/670/394/0/150827-F-YQ806-308.JPG" length="52428" type="image/jpeg"/>
</item>
<item>
<title>Roll Call: 'This is your Air Force'</title>
<link>http://www.af.mil/News/ArticleDisplay/tabid/223/Article/611811/roll-call-this-is-your-air-force.aspx</link>
<description>The Air Force senior enlisted Airman released the latest installment of Roll Call, urging Airmen to follow the example of the ninth Chief Master Sgt. of the Air Force James Binnicker, who passed away March 21. Binnicker will be laid to rest Aug. 14 at Arlington National Cemetery, Virginia. <br/>
<img src='http://media.defense.gov/2014/Feb/18/2000780223/82/55/0/140127-F-PA987-003.JPG' /> <br />
</description>
<pubDate>Mon, 03 Aug 2015 14:00:00 GMT</pubDate>
<dc:creator>Christopher Gross</dc:creator>
<guid isPermaLink="false">http://www.af.mil/News/ArticleDisplay/tabid/223/Article/611811/roll-call-this-is-your-air-force.aspx</guid>
<enclosure url="http://media.defense.gov/2014/Feb/18/2000780223/670/394/0/140127-F-PA987-003.JPG" length="660602" type="image/jpeg"/>
</item>
<item>
<title>Cody touts 'One Air Force' during ANG enlisted call</title>
<link>http://www.af.mil/News/ArticleDisplay/tabid/223/Article/611360/cody-touts-one-air-force-during-ang-enlisted-call.aspx</link>
<description>Chief Master Sgt. of the Air Force James A. Cody shared his thoughts on the future of the force with Airmen from the Air National Guard during an enlisted call July 23 at Joint Base Andrews.<br/>
<img src='http://media.defense.gov/2015/Jul/29/2001265233/82/55/0/150723-Z-RK459-001.JPG' /> <br />
</description>
<pubDate>Wed, 29 Jul 2015 16:51:01 GMT</pubDate>
<dc:creator>Master Sgt. Marvin R. Preston</dc:creator>
<guid isPermaLink="false">http://www.af.mil/News/ArticleDisplay/tabid/223/Article/611360/cody-touts-one-air-force-during-ang-enlisted-call.aspx</guid>
<enclosure url="http://media.defense.gov/2015/Jul/29/2001265233/670/394/0/150723-Z-RK459-001.JPG" length="52428" type="image/jpeg"/>
</item>
<item>
<title>CHIEFchat: Cody addresses new EPR form, Course 15</title>
<link>http://www.af.mil/News/ArticleDisplay/tabid/223/Article/610713/chiefchat-cody-addresses-new-epr-form-course-15.aspx</link>
<description>Chief Master Sgt. of the Air Force James A. Cody addressed several topics during his latest CHIEFchat, including the new enlisted performance report and Course 15, at the Defense Media Activity on Fort George G. Meade, Maryland.<br/>
</description>
<pubDate>Thu, 23 Jul 2015 14:35:00 GMT</pubDate>
<dc:creator>Staff Sgt. Chris Gross</dc:creator>
<guid isPermaLink="false">http://www.af.mil/News/ArticleDisplay/tabid/223/Article/610713/chiefchat-cody-addresses-new-epr-form-course-15.aspx</guid>
</item>
<item>
<title>Retired CMSAF Gaylor engages with Airmen</title>
<link>http://www.af.mil/News/ArticleDisplay/tabid/223/Article/610255/retired-cmsaf-gaylor-engages-with-airmen.aspx</link>
<description>Retired Chief Master Sgt. of the Air Force Robert Gaylor visited and connected with Vandenberg Air Force Base members from around base July 16. <br/>
<img src='http://media.defense.gov/2015/Jul/20/2001262459/82/55/0/150716-F-HH416-001.JPG' /> <br />
</description>
<pubDate>Mon, 20 Jul 2015 18:10:50 GMT</pubDate>
<dc:creator>Airman 1st Class Ian Dudley</dc:creator>
<guid isPermaLink="false">http://www.af.mil/News/ArticleDisplay/tabid/223/Article/610255/retired-cmsaf-gaylor-engages-with-airmen.aspx</guid>
<enclosure url="http://media.defense.gov/2015/Jul/20/2001262459/670/394/0/150716-F-HH416-001.JPG" length="31457" type="image/jpeg"/>
</item>
<item>
<title>CMSAF, Airmen display resiliency on Mt. Fuji</title>
<link>http://www.af.mil/News/ArticleDisplay/tabid/223/Article/608777/cmsaf-airmen-display-resiliency-on-mt-fuji.aspx</link>
<description>Airmen from Yokota Air Base, Japan, tested many of the Comprehensive Airman Fitness pillars as they climbed Japan's tallest mountain on July 11. To reach the summit of Mount Fuji, hikers had to climb over 5,000 feet, starting at the fifth station at an altitude of 7,562 feet, and ending at the summit at an altitude of 12,389 feet. They were also joined by Chief Master Sgt. of the Air Force James A. Cody.<br/>
<img src='http://media.defense.gov/2015/Jul/15/2001257934/82/55/0/150711-F-RA202-080.JPG' /> <br />
</description>
<pubDate>Wed, 15 Jul 2015 20:16:50 GMT</pubDate>
<dc:creator>Tech. Sgt. Christopher Marasky</dc:creator>
<guid isPermaLink="false">http://www.af.mil/News/ArticleDisplay/tabid/223/Article/608777/cmsaf-airmen-display-resiliency-on-mt-fuji.aspx</guid>
<enclosure url="http://media.defense.gov/2015/Jul/15/2001257934/670/394/0/150711-F-RA202-080.JPG" length="73400" type="image/jpeg"/>
</item>
<item>
<title>CMSAF visits Kadena</title>
<link>http://www.af.mil/News/ArticleDisplay/tabid/223/Article/607619/cmsaf-visits-kadena.aspx</link>
<description>Airmen were not short on questions during Chief Master Sgt. of the Air Force James A. Cody's visit to Kadena Air Base July 5-8.<br/>
<img src='http://media.defense.gov/2015/Jul/07/2001253997/82/55/0/150707-F-GR156-009.JPG' /> <br />
</description>
<pubDate>Tue, 07 Jul 2015 21:17:00 GMT</pubDate>
<dc:creator>Senior Airman Omari Bernard</dc:creator>
<guid isPermaLink="false">http://www.af.mil/News/ArticleDisplay/tabid/223/Article/607619/cmsaf-visits-kadena.aspx</guid>
<enclosure url="http://media.defense.gov/2015/Jul/07/2001253997/670/394/0/150707-F-GR156-009.JPG" length="62914" type="image/jpeg"/>
</item>
<item>
<title>Cody reaches out to USAFE-AFAFRICA Airmen </title>
<link>http://www.af.mil/News/ArticleDisplay/tabid/223/Article/601971/cody-reaches-out-to-usafe-afafrica-airmen.aspx</link>
<description>Chief Master Sergeant of the Air Force James A. Cody wrapped up his second visit to U.S. Air Forces in Europe-U.S. Air Forces Africa this year, tackling Airmen's questions surrounding changes to the new enlisted evaluation system, promotions, formal training and retirements.<br/>
<img src='http://media.defense.gov/2015/Jun/26/2001073417/82/55/0/150615-F-ZC075-116.JPG' /> <br />
</description>
<pubDate>Fri, 26 Jun 2015 16:00:49 GMT</pubDate>
<dc:creator>Staff Sgt. Jessica Hines</dc:creator>
<guid isPermaLink="false">http://www.af.mil/News/ArticleDisplay/tabid/223/Article/601971/cody-reaches-out-to-usafe-afafrica-airmen.aspx</guid>
<enclosure url="http://media.defense.gov/2015/Jun/26/2001073417/670/394/0/150615-F-ZC075-116.JPG" length="31457" type="image/jpeg"/>
</item>
<item>
<title>Cody visits Incirlik Airmen</title>
<link>http://www.af.mil/News/ArticleDisplay/tabid/223/Article/601041/cody-visits-incirlik-airmen.aspx</link>
<description>Chief Master Sgt. of the Air Force James A. Cody visited Airmen and answered questions concerning the future of the force, focus changes and important issues June 17-18, at Incirlik Air Base, Turkey.
<br/>
<img src='http://media.defense.gov/2015/Jun/19/2001066610/82/55/0/150617-F-VJ293-171.JPG' /> <br />
</description>
<pubDate>Fri, 19 Jun 2015 15:19:30 GMT</pubDate>
<dc:creator>Staff Sgt. Eboni Reams</dc:creator>
<guid isPermaLink="false">http://www.af.mil/News/ArticleDisplay/tabid/223/Article/601041/cody-visits-incirlik-airmen.aspx</guid>
<enclosure url="http://media.defense.gov/2015/Jun/19/2001066610/670/394/0/150617-F-VJ293-171.JPG" length="31457" type="image/jpeg"/>
</item>
<item>
<title>Cody visits Ramstein, addresses Airmen's concerns</title>
<link>http://www.af.mil/News/ArticleDisplay/tabid/223/Article/600559/cody-visits-ramstein-addresses-airmens-concerns.aspx</link>
<description>Chief Master Sgt. of the Air Force James A. Cody met with Airmen and addressed their concerns regarding the future of the Air Force during an all at Ramstein Air Base, Germany, here June 15.<br/>
<img src='http://media.defense.gov/2015/Jun/16/2001065849/82/55/0/150615-F-FN535-041.JPG' /> <br />
</description>
<pubDate>Wed, 17 Jun 2015 11:01:00 GMT</pubDate>
<dc:creator>Airman 1st Class Larissa Greatwood</dc:creator>
<guid isPermaLink="false">http://www.af.mil/News/ArticleDisplay/tabid/223/Article/600559/cody-visits-ramstein-addresses-airmens-concerns.aspx</guid>
<enclosure url="http://media.defense.gov/2015/Jun/16/2001065849/670/394/0/150615-F-FN535-041.JPG" length="41943" type="image/jpeg"/>
</item>
<item>
<title>Welsh, Cody visit Wright-Patterson </title>
<link>http://www.af.mil/News/ArticleDisplay/tabid/223/Article/599888/welsh-cody-visit-wright-patterson.aspx</link>
<description>Air Force Chief of Staff Gen. Mark A. Welsh III and Chief Master Sgt. of the Air Force James A. Cody spoke about the importance of the work being accomplished by the people in the room and across Air Force Materiel Command in an all call at the Air Force Institute of Technology here June 8.<br/>
<img src='http://media.defense.gov/2015/Jun/09/2001064559/82/55/0/150608-F-QV785-004.JPG' /> <br />
</description>
<pubDate>Tue, 09 Jun 2015 17:41:53 GMT</pubDate>
<dc:creator>Brian Brackens and Gina Giardina</dc:creator>
<guid isPermaLink="false">http://www.af.mil/News/ArticleDisplay/tabid/223/Article/599888/welsh-cody-visit-wright-patterson.aspx</guid>
<enclosure url="http://media.defense.gov/2015/Jun/09/2001064559/670/394/0/150608-F-QV785-004.JPG" length="31457" type="image/jpeg"/>
</item>
<item>
<title>Airmen learn from US military's top leaders </title>
<link>http://www.af.mil/News/ArticleDisplay/tabid/223/Article/590307/airmen-learn-from-us-militarys-top-leaders.aspx</link>
<description>Air Force Global Strike Command hosted the annual Striker Stripe, a leadership development conference on Barksdale Air Force Base, Louisiana, May 27-29.<br/>
<img src='http://media.defense.gov/2015/Jun/02/2001051606/82/55/0/150527-F-PQ438-103.JPG' /> <br />
</description>
<pubDate>Tue, 02 Jun 2015 15:20:33 GMT</pubDate>
<dc:creator>Airman 1st Class Luke Hill</dc:creator>
<guid isPermaLink="false">http://www.af.mil/News/ArticleDisplay/tabid/223/Article/590307/airmen-learn-from-us-militarys-top-leaders.aspx</guid>
<enclosure url="http://media.defense.gov/2015/Jun/02/2001051606/670/394/0/150527-F-PQ438-103.JPG" length="41943" type="image/jpeg"/>
</item>
</channel>
</rss>
| 75.830709
| 436
| 0.758735
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.